[Moin-user] Once again about RSS

Matthew Nuzum newz at bearfruit.org
Sat Nov 10 07:23:43 EST 2007


On Nov 9, 2007 5:55 PM, Vytautas <bumbulas at gmail.com> wrote:

> I have recently installed MoinMoIn 1.5.8. And I'm trying to create
> some kind of news system. Each news is written in a separate subpage
> and is shown on master news page with macro include2. And I need is
> only one thing: an rss feed with the contents(not the changes) of the
> master news page. I have tried using IRSS but even with all the
> patches I could find it still produces an empty feed. The rss is
> planned to be used with some remote planet software. Are there any
> suitable action/macro for my needs, that could be easily adapted?
>

I'm not sure if this answers your question or not, but I've put RSS content
into a wiki page and then linked to the ?action=raw version of the page for
use in RSS readers. I've also done this with json so that I could use a bit
of ajax in another page in the site, but that's obviously another topic. So
if your page is somesite.com/News you may want
somesite.com/NewsFeed?action=raw to be your rss. Viewing NewsFeed without
the ?action=raw provides useless output.

This is not automated, but I'd thought of using something like Gustavo's
"edit moin" software <http://labix.org/editmoin> and a script to dynamically
update the page from another computer to provide the appearance of
semi-dynamic data. (Gustavo - just another reason why you're one of my
heroes!)

I ended up not doing this and basically ditching the project since the wiki
used here was not cached in any way and RSS readers can be merciless when
checking for updates. But I used it enough to know that it works perfectly.

-- 
Matthew Nuzum
newz2000 on freenode
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20071110/eae190b8/attachment.html>


More information about the Moin-user mailing list