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.

Kim sister given senior N Korea role
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The younger sister of North Korea's leader Kim Jong-un is referred to as a senior official for the first time by state media.
Published: Nov 26, 2014 22:11:44

Australia batsman Phil Hughes dies
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Australia Test batsman Phil Hughes has died in a Sydney hospital, officials say, days after being hit on the head by a ball.
Published: Nov 26, 2014 22:11:20

US planes 'may use British carrier'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The Royal Navy wants to ask US squadrons to fly off its new aircraft carrier, HMS Queen Elizabeth, because of delays to Britain’s new F35B fighters.
Published: Nov 26, 2014 21:11:17

Thai elections 'could be delayed'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Thailand's finance minister tells the BBC that elections to end military rule might now not take place until 2016.
Published: Nov 26, 2014 20:11:52

US police release boy shooting tapes
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
A 12-year-old shot and fatally wounded by police in the US city of Cleveland was told to show his hands three times before officers opened fire, say officials.
Published: Nov 26, 2014 16:11:23

Egyptian youths jailed over protests
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
A court in Egypt sends 78 boys under the age of 18 to prison for taking part in protests in support of the Muslim Brotherhood.
Published: Nov 26, 2014 15:11:46

Oil price falls ahead of Opec meeting
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The price of oil has fallen as Opec oil producers prepare for their meeting on Thursday and data shows crude stocks rose last week.
Published: Nov 26, 2014 15:11:40

Ebola vaccine trial 'promising'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
The first human trial of an experimental vaccine against Ebola suggests that it is safe and may help the immune system to combat the virus.
Published: Nov 26, 2014 15:11:51

Snow snarls up Thanksgiving getaway
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Harsh weather along the US east coast has disrupted one of the busiest travel days ahead of the country's Thanksgiving holiday.
Published: Nov 26, 2014 14:11:19

Family 'crushed' by Ferguson ruling
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
The family of Michael Brown, the black teenager shot dead by a policeman, say they are "crushed" by the decision not to charge Darren Wilson.
Published: Nov 26, 2014 14:11:48

Spain minister resigns over scandal
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Health minister Ana Mato resigns amid a court investigation into a massive corruption scandal over illegal payments in Spain.
Published: Nov 26, 2014 14:11:01

Jerusalem attacker wife loses rights
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Israel revokes the residency rights of the widow of one of the two Palestinian men who killed five people at a synagogue in Jerusalem.
Published: Nov 26, 2014 12:11:21

Google told to expand right to forget
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
EU data privacy regulators say Google must apply the right to have search results removed to its .com site as well as its European versions.
Published: Nov 26, 2014 10:11:43

Cameroon frees 16 held by CAR rebels
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Cameroon's military has freed 16 hostages, including a Polish priest, captured by rebels from the Central African Republic (CAR), the president says.
Published: Nov 26, 2014 10:11:45

Sex assault charge for radio host
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Former Canadian Broadcasting Corporation presenter Jian Ghomeshi has been arrested and charged with sexual assault, Toronto police say.
Published: Nov 26, 2014 09:11:39

Jihadi 'hostage murderer' killed
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
The Algerian army has killed one of the militants responsible for the beheading of a French hiker in September, the justice minister says.
Published: Nov 26, 2014 09:11:01

Ghana cocaine bust turns political
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Ghana's opposition calls for a parliamentary probe into allegations that a suspected cocaine trafficker had access to the presidential lounge at the country's main international airport.
Published: Nov 26, 2014 08:11:18

Sony to pay Vita owners after bad ad
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Sony agrees to reimburse some owners of the PlayStation Vita after being accused of making false claims about its features.
Published: Nov 26, 2014 08:11:19

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