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 'abducts more women'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Dozens of women and girls are abducted from two villages in north-eastern Nigeria by suspected militants, despite an alleged truce, residents say.
Published: Oct 23, 2014 06:10:03

Canada 'will never be intimidated'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Canada's prime minister insists his country will not be intimidated, after a gunman rampages through parliament before being shot dead.
Published: Oct 23, 2014 05:10:47

US-led Syria strikes 'kill 553'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
US-led air strikes against Islamic State (IS) militants in Syria have killed 553 people since September, including 464 IS fighters, activists say.
Published: Oct 23, 2014 05:10:23

Injured Schumacher makes 'progress'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
A doctor who treated Michael Schumacher for nearly six months after his brain injury in a skiing accident says the F1 champion has made "some progress".
Published: Oct 23, 2014 04:10:15

White House fence jumper arrested
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
A man who jumped the White House fence was attacked by dogs then arrested, in the latest security incident at the president's residence.
Published: Oct 23, 2014 04:10:04

Rwanda MPs condemn BBC genocide film
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Rwanda's parliament condemns the BBC for broadcasting a TV documentary which questions official accounts of the 1994 genocide in the country.
Published: Oct 23, 2014 03:10:12

Air chiefs quit over Total boss death
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The chief executive of Russia's Vnukovo airport and his deputy resign after a plane crash this week that killed the head of France's Total, Christophe de Margerie.
Published: Oct 23, 2014 03:10:18

Obama 'optimistic' over Ebola in US
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
President Barack Obama expresses cautious optimism about the Ebola situation in the US, as new screening rules are introduced in the country.
Published: Oct 23, 2014 02:10:32

Netanyahu blames Abbas over attack
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Israeli leader Benjamin Netanyahu has accused the Palestinian president of incitement, after an attack which killed a baby in Jerusalem.
Published: Oct 23, 2014 02:10:37

Nato jets 'intercept Russian plane'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Nato warplanes have intercepted a Russian spy plane over the Baltic Sea, the alliance says, amid heightened tensions between the West and Russia.
Published: Oct 23, 2014 02:10:21

Japan minister in sex bar funds row
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Japan's new trade minister Yoichi Miyazawa is forced to defend himself after it emerged support staff spent office money at a sex club.
Published: Oct 23, 2014 01:10:04

Mystery of giant arm dinosaur solved
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Two dinosaur skeletons have been unearthed in Mongolia, solving a mystery that has baffled palaeontologists for 50 years.
Published: Oct 22, 2014 18:10:16

WHO crisis team holds Ebola talks
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
The World Health Organization's emergency committee holds talks on travel restrictions and screening measures on the Ebola outbreak.
Published: Oct 22, 2014 12:10:32

Four guilty of Blackwater killings
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
A US federal jury finds four Blackwater security guards guilty of killing 14 Iraqis in a square in Baghdad in 2007.
Published: Oct 22, 2014 12:10:30

Freed N Korea detainee back in US
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
A US citizen freed from detention in North Korea receives an emotional homecoming in Ohio as Washington works to release two other Americans.
Published: Oct 22, 2014 11:10:07

Kissing ban riles Zimbabwe students
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
A ban on students kissing in public, imposed by the University of Zimbabwe, is "nonsensical", a student representative tells the BBC.
Published: Oct 22, 2014 09:10:47

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