Controlling RSS output

Author Message

Bjørn Torkel Dahl

Tuesday 19 June 2007 6:48:48 am

Hi all.. its good to return from the dead :)

I have the following issue:

I need to control wich articles in a folder that is sent to the RSS export, depending on class and content of some of the attributes.

Is there any simple way to do this? I've not been able to find any templates or similar to control the RSS export, and I've been look ing quite throughly.

Site runs 3.6.4, if this is possible with an upgrade, that is ok, but i need to know. :)

--
btd

--
btd

André R.

Tuesday 19 June 2007 7:20:22 am

I think there are some extensions that do things like that, but in stock eZ Publish you'll need to have different classes or folders for differing between witch content that should or should not be part of your rss.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Bjørn Torkel Dahl

Tuesday 19 June 2007 11:21:34 pm

THanks for your quick reply.. I would have to consider this a weird weakness, why is not the RSS as other output simply controlled by templates or similar?

Anyhow does enyone know of/have tried such an extention?

--
btd

Łukasz Serwatka

Tuesday 19 June 2007 11:34:49 pm

Hi Bjørn,

There is couple RSS extensions:
http://ez.no/community/contribs/template_plugins/ez_rss
http://ez.no/community/contribs/template_plugins/feed_parser
http://ez.no/community/contribs/import_export/syndicate_rss
http://ez.no/community/contribs/template_plugins/ezrssfeed
http://ez.no/community/contribs/template_plugins/ezrss_operator

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Peter Putzer

Tuesday 19 June 2007 11:58:10 pm

Oh you can use templates to create an RSS view. Just create an "rss" pagelayout and set the right content type for it in layout.ini. Then you can use /layout/set/rss/content/view/rss/<node> to view an RSS representation of the specified node (you have to provide a template for the "rss" view mode, of course).

I'm currently working on a set of custom templates for http://pluspunkt.at - the basic scheme is working, but I haven't had the time yet to finalize all templates. Therefore, I'm still using a hacked version of the "rss syndication" extension on the production site.

Accessible website starting from eZ publish 3.0 (currently: 4.1.0): http://pluspunkt.at

André R.

Wednesday 20 June 2007 12:45:40 am

> THanks for your quick reply.. I would have to consider this a weird weakness, why is not the > RSS as other output simply controlled by templates or similar?

As pointed out above, there is no one (and no thing) stopping you from creating your own rss design and rss siteaccess, outputting rss info instead of (x)html. I guess the reason the native rss export doesn't use templates, is because of the overhead with using templates.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.