Lenard K@ptein.nl
SearchWiki

Homepage

  • Contact
  • Files Randstad
  • KNMI Weer

Thuiskantoor

Uitgeven

Werk

PmWiki

  • Initial Setup Tasks
  • Basic Editing
  • Documentation Index
  • PmWiki FAQ
  • PmWikiPhilosophy
  • Release Notes
  • ChangeLog

PmWiki.org

  • Cookbook (addons)
  • Skins (themes)
  • PITS (issue tracking)
  • PmWiki allRecentChanges
  • Mailing Lists
  • PHP handleiding

Nederlandse Wiki

  • Wat is een Wiki?
  • Downloaden en Installeren
  • Basisbeginselen
  • Handleidingen
  • Lijst van alle Nederlandse pagina's
  • Proeftuin
  • Laatste wijzigingen

Media Blog

In de Media

Documentatie

Zeilen

blog.ptein.nl

PmWiki
PmWiki/
InterMap
Printable View

< Include other pages | Documentation index | Conditional markup >

author (intermediate)

The InterMap (also called InterWiki in some other wikis) 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://pmwiki.org/wiki/PmWiki/ 
 Cookbook:   http://pmwiki.org/wiki/Cookbook/ 
 Wiki:       http://c2.com/cgi/wiki? 
 UseMod:     http://usemod.com/cgi-bin/wiki.pl? 
 Meatball:   http://usemod.com/cgi-bin/mb.pl? 
 Wikipedia:  http://wikipedia.com/wiki/ 
 PITS:       http://pmwiki.org/PITS/ 
 Path:

You can map your own prefixes in your local page Site.InterMap ?.

Thus, "PmWiki:Variables" becomes "http://pmwiki.org/wiki/PmWiki/" + "Variables," a link to the PmWiki.Variables 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
* [[starting points ->
Meatball:StartingPoints]] over at
Meatball
  • starting points over at Meatball
  • starting points over at Meatball

If you want to link just to what the intermap says (e.g. http://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: 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 | Documentation index | Conditional markup >


This page may have a more recent version on pmwiki.org: PmWiki:InterMap, and a talk page: PmWiki:InterMap-Talk.

Page last modified on 02-juli-2009 om 22:29
  1. SearchWiki
  2. Recent Changes
  3. All Recent Changes
  4. WikiHelp
  5. Backlinks