Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Anchorage' for 'AKDT/-8.0/DST' instead in /Users/dan/Sites/ofolio/pmwiki/pmwiki.php on line 281

Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Anchorage' for 'AKDT/-8.0/DST' instead in /Users/dan/Sites/ofolio/pmwiki/pmwiki.php on line 647

Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Anchorage' for 'AKDT/-8.0/DST' instead in /Users/dan/Sites/ofolio/pmwiki/pmwiki.php on line 647

Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Anchorage' for 'AKDT/-8.0/DST' instead in /Users/dan/Sites/ofolio/pmwiki/pmwiki.php on line 647

Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Anchorage' for 'AKDT/-8.0/DST' instead in /Users/dan/Sites/ofolio/pmwiki/pmwiki.php on line 647

Warning: Cannot modify header information - headers already sent by (output started at /Users/dan/Sites/ofolio/pmwiki/pmwiki.php:281) in /Users/dan/Sites/ofolio/pmwiki/pmwiki.php on line 404
oFolio userFAQ - PmWiki.CustomInterMap
SearchWiki:

CustomInterMap

This page describes how a WikiAdministrator can create additional InterMap links.

The file intermap.txt in the scripts directory specifies the default InterMap links that are distributed with PmWiki. Each line of intermap.txt has the following format:

    HostPrefix       http://www.somehost.com/partial/url/

For example, intermap.txt has the following entries:
    
    ISBN            http://www.amazon.com/exec/obidos/ASIN/
    IMDB            http://www.imdb.com/find?q=
    Meatball        http://www.usemod.com/cgi-bin/mb.pl?
    PmWiki          http://www.pmichaud.com/wiki/PmWiki/
    UseMod          http://www.usemod.com/cgi-bin/wiki.pl?
    Wiki            http://c2.com/cgi/wiki?
    Wikipedia       http://www.wikipedia.com/wiki/

To create your own InterMap links, do not edit the intermap.txt file directly! You'll lose your changes when you do a PmWiki.Upgrade. Instead, create a file called localmap.txt in the local/ subdirectory containing your InterMap links in the format described above. PmWiki will automatically read your links after loading the intermap.txt entries.

You can also define InterMap entries where the text of the entry is substituted into the middle of the URL. Just include '$1' in the URL where you want the substitution to take place. For example:
    
    Jargon          http://www.catb.org/~esr/jargon/html/$1.html
    
would cause Jargon:F/feature-creep to be converted to http://www.catb.org/~esr/jargon/html/F/feature-creep.html.
Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Anchorage' for 'AKDT/-8.0/DST' instead in /Users/dan/Sites/ofolio/pmwiki/pmwiki.php on line 647

<< ChangePmWikiURL | PmWiki.DocumentationIndex | WikiStylesAdmin >>
Page last modified on February 16, 2004, at 08:53 AM