KKnd   PmWiki /
CustomInterMap
SearchWiki
PmWiki.最近改变
编辑页面
页面修正

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:
    PmWiki          http://www.pmichaud.com/wiki/PmWiki/
    Wiki            http://c2.com/cgi/wiki?
    Meatball        http://www.usemod.com/cgi-bin/mb.pl?
    UseMod          http://www.usemod.com/cgi-bin/wiki.pl?
    ISBN            http://www.amazon.com/exec/obidos/ASIN/
    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.

The intermap technique is also useful to get access to uploaded documents of other groups. Supposed a group called Figures is used you can add a line

   figures	http://www.somehost.com/uploads/Figures/
Then you may use figures:your-upload.doc from any group in the PmWiki.

<< PerGroupCustomizations | PmWiki.DocumentationIndex | PasswordsAdmin >>


编辑页面 - 页面修正 - WikiHelp - SearchWiki - 最近改变 - Printable Version
页面最后更新于 19 七月, 2003, 时间 20:53

©
copyleft by [email protected]
or
[email protected]