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.

Kenya's Ruto wins ICC witness ruling
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
International judges in the case of Kenyan Vice-President William Ruto disallow the use of recanted witness statements.
Published: Feb 12, 2016 10:02:30

Deadly mortar attack hits UN Mali base
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Three United Nations peacekeepers have been killed in a mortar attack on one of their bases in northern Mali, the UN says.
Published: Feb 12, 2016 10:02:17

Assad vows to retake all of Syria
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Syrian President Bashar al-Assad vows to retake "the whole country", but says the involvement of regional powers means it could take "a long time".
Published: Feb 12, 2016 10:02:48

Paedophiles use Facebook to swap images
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Paedophiles are using secret groups on Facebook to post and swap obscene images of children, a BBC investigation finds.
Published: Feb 12, 2016 10:02:15

Funeral for student killed in Cairo
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The funeral of Giulio Regeni, a Cambridge student found dead in Egypt, has been held in his home town in Italy.
Published: Feb 12, 2016 09:02:28

Rwanda seeks to expel Burundi refugees
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Rwanda says it plans to relocate Burundian refugees to other host countries, days after being accused of attempts to destabilise its neighbour.
Published: Feb 12, 2016 09:02:15

Anne Frank's diary removed from website
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The Diary of Anne Frank has been removed from book repository Wikisource after the site became aware it had fallen foul of copyright law.
Published: Feb 12, 2016 09:02:54

Spaniard pulls six-year sickie
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
A Spanish civil servant is fined after not going to work for at least six years, which was only noticed when he became eligible for a long service award.
Published: Feb 12, 2016 09:02:47

Man missing 30 years remembers identity
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
A Canadian man who suffered a head injury and went missing for 30 years is set to be reunited with his family after remembering his identity.
Published: Feb 12, 2016 09:02:22

Ohio police kill diner machete attacker
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Police in the US state of Ohio shoot and kill a man who attacked four people with a machete in a Mediterranean diner.
Published: Feb 12, 2016 09:02:33

UK pilot suspects jailed over weapons
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Four Tanzanians accused of involvement in the death of a UK helicopter pilot are jailed for at least 15 years for illegally possessing weapons.
Published: Feb 12, 2016 08:02:42

Nigeria to probe generals over arms fraud
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Twelve senior Nigerian army officers, including six serving generals, are handed over for questioning over alleged involvement in an arms scandal.
Published: Feb 12, 2016 07:02:36

EU gives Greece deadline on borders
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The European Union gives Greece three months to fix border controls in a move that could allow other Schengen states to maintain internal controls.
Published: Feb 12, 2016 06:02:00

France to move migrants from 'Jungle'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
French authorities say they want to move up to 1,000 migrants living in the notorious Jungle camp in the port town of Calais.
Published: Feb 12, 2016 06:02:54

VIDEO: Jailhouse rock: Malawi's prison band success
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
A band from a prison in Malawi has been nominated for a Grammy award in this year's World Music category.
Published: Feb 12, 2016 06:02:58

Pakistan 'foils plot to free Pearl killer'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Pakistan's military says it has foiled a plot to free the British-born killer of Wall Street Journal reporter Daniel Pearl from jail.
Published: Feb 12, 2016 05:02:30

Ground control bids farewell to Philae
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The Rosetta mission team says it is time to give up hope of ever hearing again from the comet lander Philae.
Published: Feb 12, 2016 03:02:18

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