[Pmwiki-users] Using variables in localmap.txt
chr@home.se
chr
Mon Jan 10 06:06:20 CST 2005
Would it be useful to be able to use {$Domain} or {$ThisSite} in
localmap.txt?
Right now I have something like this in my localmap.txt
Doc http://some.uri.se/private/doc/
Src http://some.uri.se/private/src/
Pub http://some.uri.se/pub/
which is specific to the URI, but really should just point to the
site/domain where I've hosted it. Basically it'd be useful to be able to
write
Doc {$ThisSite}/private/doc/
Src {$ThisSite}/private/src/
Pub {$ThisSite}/pub/
or something similar.
I'm not sure if this is useful, but I just thought of it and wanted to
share the idea before forgetting it.
/C
--
Christian Ridderstr?m, +46-8-768 39 44 http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list