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 09:29:55AM -0400, Will Guaraldi wrote: > On 9/6/07, Chris G <[email protected]> wrote: > > > > I think that should get me started (even if only to decide that what I > > want to do is too much like hard work!). Presumably data["entry_list"] > > in the simplest case can have just one item so the minimum I need to > > do is to create a single FileEntry. If I feed that into the renderer > > pyblosxom will display the page described by that FileEntry - yes? > > Yes, that's pretty much how it works. data["entry_list"] holds a list > of entries. > > I have a bunch of plugins that create entries. Maybe these would be > useful to look at: > > http://bluesock.org/~willg/cgi-bin/devtrac.cgi/browser/trunk/pyblosxom/plugininfo.py?rev=latest > http://bluesock.org/~willg/cgi-bin/devtrac.cgi/browser/trunk/pyblosxom/booklist.py?rev=latest > > I think half of the plugins I've written create entries at some point. > OK, thanks, I'll take a look and do my standard method of writing code, plagiarise someone else's! -- 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/