Re: Another wgbwiki.py question/oddity

Chris G <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
On Sun, Jul 15, 2007 at 11:13:49PM -0400, Will Guaraldi wrote:
> 
> 
> On 7/15/07, Chris G <[email protected]> wrote:
> > I seem to have found another oddity with the wgbwiki.py plugin.
> >
> > If you request a directory in the wikidir hierarchy you get a sort of
> > blog, but if you request a specific file all works as expected.
> >
> > E.g. in one directory under the wikidir hierarchy I have a file called
> > index.rst (and I have the rst.py file installed).  If I go to this
> > directory and either request the index explicitly or just give the
> > directory name (i.e. get the index implicitly) I don't see the
> > contents of index.rst at all.  I get a sort of mixed up blog version
> > of some of the files in the dirctory and one or two others from
> > sub-directories.
> >
> > Requesting any other files in the directory explicitly works fine,
> > exactly as one would expect.
> >
> > Index files are displayed only if there are no other files in the same
> > directory.  Ah, no, the index displays as part of the blog in
> > date/time order.
> >
> That makes sense.  wbgwiki only serves files that exist--it doesn't
> serve indexes of files in the directory.  I'm not really sure how that
> should behave.  Any ideas are more than welcome, but I'm inclined to
> keep it the way it is (or perhaps have it fail better).
> 
> /will

It was partly me being silly of course, when the wikidir is under the
datadir pyblosxom treats anything that's not explicitly a file that
wbgwiki picks up as a blog.

Yes, a 'non-existent file' error makes sense to mee too, I *think*
that's what you get if wikidir isn't under the datadir.  I'll check.

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