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.

MH17 victims begin long journey home
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The first planes leave Ukraine carrying victims' bodies from crashed flight MH17 to the Netherlands, which is holding a day of mourning.
Published: Jul 23, 2014 03:07:15

Rival to challenge Indonesia result
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The losing candidate in Indonesia's presidential election, Prabowo Subianto, will challenge the result in court, his spokesman says.
Published: Jul 23, 2014 03:07:03

Abbas backs Hamas Gaza truce demands
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Palestinian President Mahmoud Abbas backs calls by Hamas for an end to the economic blockade of the Gaza Strip as a condition for a ceasefire.
Published: Jul 23, 2014 03:07:24

China detains five over meat scandal
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
China detains five people as part of its probe into a firm that allegedly supplied out of date meat to fast food chains, including McDonald's and KFC.
Published: Jul 23, 2014 03:07:11

Costa Concordia begins final journey
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The wreck of the Italian cruise ship Costa Concordia is being towed away for scrap, in one of the biggest maritime salvage operations ever staged.
Published: Jul 23, 2014 01:07:44

Quarantine over China plague death
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Part of a city in north-west China is sealed off and dozens of people placed in quarantine after a man died of bubonic plague, state media say.
Published: Jul 23, 2014 00:07:27

US court allows Arizona execution
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
The US Supreme Court clears the way for Arizona to execute a murderer who had sought information about the lethal drugs to be used to kill him.
Published: Jul 22, 2014 19:07:03

Suicide car bomb kills 21 in Iraq
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
A suicide car bomb has killed at least 21 people at a police checkpoint in Baghdad's Kadhimiya district, Iraqi police say.
Published: Jul 22, 2014 16:07:33

Tajik spy charge academic freed
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
An academic working for a British university has been freed after being held for over a month in Tajikistan on suspicion of spying.
Published: Jul 22, 2014 15:07:33

White flags stump New York police
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Authorities in New York are investigating who raised two large white flags on the towers of the Brooklyn Bridge early on Tuesday.
Published: Jul 22, 2014 15:07:09

Airlines suspend flights into Israel
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
US and European airlines suspend flights into Israel's Ben Gurion airport after Israeli police confirmed that a rocket landed one mile away.
Published: Jul 22, 2014 15:07:01

US courts conflict on Obamacare law
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Two US appeals courts give conflicting rulings regarding a federal regulation implementing key subsidies of President Barack Obama's signature healthcare law.
Published: Jul 22, 2014 14:07:04

Call to end FGM 'in this generation'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
UK residents will face prosecution if they fail to prevent their daughters undergoing female genital mutilation or forced marriage under new measures announced.
Published: Jul 22, 2014 12:07:05

Nigerian leader vows to free girls
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Nigeria's president tells parents of the girls abducted by militant Islamists that the government is doing everything to secure their release.
Published: Jul 22, 2014 11:07:19

Attack on Congo barracks 'repulsed'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
An attack on the military barracks of the presidential guards in Kinshasa has been repulsed, the DR Congo government says.
Published: Jul 22, 2014 09:07:51

YouTube star sued in copyright case
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
The entrepreneur is being taken to court for alleged copyright infringement by a record label whose own artist Kaskade has come forward to defend her.
Published: Jul 22, 2014 06:07:38

Human body parts dumped in Tanzania
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Eight people from a Tanzanian medical institute are arrested after 85 bags containing human body parts are found in the city of Dar es Salaam.
Published: Jul 22, 2014 06:07:27

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