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.

Boko Haram militants 'in disarray'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
The Nigerian military says that Boko Haram militants in the north-east of the country are "in disarray" as a result of its offensive against them.
Published: May 19, 2013 13:05:47

US spy-row diplomat 'leaves Russia'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
US diplomat Ryan Fogle, accused by Russia accused of being a spy, has now left the country according to Russian television.
Published: May 19, 2013 12:05:54

Yahoo 'to buy Tumblr for $1.1bn'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Yahoo's board approves a deal to buy New York-based blogging service Tumblr for $1.1bn (£725m), US media reports say.
Published: May 19, 2013 12:05:48

Syria army storms rebel-held town
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Heavy fighting is reported in the besieged Syrian town of Qusair as state forces launch a major offensive to re-capture the rebel stronghold.
Published: May 19, 2013 11:05:28

Briton held over children's deaths
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
A British man has been arrested in France in connection with the deaths of his two children, media reports say.
Published: May 19, 2013 11:05:02

Murdered Pakistan politician buried
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The funeral of the murdered vice-president of Pakistan's PTI party, Zahra Shahid Hussain, is held at a mosque in Karachi.
Published: May 19, 2013 10:05:39

Tories 'united' on Europe, says Hunt
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The health secretary rebuffs claims the PM is losing control of his backbenchers over Europe - as Tory activists complain of a "crisis" destroying the party.
Published: May 19, 2013 09:05:19

Tunisia police clash with Islamists
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Tunisian police clash with hundreds of supporters of the radical Islamist group Ansar al-Sharia defying attempts to bar a gathering.
Published: May 19, 2013 08:05:27

Serena powers to Italian Open win
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
World number one Serena Williams beats Victoria Azarenka to win the Italian Open and her fourth consecutive tournament.
Published: May 19, 2013 07:05:39

N Korea urged to end missile tests
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
UN Secretary General Ban Ki-moon urges Pyongyang to end its missile tests as a fourth short-range weapon is launched from North Korea's east coast.
Published: May 19, 2013 04:05:03

Lennon guitar sells for $408,000
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
A guitar played by John Lennon and George Harrison of the Beatles in 1967 fetches $408,000 (£269,000) at auction in New York.
Published: May 19, 2013 04:05:30

'Sole winner' nets record US jackpot
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
A ticket holder in Florida has won the largest Powerball jackpot in US history, more than $590m (£388m), lottery officials say.
Published: May 19, 2013 01:05:48

Malcolm X grandson suspects remanded
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Two men suspected of killing Malcolm Shabazz, the grandson of US political activist Malcolm X, are remanded in custody in Mexico.
Published: May 18, 2013 21:05:55

Car hits crowd at Virginia parade
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Up to 60 people were injured when a car ploughed into a crowd during a parade in a small town in the US state of Virginia, officials say.
Published: May 18, 2013 19:05:47

Massacre suspect held in Ivory Coast
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
The authorities in Ivory Coast arrest militia leader Amade Oueremi, suspected of one of the worst massacres during 2011 post-election violence.
Published: May 18, 2013 14:05:15

VIDEO: Cuban golf courses no longer 'elitist'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Five decades after Fidel Castro ordered Cuba's golf courses to be closed down because he considered them "elitist", the island's communist government has approved the construction of a luxury golf resort.
Published: May 18, 2013 11:05:34

Russia reveals CIA chief's identity
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Russia publicly names the man it believes to be the US intelligence chief in Moscow, a breach of diplomatic protocol.
Published: May 18, 2013 01:05:34

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