[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] Re: emacs-wiki-interwiki-names
From: |
Sacha Chua |
Subject: |
[emacs-wiki-discuss] Re: emacs-wiki-interwiki-names |
Date: |
Sat, 22 May 2004 00:05:11 +0800 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
address@hidden writes:
> I'm trying to get interwiki links working. I would like to be able
> to have a link my wiki pages along the lines of SomeWiki#SomeFile
> but, in my html, have that translated to:
> http://localhost/~pll/SomeWiki/SomeFile.html
The ideal way to do this would be to use emacs-wiki-projects to manage
both your wikis. The interwiki links should get automatically updated.
Just use SomeWiki as the name of the other wiki, and things should
just work (I hope).
If your other set of pages is not a wiki, then you can customize
emacs-wiki-interwiki-names and add something along the lines of
("SomeWiki" .
(lambda (tag)
(concat "http://localhost/~pll/SomeWiki/"
(or tag "SiteMap")
".html")))
(although you might want to use relative links instead so that you
can browse them easily locally.)
Hope that helps!
--
Sacha Chua <address@hidden> - Ateneo CS faculty geekette
interests: emacs, gnu/linux, making computer science education fun
http://sacha.free.net.ph/ - PGP Key ID: 0xE7FDF77C