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.

Syria conflict: US says Russia driving rebels into extremists' camp
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Russia's increasing military action in Syria is forcing moderate elements within the opposition into the hands of extremists, the US state department says.
Published: Oct 01, 2016 03:10:47

Cheetah trade: Nations to suppress social media enticement
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Arab nations join forces with African countries in a bid to suppress the illegal live trade in cheetahs, with a special focus on social media.
Published: Oct 01, 2016 02:10:49

Calais camp: Unicef urges UK to transfer refugee children
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Unicef urges the UK government to speed up the transfer of unaccompanied child refugees to Britain from the "Jungle" camp in Calais
Published: Oct 01, 2016 02:10:17

Roy Moore: Alabama top judge ousted over gay marriage stand
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Alabama's controversial chief justice is removed from office for defying federal court rulings that legalized same-sex marriage.
Published: Oct 01, 2016 02:10:04

Hurricane Matthew is strongest storm in Atlantic in nine years
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The most powerful hurricane in the Atlantic for nine years moves towards Jamaica, with wind speeds strong enough to wreck houses and infrastructure.
Published: Sep 30, 2016 23:09:01

Guzman sons suspected in Mexico raid
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Members of a notorious Mexican drugs cartel have ambushed a military convoy, killing five soldiers, authorities say.
Published: Sep 30, 2016 21:09:37

San Diego police release Alfred Olango shooting videos
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Police in the US city of San Diego release video footage of the fatal shooting of an unarmed black man outside a shopping centre on Tuesday.
Published: Sep 30, 2016 19:09:27

Kashmir tension: Pakistan cinemas ban Indian films
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Major cinemas in Pakistan ban Indian films in what they call an act of solidarity with the armed forces as tension mounts over the Kashmir dispute.
Published: Sep 30, 2016 18:09:17

Animal TB threatens human health say vets and doctors
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Animal tuberculosis, which is spread through contaminated food, is a greater threat to human health than previously realised, leading doctors and vets warn.
Published: Sep 30, 2016 17:09:27

Bid to block US net handover rejected
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
A judge rejects a last-ditch attempt to stop the handover of internet naming power from the US to a non-profit group.
Published: Sep 30, 2016 16:09:50

US election 2016: Trump berates Alicia Machado on Twitter
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Donald Trump attacks a former beauty pageant winner who criticised him for alleged sexist and misogynistic remarks as "disgusting" in a Twitter outburst.
Published: Sep 30, 2016 15:09:36

Hedge fund Och-Ziff to pay $412m in Africa bribery case
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
US hedge fund Och-Ziff agrees a $412m fine to settle charges over bribery in its dealings in Africa, in the first ruling of its kind.
Published: Sep 30, 2016 14:09:58

US election 2016: Trump mic malfunctioned, debate organisers confirm
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Organisers of Monday's presidential debate confirm "there were issues regarding Donald Trump's audio", after he complained his mic was defective.
Published: Sep 30, 2016 14:09:53

Cause of US sisters' Seychelles deaths remains a mystery
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Two US sisters found dead while on holiday in the Seychelles died of excess fluid in their lungs, according to police on the Indian Ocean island.
Published: Sep 30, 2016 13:09:04

US death penalty: Proportion of Americans who support execution falls below 50% for the first time
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
The proportion of Americans who favour capital punishment for convicted murderers falls to 48% - the lowest level for four decades.
Published: Sep 30, 2016 12:09:38

Libya: More than 100 families at risk of starvation in Benghazi
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
More than 100 families trapped in a Benghazi neighbourhood in Libya are at risk of starving to death, Amnesty International has said.
Published: Sep 30, 2016 10:09:59

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