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.

South Sudan leader attends summit
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
South Sudan's President Salva Kiir shows up at a regional leaders' summit in Ethiopia's capital Addis Ababa, after earlier concerns about his health.
Published: Jan 29, 2015 07:01:57

Suicide bomber hits Afghan funeral
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
At least 12 people are killed in a suicide attack on a funeral in eastern Afghanistan, officials say.
Published: Jan 29, 2015 07:01:54

Jordan talks amid pilot swap pressure
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The government of Jordan discusses the fate of captured pilot Moaz al-Kasasbeh amid growing pressure after Islamic State threatens to kill him.
Published: Jan 29, 2015 07:01:00

Chad 'forces Boko Haram from town'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Chad's army has driven Boko Haram militants out of Malumfatori town in north-eastern Nigeria, a senior official from Niger tells the BBC.
Published: Jan 29, 2015 06:01:03

Malaysia declares MH370 an accident
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Malaysia officially declares the disappearance of MH370 over the Indian Ocean in March 2014 an accident, and says all 239 people on board are presumed dead.
Published: Jan 29, 2015 06:01:21

Greece to hear 'straight talking' EU
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
European Parliament head Martin Schulz say he will use "straight talking" in his first meeting with Greece's new left-wing government.
Published: Jan 29, 2015 05:01:15

'Takeoff fault' caused Greek crash
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
A Greek fighter jet that crashed in Spain on Monday, killing 11, had suffered a technical fault during takeoff, the French military says.
Published: Jan 29, 2015 05:01:37

AirAsia co-pilot 'was flying plane'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
More details emerge from the AirAsia Flight QZ8501 flight recorder, including evidence the French co-pilot was controlling the plane before it crashed.
Published: Jan 29, 2015 05:01:25

Fugitive treasure hunter in court
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Tommy Thompson appears in court after two years on the run, accused of cheating investors out of proceeds from a 19th century shipwreck haul.
Published: Jan 29, 2015 05:01:16

Sabbath bassist in bar fight arrest
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Black Sabbath bassist Geezer Butler is arrested in the United States after a bar fight, police say.
Published: Jan 29, 2015 05:01:53

Ivorian pledge to hunt child killers
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Police in Ivory Coast set up a special unit to investigate a series of suspected ritual killings of children and to patrol areas near schools.
Published: Jan 29, 2015 04:01:52

Italy leaders wrangle over president
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Italy's political leaders try to agree on candidates as parliament prepares to vote for a new president to replace Giorgio Napolitano.
Published: Jan 29, 2015 04:01:51

Hezbollah 'wants no Israel conflict'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Israel says it has received a message from Lebanese militant group Hezbollah indicating it opposes military escalation after lethal border clashes.
Published: Jan 29, 2015 03:01:38

Ebola virus mutating, scientists say
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Scientists at the Institut Pasteur in France who are tracking the Ebola outbreak in Guinea say the virus has mutated.
Published: Jan 28, 2015 22:01:38

Nuclear scientist jailed in US
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
A former nuclear scientist in the US is jailed for five years for trying to pass nuclear bomb-making secrets to Venezuela.
Published: Jan 28, 2015 20:01:59

US Supreme Court blocks executions
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
The US Supreme Court postpones the executions of three death row inmates who say the use of the sedative midazolam in the procedures is cruel.
Published: Jan 28, 2015 16:01:44

Mali & Guinea want lots rule changed
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Managers and players from Mali and Guinea feel the drawing of lots should not be used to decide their Africa Cup of Nations fate.
Published: Jan 28, 2015 15: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