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.

Everest avalanche search abandoned
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The search for three Sherpa guides, missing after an avalanche on Mount Everest killed 13 of their colleagues, is called off.
Published: Apr 20, 2014 06:04:58

Pope celebrates Easter Sunday Mass
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Pope Francis celebrates Easter in front of thousands in St Peter's Square, praying for peace in Syria and Ukraine and "an end to all war".
Published: Apr 20, 2014 05:04:21

Algeria militants 'kill 11 soldiers'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Islamist militants have killed 11 Algerian soldiers in an ambush on a patrol in mountains east of the capital Algiers, security sources say.
Published: Apr 20, 2014 05:04:43

Russian outrage at Ukraine killing
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The Russian foreign ministry expresses outrage at a fatal shooting incident in eastern Ukraine which it blames on Ukrainian nationalists.
Published: Apr 20, 2014 05:04:22

Anger over 'slow' Korea ferry rescue
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Families of passengers on a sunken South Korean ferry protest angrily over the rescue operation, scuffling with police on Jindo island.
Published: Apr 20, 2014 04:04:38

Hostage reporters 'chained' in Syria
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Four French journalists who spent 10 months in captivity in Syria were chained to each other and kept in basements without light, one recounts.
Published: Apr 20, 2014 04:04:44

Hamilton eases to victory in China
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Lewis Hamilton takes a dominant victory in the Chinese GP to win three consecutive races for the first time in his career.
Published: Apr 20, 2014 02:04:09

Brazil cars torched in protest
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Residents of a poor community near Rio de Janeiro torch vehicles in protest at the deaths of two young men in incidents involving the police.
Published: Apr 19, 2014 18:04:20

Iran condemns US skyscraper seizure
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Iran condemns a decision by the US to seize a Manhattan high-rise belonging to a charitable foundation and sell proceeds to victims of attacks by Iran-backed militants.
Published: Apr 19, 2014 16:04:03

'Dozens die' in S Sudan cattle raid
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Dozens of people are killed in a cattle raid in a remote herders' camp in South Sudan's northern Warrap state, local officials say.
Published: Apr 19, 2014 15:04:15

Japan to base troops near islands
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Japan begins building a military radar station near the Senkaku islands, focus of a bitter territorial row with China, which calls them the Diaoyus.
Published: Apr 19, 2014 15:04:15

Nigeria teacher in seized girls plea
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
The headmistress of a school in Nigeria calls on the government to do more to save teenage girls abducted by suspected Islamist militants.
Published: Apr 19, 2014 12:04:13

Egypt left-winger to challenge Sisi
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Egyptian left-winger Hamdeen Sabahi submits his official bid to run for president, the only challenger so far to ex-army chief Abdel Fattah al-Sisi.
Published: Apr 19, 2014 08:04:12

UN outrage at South Sudan attack
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
The UN expresses outrage at a deadly attack on one of its bases in South Sudan, saying it could "constitute a war crime".
Published: Apr 18, 2014 19:04:58

US 'delays' Keystone XL decision
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
The US state department gives federal agencies more time to review the Keystone XL oil pipeline before determining whether to issue a permit.
Published: Apr 18, 2014 14:04:31

Obama signs UN envoy visa ban law
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
President Barack Obama signs into law a measure that would bar entry to any UN ambassador whom the US says has engaged in "terrorist activity".
Published: Apr 18, 2014 14:04:22

Algeria's president gets fourth term
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Algeria's President Abdelaziz Bouteflika, who suffered a stroke last year, wins a fourth term in office taking more than 81% of the vote.
Published: Apr 18, 2014 10:04:31

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