Path problems with wgbwiki.py, or what?

Chris G <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
I am using the wgbwiki.py plugin and developing some additional
plugins.

The value of "pi_bl" (among other things) seems to be rather
inconsistent depending on where you set wikidir to be.  It seems to
depend on whether wikidir is a sub-directory of datadir or not.

I have datadir set to "/home/chris/webdev/blog".

If I set wikidir to "/home/chris/webdev/info" then pi_bl for a file in
wikidir is:-

    info/wikiTxt

However if I set wikidir to "/home/chris/webdev/blog/info" (i.e. a
sub-directory of datadir) then pi_bl for the same file in the wikidir
is:-

    /info/wikiTxt

(N.B. I have also of course moved the whole hierarchy of files in the
info directory from the one place to the other)


So is this a bug or a feature or what? 

-- 
Chris Green

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.