Forums / Suggestions / Create RSS Feed

Create RSS Feed

Author Message

Vincent Saulnier

Thursday 28 August 2003 11:53:38 am

Is there a way or do you plan to create a module to create RSS Feeds from an eZPublish installation?

Alex Jones

Thursday 28 August 2003 1:08:38 pm

Vincent, you may want to check out the eZRSS Operator contributed by Ole Morten Halvorsen: http://ez.no/developer/ez_publish_3/contributions/ezrss_operator

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Vincent Saulnier

Thursday 28 August 2003 1:33:22 pm

Thanks Alex for your answer.

Actually, I saw the RSS Operator but what I meant was to be able to create a feed from eZPublish, not to get a feed from an other website.

Alex Jones

Thursday 28 August 2003 2:04:38 pm

Ahh! I misread your post. My apologies. :)

While this is a bit more manual, could you create a new view (site) of the content using RSS syntax instead of (X)HTML - much like the "Printer Friendly" pages on this site?

A module would definitely be more convenient though.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Vincent Saulnier

Friday 29 August 2003 6:30:30 am

Thats a good idea, I don't know why I didn't think about this!

Vincent Saulnier

Friday 29 August 2003 10:55:21 am

Do you think I need to modify :

header( 'Content-Type: text/html; charset=' . $httpCharset );
to
header( 'Content-Type: text/xml; charset=' . $httpCharset );

in index.php for that WebSite?

Jakob Vad Nielsen

Monday 01 September 2003 12:16:39 am

Yes, you should change the Content-type to:

header( 'Content-Type: text/xml; charset=' . $httpCharset );

It's XML after all.