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.

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

eZ debug

Timing: Jan 18 2025 11:10:11
Script start
Timing: Jan 18 2025 11:10:11
Module start 'layout'
Timing: Jan 18 2025 11:10:11
Module start 'content'
Timing: Jan 18 2025 11:10:12
Module end 'content'
Timing: Jan 18 2025 11:10:12
Script end

Main resources:

Total runtime0.6280 sec
Peak memory usage4,096.0000 KB
Database Queries71

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 587.7891152.6094
Module start 'layout' 0.00600.0023 740.398439.4297
Module start 'content' 0.00830.6182 779.8281609.6563
Module end 'content' 0.62650.0014 1,389.484416.1953
Script end 0.6279  1,405.6797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5272160.0002
Check MTime0.00130.2107160.0001
Mysql Total
Database connection0.00090.148010.0009
Mysqli_queries0.567790.3995710.0080
Looping result0.00070.1060690.0000
Template Total0.596294.920.2981
Template load0.00240.375020.0012
Template processing0.593894.566020.2969
Template load and register function0.00020.027610.0002
states
state_id_array0.00150.233810.0015
state_identifier_array0.00080.122520.0004
Override
Cache load0.00210.3293300.0001
Sytem overhead
Fetch class attribute can translate value0.00070.112330.0002
Fetch class attribute name0.00120.184790.0001
XML
Image XML parsing0.00120.197730.0004
class_abstraction
Instantiating content class attribute0.00000.0032100.0000
General
dbfile0.00110.1702220.0000
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs