Forums / Developer / how to retrieve the content of an rss from another site

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

eZ debug

Timing: Jan 20 2025 20:03:36
Script start
Timing: Jan 20 2025 20:03:36
Module start 'content'
Timing: Jan 20 2025 20:03:36
Module end 'content'
Timing: Jan 20 2025 20:03:36
Script end

Main resources:

Total runtime0.1975 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 587.9531180.8125
Module start 'content' 0.00590.0047 768.765693.9609
Module end 'content' 0.01050.1869 862.7266523.1250
Script end 0.1974  1,385.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00311.5507200.0002
Check MTime0.00120.6239200.0001
Mysql Total
Database connection0.00050.259810.0005
Mysqli_queries0.156279.11221410.0011
Looping result0.00130.65591390.0000
Template Total0.186694.510.1866
Template load0.00080.412610.0008
Template processing0.185794.048010.1857
Override
Cache load0.00060.282510.0006
Sytem overhead
Fetch class attribute can translate value0.00060.318910.0006
XML
Image XML parsing0.00030.144710.0003
General
dbfile0.00442.2268200.0002
String conversion0.00000.003130.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs