Re: A question and a little praise
Blake Winton <blake-dlUKtbW3TlBcVw/[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
will guaraldi wrote:
> PyBlosxom doesn't do context-sensitive variable replacement. I don't
> think it's a good solution to store variable values for all the
> variations of text and encoding in PyBlosxom, though if you want to do a
> plugin that does that, that's cool and not hard to do.
Wasn't there a plugin which would let you run bits of code in your
variables? So, something like '<a href="${urlescape(py['filename'])}">'
would do the right thing. Am I imagining things again? Maybe I'm
thinking of the Cheetah templating system...
> I use an rss2 renderer that Blake whipped up ages ago that I did some
> modifications to.
To give credit where credit is due, I think I just modified something I
got from Ted. Or maybe from Rune... I do know that even though I had
the gaul to plaster my name all over it, I didn't write most of the
code. It looks way too complicated for my tiny brain to come up with.
> Pretty much you drop it in as a plugin and then that
> gives you an rss2 feed at $baseurl/index.xml that works well as far as I
> know. I'm no RSS expert, though, so maybe it's got problems I don't
> know about.
For what I've got, the plaintext source is at:
http://bwinton.latte.ca/temp/rss2renderer.py and
http://bwinton.latte.ca/temp/comments_to_rss_two.py
And if there are problems, please let me know about them.
> Anyhow, going back to Blake's RSS 2.0 plugin, I'll read through the code
> and make sure it's kosher and then get permission from Blake to post it
> to the registry.
Please, register away.
> As a side note, I'm of the opinion that building a renderer is the
> best solution for all syndication types (ATOM, RSS*, OPML, ...).
Keeping this in mind, do you really want to register my plugin?
Perhaps as a stopgap measure until someone takes up the torch of writing
the renderers, I suppose.
Later,
Blake.
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click