Loading...
 
Features / Usability

Features / Usability


Creating stand alone document with internal links

posts: 4 USA

Is it possible to generate a stand alone document where the embedded url links automatically convert to internal links to the stand alone document?

The use scenario is a documentation file where links would point internally and be useful when no internet access is available. A copy of the wiki html would reside on a local HD.

The online wiki is continually updated. A "monthly snapshot" could be downloaded and installed on a user computer where internet access is not available.

Or is there an external tool that can perform this translation?

Robert Chudek, Director & IT Manger
Chisago County Historical Society
www.chisagocountyhistory.org

posts: 3637 United States

If you're linking to places within the page (that is, by using anchors), the links should work just fine, even if viewing the page locally.

For example, take a look at the Tiki Requirements page. If you:

  1. Open the print-view version of the page.
  2. Save the page locally to your PC.
  3. Open the local version

All of the Table of Contents links work perfectly (they link to anchors within the page).

 

HTH,

- Rick  |  My Tiki BlogMy Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.

posts: 4 USA

Thanks Rick,

Yes, the ToC links work fine in that scenario. However, within the document there are links coded to jump to different sections or pages. Those links continue to point to a url.

Is a different coding method needed when entering the embedded links into the body of the online version to achieve my goal?

As an example, when I look at the local document and hover over a link, I see the following path:

http://website.com/tiki-index.php?page=Off-line+Copies+of+Website+Documents#Users_Manual

I am sorry I don't know enough of the mechanics of the process so it's possible I am asking for "water to run uphill" for me!

 


posts: 4 USA

A followup...

I researched a little regarding html links and discovered there is a differentiation between hyperlinks and local links.

I think the question I should ask is whether local links can be used in the online version of my manual and will the online version continue to work properly?

 

posts: 3637 United States

If your links are relative, they should work fine (assuming that your offline document/site structure is identical to the online version.

If your links are absolute, they probably won't work, because link target will be the online location.

By default, Tiki generates links as relative (to the install location), so you should be fine. If you created links within your site using the wiki link syntax,  you should be fine.  I recommend that you create an offline version of your site/page and confirm.

HTH,

- Rick  |  My Tiki BlogMy Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.
posts: 4 USA

Thank you Rick...

You are confirming what I eventually learned about "html linking" protocol late last night. Thus it has become clear to me now that it would be virtually impossible to "convert" a document coded with absolute links into relative links. It needs to be coded properly in the first place.

Thank you for taking time to explain this basic html syntax to this newbie!