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.

Kasai unrest: UN experts 'found dead' in DR Congo
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
The bodies of a US man and a Swedish woman are found two weeks after they were abducted.
Published: Mar 28, 2017 11:03:50

Scottish Parliament backs referendum call
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
It is agreed by 69 votes to 59 that Nicola Sturgeon should make a request to the UK government.
Published: Mar 28, 2017 10:03:23

Ahmed Kathrada: South Africa's anti-apartheid veteran dies
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Ahmed Kathrada, who spent 26 years in prison for his activism, was a close associate of Nelson Mandela.
Published: Mar 28, 2017 10:03:44

Winnie Madikizela-Mandela on Kathrada: 'Same pain as Mandela'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Nelson Mandela's ex-wife has paid tribute to the South African anti-apartheid activist, Ahmed Kathrada, who has died aged 87.
Published: Mar 28, 2017 10:03:39

Congo bishops pull out of power-sharing talks
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
There were hopes that they could negotiate an end to President Kabila's 17 years in power.
Published: Mar 28, 2017 10:03:11

Paris clashes after French police kill Chinese man
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Police say they were attacked by the Chinese national but his family says he did not injure anyone.
Published: Mar 28, 2017 10:03:33

Chicago man 'hid gun and drugs in baby's pram'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Police say the wanted man hid a handgun and marijuana in his child's pram before fleeing.
Published: Mar 28, 2017 10:03:15

Cyclone Debbie: Australia activates disaster response plan
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Helicopters and naval vessels carrying aid are to be despatched as Cyclone Debbie hits Queensland.
Published: Mar 28, 2017 09:03:27

Kathrada: Colleagues didn't live to see democracy
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Ahmed Kathrada, one of the big names of South Africa's anti-apartheid struggle has died at the age of 87.
Published: Mar 28, 2017 09:03:23

Turkey 'spied' on pro-Gulen opponents in Germany
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Hundreds of people suspected of backing a US-based cleric are being watched, reports say.
Published: Mar 28, 2017 09:03:49

Sweden reacts to anger at 'risky births' and maternity care shortages
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Sweden boosts maternity care cash amid reports of women forced to drive long distances to give birth.
Published: Mar 28, 2017 08:03:01

Trump to sweep away Obama climate change policies
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Environmentalists warn Mr Trump's order will have serious consequences at home and abroad.
Published: Mar 28, 2017 08:03:00

Carlos the Jackal : Third French life sentence for notorious militant
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The self-styled revolutionary is already serving sentences for attacks in the 1970s and '80s.
Published: Mar 28, 2017 08:03:18

Three teenage burglars shot dead in US
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
The homeowner's son shot them with an assault-style rifle after they broke into the house, say police.
Published: Mar 28, 2017 08:03:06

Tennessee couple tried to sell baby on Craigslist, say police
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Police in Tennessee swooped on the couple after being alerted to the online advert.
Published: Mar 28, 2017 06:03:07

Will Smith reunites with Fresh Prince of Bel-Air pals
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
How do the cast of Fresh Prince look more than 20 years on at their beachside reunion?
Published: Mar 28, 2017 05:03:56

Cyclone Debbie seen from space
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
As the International Space Station passes over Australia, the full scale of Cyclone Debbie comes into view.
Published: Mar 28, 2017 05:03:02

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