Re: cb_prepare plugin question

Chris G <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
On Thu, Sep 06, 2007 at 03:56:52PM -0400, Will Guaraldi wrote:
> On 9/6/07, Chris G <[email protected]> wrote:
> >
> > Further (hopefully last) question, if I have a 'ready made' file that
> > I want to use as the thing that pyblosxom will display I can
> > presumably do something like:-
> >
> >     entrylist = []
> >     e = FileEntry(request, ourfile, data['root_datadir'])
> >     entrylist.append((e._mtime, e))
> >     data["entry_list"] = entrylist
> >
> > ... and pyblosxom will display the file specified by "ourfile".
> >
> > You might well ask why don't I simply put "ourfile" in the right place
> > and get pyblosxom to sort it out from scratch - you might well be
> > right!  I'll go back and think about that!
> 
> It's funny you ask because this is exactly the problem with
> wbgwiki--namely I'm doing some things and faking a FileEntry but I
> really should have my own Entry class.
> 
> So, I would try it out and if it works for your needs, then go with
> that.  But it's possible it might not work--wbgwiki mostly works, but
> has some issues.
> 
OK, thanks again Will, I'll go away permanently (well, for a while
anyway!) now and try a few things out.

-- 
Chris Green

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
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.