Skip navigation.
Home

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.

Venezuela opposition banned from running in 2018 election
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
President Maduro says the three main opposition parties cannot compete against him in 2018.
Published: Dec 10, 2017 16:12:33

Bitcoin futures trading begins on Cboe exchange in Chicago
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Trading in futures contracts is a step towards legitimising the digital currency, its supporters say.
Published: Dec 10, 2017 16:12:43

Brexit: Theresa May claims new sense of optimism in talks
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The UK prime minister will tell MPs she did not cave into Brussels in her deal to unlock talks.
Published: Dec 10, 2017 16:12:48

UK has a new highest mountain
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Scientists re-measure the tallest mountains in the Antarctic territory claimed by Britain.
Published: Dec 10, 2017 16:12:13

German spy agency warns of Chinese LinkedIn espionage
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Germany's spy agency says China is using the site to gather information on politicians.
Published: Dec 10, 2017 14:12:54

California wildfires: Santa Barbara threatened by Thomas fire
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Fresh evacuations are ordered as the largest of the state's wildfires burns largely uncontrolled.
Published: Dec 10, 2017 14:12:35

Netanyahu: Palestinians must face reality over Jerusalem
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Israel's prime minister says Jerusalem has "never been the capital of any other people".
Published: Dec 10, 2017 13:12:35

Wild elephant attacks a bus
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
An elephant attacked a bus in southwest China while its driver was inside.
Published: Dec 10, 2017 08:12:12

Sudan women in trousers: No indecency charges
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
The 24 women had attended a party raided by morality police near the capital, Khartoum.
Published: Dec 10, 2017 07:12:26

Star Wars: The Last Jedi - tributes to Carrie Fisher at LA premiere
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Stormtroopers, an AT-AT Walker and a panoply of droids brought the Star Wars universe to downtown LA.
Published: Dec 10, 2017 06:12:35

Nobel Peace Prize winner Ican warns nuclear war 'a tantrum away'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Accepting the Nobel Peace Prize, Ican's Beatrice Fihn appears to refer to the North Korean crisis.
Published: Dec 10, 2017 06:12:58

In Your Face: China’s all-seeing state
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
China has been building what it calls "the world's biggest camera surveillance network".
Published: Dec 10, 2017 04:12:17

Trump's Jerusalem move: Arab allies attack decision
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Key allies are among Arab countries who condemn the recognition of Jerusalem as Israel's capital.
Published: Dec 10, 2017 00:12:30

US boxer wins title in surprise
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
James DeGale says he will "go back to the drawing board" after his shock defeat by American Caleb Truax at London's Copper Box Arena.
Published: Dec 10, 2017 00:12:50

Nigeria migrants' Libya detention centre love story
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Mabel and Steven are now safely back in Nigeria after falling in love in a Libyan detention centre.
Published: Dec 09, 2017 16:12:19

Egypt uncovers ancient tombs at Luxor
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
A mummy dating back about 3,500 years is among items discovered in the two tombs.
Published: Dec 09, 2017 08:12:54

Dustin Hoffman faces new sex abuse allegation from co-star
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Actor Kathryn Rossetter says she suffered an "abusive experience" during a Broadway play in 1984.
Published: Dec 09, 2017 02:12:50

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