Modifiche recenti - Cerca:

WikiSandbox (pagina di prova)


Regole Formattazione
Indice Documentazione


Basic Editing
Documentation Index
PmWiki FAQ
PmWikiPhilosophy


pmwiki.org


Amministratore


E-Learning
Claroline




Inter Map

author (intermediate) The InterMap is a system for defining links between WikiWikiWeb sites that was first developed by UseMod:UseModWiki and Meatball:MeatballWiki. Inter Map links have the form MapPrefix:Page, 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 Pm Wiki (in the scripts/ directory) includes the following Inter Map entries:

 Pm Wiki:     http://www.pmwiki.org/wiki/PmWiki/ 
Cookbook: http://www.pmwiki.org/wiki/Cookbook/
Wiki: http://www.c2.com/cgi/wiki?
Use Mod?: http://www.usemod.com/cgi-bin/wiki.pl?
Meatball: http://www.usemod.com/cgi-bin/mb.pl?
Wikipedia: http://www.wikipedia.com/wiki/
PITS: http://www.pmwiki.org/PITS/
Path:

Thus, PmWiki:Variables becomes a link to the Pm Wiki.Variables page on the official Pm Wiki web site, Wiki:FrontPage is a link to the front page of the first Wiki Wiki Web, 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/ 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: Inter Map entry can be used to create "relative urls" in links.

The actual set of Inter Map 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 >>

Modifica - Versioni - Stampa - Modifiche recenti - Cerca
Ultima modifica il 15/05/2006 ore 04:39 CES