how to retrieve the content of an rss from another site

Author Message

John Mina

Tuesday 10 January 2006 9:05:31 am

Hi,
i am about to work in a project where we need to use the rss provided by BBC or CNN to feed our website by the latest news.

I am totaly new to this field , so i don't know how to be able to retrive the data, and to show what i want to show as a marque or so in my website.
So i need to knwo how to classify the data of the rss as title of news and its description, and how to show only things i want to show.
The RSS of BBC i want to use is at
http://news.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml

Do any one have idea baout it ?
IT is very important for me to do it , so if any one have any idea baout how to create something that helps , please contact
Thanks
John

Klaus Stafto

Wednesday 11 January 2006 2:13:53 am

I have not tested the ezrssfeed extension but it seems to fit well with you needs:
http://ez.no/community/contribs/template_plugins/ezrssfeed

John Mina

Friday 13 January 2006 11:54:02 am

Hello,
Thanks a lot for your help
and it actually looks it is terrefic and the thing i am searching for. but i faced a small problem as follows:
I tried the contribution on 3.7.2 , 3.6.4 then 3.5.7 . all gaveme the same thing
i tried it on windows machine/localhost, and on linux server. all the same

When i installed the rssfeed:
1- i uploaded the fiels,
2- entered the setup extension field and activated them

I expected to see the toolbar as you said in thereadme file but nothing was showen any where

Also , I tried the expamples and used the provided rss links and the follwoing bbc rss feed,http://news.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml, but no response, it was ending in giving me

   <table><tr>
         <th align="left">Attribute</th>
         <th align="left">Type</th>
          <th align="left">Value</th>
        </tr>
</table>

and it showes no more data from the rss feed
so i am sure it is not a matter of EZ version i use, but there should be something i did wrong installing the rssfeed reader

Do you have any idea of how to solve this issue ?
what wrong thing did i do ?
Looking forward to hearing back
Thanks
John

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 20 2025 20:05:51
Script start
Timing: Jan 20 2025 20:05:51
Module start 'layout'
Timing: Jan 20 2025 20:05:51
Module start 'content'
Timing: Jan 20 2025 20:05:52
Module end 'content'
Timing: Jan 20 2025 20:05:52
Script end

Main resources:

Total runtime1.2877 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 589.7422151.2422
Module start 'layout' 0.00700.0027 740.984436.7109
Module start 'content' 0.00971.2771 777.6953501.6172
Module end 'content' 1.28680.0008 1,279.312511.7969
Script end 1.2876  1,291.1094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2712160.0002
Check MTime0.00140.1123160.0001
Mysql Total
Database connection0.00090.069710.0009
Mysqli_queries1.246696.8140570.0219
Looping result0.00050.0378550.0000
Template Total1.257297.620.6286
Template load0.00200.153220.0010
Template processing1.255297.482220.6276
Template load and register function0.00010.009510.0001
states
state_id_array0.00090.072510.0009
state_identifier_array0.00110.086620.0006
Override
Cache load0.00160.1279350.0000
Sytem overhead
Fetch class attribute can translate value0.00060.044220.0003
Fetch class attribute name0.00090.066230.0003
XML
Image XML parsing0.00020.016920.0001
class_abstraction
Instantiating content class attribute0.00000.000630.0000
General
dbfile0.00060.0451100.0001
String conversion0.00000.000940.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs