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.

Shanghai noodle shop faces down 'cartel'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
How one man faced the wrath of a "cartel" in Shanghai - and became a social media hero - by opening a noodle shop too close to existing ones.
Published: Jul 25, 2016 03:07:01

Ansbach explosion: Syrian asylum seeker blows himself up in Germany
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
A failed Syrian asylum seeker blows himself up and injures 12 other people with a backpack bomb near a festival in the south German town of Ansbach.
Published: Jul 25, 2016 03:07:07

Turkey coup attempt: 'Arrest warrants issued' for journalists
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Turkey's authorities issue detention warrants for 42 journalists, local media say, as part of an investigation into a failed coup earlier this month.
Published: Jul 25, 2016 03:07:40

Florida nightclub shooting: Two dead and 16 injured in Fort Myers
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Two people are killed and up to 16 more injured after a shooting at a nightclub in the Florida city of Fort Myers, police report.
Published: Jul 25, 2016 03:07:39

Iraq: Car bomb near Khalis 'kills at least 17'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
At least 17 people have been killed by a car bomb in the central Iraqi town of Khalis, officials say.
Published: Jul 25, 2016 02:07:05

Koffi Olomide case: Zambia cancels gig after 'assault'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Zambia cancels a planned concert by one of Africa's biggest musicians, Koffi Olomide, in a row over an alleged assault in Kenya on one of his dancers.
Published: Jul 25, 2016 02:07:51

California struggles to contain wildfire near Los Angeles
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Fire crews in California battle a wildfire that has destroyed 18 homes and threatens hundreds of others in mountains north of Los Angeles.
Published: Jul 25, 2016 01:07:12

Prince Harry's regrets over Diana's death
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Prince Harry says he regrets that he did not speak about the death of his mother, Princess Diana, until three years ago.
Published: Jul 25, 2016 01:07:28

Shameful rise in Afghan child deaths and injuries, UN says
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
More Afghan children have been killed or injured this year than in any six-month period since 2009, says the UN, calling it "alarming and shameful".
Published: Jul 25, 2016 01:07:19

Israeli tourist 'gang-raped' in India's Himachal Pradesh state
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
A 25-year-old Israeli woman is allegedly gang-raped in a moving car in India's northern Himachal Pradesh state, police say.
Published: Jul 25, 2016 00:07:55

US election: Email row claims Debbie Wasserman Schultz
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
US Democratic Party chair Debbie Wasserman Schultz says she will resign as a row over leaked emails threatens efforts for party unity behind Hillary Clinton.
Published: Jul 24, 2016 20:07:37

South Africa's gay radio station makes waves
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Africa’s only gay radio station broadcasts from South Africa, trying to counter homophobia and break down stereotypes.
Published: Jul 24, 2016 18:07:54

Fear factor
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Donald Trump says America is in a "moment of crisis". Why it is to his advantage to convince voters that this is so.
Published: Jul 24, 2016 17:07:02

Verizon 'agrees $5bn Yahoo deal'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
US telecoms giant Verizon Communications is to buy Yahoo's core internet business for $5bn (£3.8bn), according to media reports.
Published: Jul 24, 2016 13:07:19

Shawshank Redemption oak tree falls and fans grieve
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
One of the most iconic trees in cinematic history has been felled by the wind.
Published: Jul 24, 2016 11:07:52

Hillary Clinton running mate Tim Kaine battles Trump with optimism
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Tim Kaine - Democrat Hillary Clinton's newly announced vice presidential running mate - makes his national debut, saying: "America was not built on fear".
Published: Jul 24, 2016 00:07:32

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