"Xanadu" and the Flaming-X logo are registered trademarks of Project Xanadu.

Google
  Entire Web   sunless-sea.net   xanadu.net   udanax.com
 
  5 Visitor(s) on Site
  98 Wiki Pages

Recently Modified

Sections (edit)

How This Wiki Works

SearchWiki:
Recent Changes Printable View Page History Edit Page
Content Last Modified on July 29, 2006, at 07:38 PM CST

author (intermediate) The InterMap is a system for defining links between WikiWikiWeb sites that was first developed by UseMod:UseModWiki and Meatball:MeatballWiki. The method is to use a word that stands for a path that is defined. InterMap links have the form MapPrefix:PagePath, where the host prefix is converted to a partial URL based on entries in the site's intermap.txt and localmap.txt files.

The default intermap.txt distributed with PmWiki (in the scripts/ directory) includes the following InterMap entries:

 PmWiki:     http://www.pmwiki.org/wiki/PmWiki/(approve sites) 
Cookbook: http://www.pmwiki.org/wiki/Cookbook/(approve sites)
Wiki: http://www.c2.com/cgi/wiki(approve sites)?
UseMod?: http://www.usemod.com/cgi-bin/wiki.pl(approve sites)?
Meatball: http://www.usemod.com/cgi-bin/mb.pl(approve sites)?
Wikipedia: http://www.wikipedia.com/wiki/(approve sites)
PITS: http://www.pmwiki.org/PITS/(approve sites)
Path:

Thus, "PmWiki:Variables" becomes "http://www.pmwiki.org/wiki/PmWiki/(approve sites)" + "Variables," a link to the PmWiki.Variables(approve sites) page on the official PmWiki web site, Wiki:FrontPage is a link to the front page of the first WikiWikiWeb, and Wikipedia:Stonehenge takes you to the Wikipedia article about the famous megaliths in England.

Like other links, you can use the double-bracket syntax to get different link text:

  • [[Meatball:StartingPoints | starting points]] over at Meatball becomes "starting points over at Meatball"
  • [[starting points -> Meatball:StartingPoints]] over at Meatball becomes "starting points over at Meatball"

If you want to link just to what the intermap says (e.g. http://www.wikipedia.com/wiki/(approve sites) for Wikipedia), then do [[Wikipedia:. | Wikipedia's main page]], which produces Wikipedia's main page. Note the . (period) after the Map: reference.

The special Path: InterMap entry can be used to create "relative urls" in links.

The actual set of InterMap links at any site is defined by the site administrator via the Site.InterMap? page and the local/localmap.txt file; for more details, see PmWiki.CustomInterMaps.

<< Include other pages | DocumentationIndex | Conditional markup >>

Recent Changes Printable View Page History Edit Page
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest (c) 2001-2007 Jeff Rush