Re: RSS 1.0 plugin

[email protected]
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
I'm passing this to the users mailing list. The buffering idea looks
nice, we may or may not implement that. Suggestions to improve your own
plugin would be to not patch renderer/base.py and renderer/blosxom.py,
but to also include a renderer object + a cb_renderer() plugin in your
main rss10.py. There are examples of renderer type plugins on the
pyblosxom web site.

I changed your attachment to a tarball as sf.net somehow won't allow zip
files to be attached.

On Mon, Apr 12, 2004 at 11:59:02AM +0200, Wolfgang Schnerring wrote:
> I've ported Rael Dornfest's (Perl-)Blosxom plugin for RSS 1.0 feeds to
> Python for use with Pyblosxom.
> 
> This requires some out-of-order processing, as RSS 1.0 needs a list of
> entries in the header - which is only available after looping through
> the stories. To accomodate, I've hacked the RendererBase to buffer the
> output and make it available to plugins. (see attached patch
> buffering.diff)
> 
> I consider this a rather quick hack, about which I didn't give much
> thought (regarding API-cleanliness or performance) - it does work for
> me, and that was all I required.
> 
> I will very probably not publish or even actively maintain this
> (though I'm thinking about adapting the "summary" feature from the
> Atom-plugin), but if you are interested, you are more than welcome to
> incorporate this in some way into a forthcoming Pyblosxom release and
> of course the Pyblosxom plugin registry.
> I am willing to do some (documentation) work on this, though, if you
> see the need (which you probably do ;-), so just let me know.
> 
> I hope I declared the licensing correctly; as there is virtually no
> programming work on my part all credit goes to Rael Dornfest.
rss10.tar.gz (application/octet-stream, 2.5 KB) - not displayed
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.