Re: Some questions about wbgwiki.py

"Will Guaraldi" <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
On 7/7/07, Chris G <[email protected]> wrote:
> I now have wbgwiki.py installed as a plugin and working.
>
> Is it simply a pystaticfile.py with the addition of 'wiki style'
> links?
>
> Is there anything else different when compared with pystaticfile.py?

The plugin doesn't do that much.  It's based on pystaticfile, but I
rewrote parts of it.  In doing that, I added wiki-style links and I
renamed it from "static" to "wiki".  I also removed the problem of
nested directories.  I also added some better sanitization code
protecting your system from having people view random files...  though
it's not heavily tested.

And I re-wrote the documentation.

pystaticfile is 245 lines of code and wbgwiki is 370 lines of code.

> Presumably one can have multiple directory levels unlike
> pystaticfile.py which assumes all files are in the /static directory.

Yes--this is one of the things I fixed.

I'm planning to deprecate pystaticfile in favor of wbgwiki, but I want
to see how it's received among users and whether there are other
changes that should be made.

/will

-------------------------------------------------------------------------
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.