Re: cb_prepare plugin question

"Will Guaraldi" <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
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.

/will

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