Tagged and on the fly RSS

I was wondering about the RSS facilities in eZ for a while now. While there are all nice and dandy for simple things, they fall short for more complicated things (like say providing RSS streams for the comments of a blog posting without creating the stream by hand) or, which is my personal thing as my blog categories are based upon object relation, the fact that a new object is related to some other object (which, in it's very essence, is what tagging is all about).

So one of these days, I want to address this two things and add RSS export that will allow on the fly creation of RSS streams (think rss/$parentnodeid and the module will export all child objects of parentnode) and the above mentioned tagging features. I'm not yet quite sure just how I'm gonna do it but it's not like that ever stopped anyone ;)

Filed under: eZPublish  

Comments

RSS Streams for comments: http://triligon.org/triligon/layout/set/print/flexiblerss/rssexport/view/flexiblerss_children/nodeid/383

Gabriel

Sounds like aplan

The good thing about it is that is solves the issues with deciding what fields to use for what, simply add an RSS template for each class you want to use ;)

Xavier

Use case

To get a feed of all the latest item under the node 42 :

http://triligon.org/content/view/rss/42

xavier Why not creating a new view ?

Hi,

I'd create a new view "rss".
Override it and the pagelayout so it generates the <channel> and the rss headers and loops the children (or related objects).

foreach children
you display it with
{node_view_gui view=rssitem

and of course override the various rssitem views for each class if needed (to add the description).

What do you think ?


eZ publish™ copyright © 1999-2008 eZ systems as