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.

Greek 'No' vote ahead - early results
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Results from Greek bailout referendum based on 15% of votes counted suggest that Greeks have rejected international bailout terms.
Published: Jul 05, 2015 11:07:16

Princess Charlotte is christened
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Princess Charlotte is christened at a church in Sandringham after the Cambridges make their first public outing as a family of four.
Published: Jul 05, 2015 11:07:06

Iran deal 'possible this week'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
A deal with Iran on its contentious nuclear programme is possible this week, US Secretary of State John Kerry says at talks in Vienna.
Published: Jul 05, 2015 09:07:07

Boko Haram attack caps bloody week
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Boko Haram militants are blamed for a suicide bomb attack in a Nigerian church at the end of a week in which more than 200 people were killed.
Published: Jul 05, 2015 09:07:59

Hamilton wins thrilling British GP
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Lewis Hamilton battled through a bad start and late-race rain to win an action-packed British Grand Prix at Silverstone.
Published: Jul 05, 2015 08:07:12

Pope starts Latin American visit
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Pope Francis is travelling to Ecuador as part of his second trip to South America since becoming pontiff in 2013.
Published: Jul 05, 2015 08:07:01

Blatter blames politics for Qatar vote
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
French and German presidents applied pressure prior to the 2018 and 2022 World Cup votes, says Fifa president Sepp Blatter.
Published: Jul 05, 2015 06:07:34

Air strikes on Syria IS stronghold
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The US-led coalition against the Islamic State group carries out an air assault on its Raqqa stronghold in Syria.
Published: Jul 05, 2015 06:07:25

VIDEO: 'Our army has paid a heavy price'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
The president of Tunisia announces a state of emergency following last week's deadly attack at the Sousse tourist resort.
Published: Jul 04, 2015 22:07:11

US actress Diana Douglas dies at 92
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
US actress and model Diana Douglas, the first wife of actor Kirk Douglas and mother of Michael Douglas, has died aged 92, her family says.
Published: Jul 04, 2015 20:07:22

Clinton accuses China of hacking US
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
US presidential hopeful Hillary Clinton accuses China of hacking US computers and stealing commercial secrets and government information.
Published: Jul 04, 2015 18:07:43

Mass vaccination call for rabies
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Renewed efforts are needed to vaccinate dogs against rabies, health experts warn.
Published: Jul 04, 2015 18:07:05

Tunisia declares state of emergency
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Tunisia declares a state of emergency, just over a week after 38 people were killed in attack in the resort city of Sousse.
Published: Jul 04, 2015 11:07:52

Reddit apologises after staff sacking
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Ellen Pao, CEO at Reddit, says sorry over way "we handled the transition" after community complains about the sacking of a popular employee.
Published: Jul 04, 2015 06:07:08

US Army sun cream and bacon unearthed
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
US Army sun cream and tins of bacon are among the finds on Salisbury Plain revealed by archaeologists to mark US Independence Day.
Published: Jul 04, 2015 05:07:41

Dukes of Hazzard car to lose flag
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
US golfer Bubba Watson is to paint over the Confederate flag on the car from the Dukes of Hazzard TV series, the latest backlash against the symbol.
Published: Jul 04, 2015 04:07:01

Cheerleading mourns death of 'founder'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Tributes are paid to the founder of modern cheerleading, Lawrence "Herkie" Herkimer, who has died at the age of 89.
Published: Jul 04, 2015 02:07:04

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