Get Adobe Flash player

Navigation

User login

Show Multiple RSS Feeds

Items in the RSS Feed

Display a linked title to each item in the RSS feed

Behind the scenes, this is fetching the RSS feed over HTTP, parsing it, and then creating a list of linked items.

Italy avalanche survivor 'ate snow'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Georgia Galassi ate snow and cried under the avalanche at Rigopiano hotel till rescuers arrived.
Published: Jan 22, 2017 08:01:17

Georgia storms: At least 11 dead in US state
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Seven of those killed were in a Georgia trailer park apparently struck by a tornado.
Published: Jan 22, 2017 08:01:03

Israel approves settlement homes following Trump inauguration
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
"Now we can build," a Jerusalem official says, as a staunch Israel supporter takes office in the US.
Published: Jan 22, 2017 07:01:57

Trump claims media 'dishonest' over crowd photos
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Photo evidence appears to undermine the president's claims of high attendance at the inauguration.
Published: Jan 22, 2017 07:01:10

India Jallikattu bullfighting events resume in Tamil Nadu
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Events had been banned over cruelty in 2014, but many are seeking the legalisation of bullfighting.
Published: Jan 22, 2017 06:01:07

Italy school bus crash teacher's children die
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Gyorgy Vigh had pulled many other children out of the bus when it caught fire near Verona.
Published: Jan 22, 2017 06:01:07

UK missile 'fired off Florida coast'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Theresa May backs UK's nuclear weapons system after reports a test missile went off course, but refuses to say when she knew of it.
Published: Jan 22, 2017 05:01:39

Afcon 2017: Grant pleased by 'mature' performance
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Ghana coach Avram Grant hails his players after they edged a 1-0 win over Mali that put them in the Nations Cup quarter-finals.
Published: Jan 22, 2017 05:01:37

France election: Socialists vote for presidential nominee
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Former Prime Minister Manuel Valls is favourite to win the first round of the primary.
Published: Jan 22, 2017 05:01:52

Afcon 2017: Uganda taught hard lesson - coach Micho
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Uganda coach Milutin 'Micho' Sredojevic says it is "hard to accept" his side's exit from the Nations Cup after they lost to a late goal against Egypt.
Published: Jan 22, 2017 04:01:02

Some reasons from Kenya, India and Germany
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
While women marched on Washington DC, why did others march around the world? Here are some reasons from Kenya, India and Germany.
Published: Jan 22, 2017 03:01:18

Australian Open 2017: Andy Murray suffers shock defeat by Mischa Zverev
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Andy Murray's hopes of winning a first Australian Open title end with a shock defeat by world number 50 Mischa Zverev.
Published: Jan 22, 2017 00:01:38

India Andhra Pradesh train crash leaves 36 dead and scores injured
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Rescuers in Andhra Pradesh try to pull out those trapped after nine coaches and the engine derailed.
Published: Jan 21, 2017 23:01:29

Trump: Protesters and supporters on their messages to each other
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Protesters against President Donald Trump and his supporters give their messages to each other.
Published: Jan 21, 2017 22:01:31

Pope Francis warns against rise in populism
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
But in a wide-ranging interview says it is too early to judge new US President Donald Trump.
Published: Jan 21, 2017 22:01:01

Mauritius: PM Anerood Jugnauth to hand over to son
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Anerood Jugnauth, 86, says he will resign in favour of a younger leader - his own son, Pravind.
Published: Jan 21, 2017 20:01:18

Ex-President Yahya Jammeh leaves The Gambia after losing election
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Yahya Jammeh quits after trying to cling to power, paving the way for his elected successor to return.
Published: Jan 21, 2017 17:01:49

The Code:

<?php
  $urls 
= array("http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml",
                
"http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml",
                
"http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml");
  
$feeds = array();
  
$feeds _querypath_examples_show_multiplerss($urls10);
    
  foreach(
$feeds as $date => $item) {
    
$out .= '<p>' l($item['title'], $item['link']) 
            .
' <br />From: ' $item['url'
            .
' <br />' $item['desc'
            .
' <br />Published: ' date("M d, Y H:m:s"$date) . '</p>';
  }
  
?>

References:

The QueryPath API