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.

Helen Bailey murderer Ian Stewart jailed for 34 years
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Ian Stewart is told he poses "a real danger to women" as he is sentenced for killing Helen Bailey.
Published: Feb 23, 2017 04:02:26

Ecuador will hold run-off poll to choose new president
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Governing party candidate Lenin Moreno will face conservative Guillermo Lasso in a run-off on 2 April.
Published: Feb 23, 2017 04:02:42

Nigeria-UK artist Adeniyi Olagunju 'addicted to creative process'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Nigerian-British artist Adeniyi Olagunju, who takes everyday objects and reshapes them in surprising ways, says he is "addicted to the creative process".
Published: Feb 23, 2017 04:02:49

Mosul offensive: Iraqi forces recapture airport in bid to retake city
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The airport is a key location in the government's bid to drive IS militants from Iraq's second city.
Published: Feb 23, 2017 04:02:28

Helping Ghanaian children through a love of reading
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
From dozens to thousands, how a Ghanaian charity has helped children improve their spelling
Published: Feb 23, 2017 04:02:13

Router hacker suspect arrested at Luton Airport
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The "mastermind" behind a massive 2016 attack may face sabotage charges in Germany.
Published: Feb 23, 2017 03:02:39

Jay Z to become first rapper inducted into Songwriters Hall of Fame
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
"This is a win for us," he tweets after it's announced he's first rapper to join the Songwriters Hall of Fame.
Published: Feb 23, 2017 03:02:10

Syria's warring sides brought together for Geneva talks
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The meeting marks the first UN-backed talks between the government and opposition in nearly a year.
Published: Feb 23, 2017 03:02:53

USA Gymnastics: Larry Nassar sexual abuse charges mount
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
The former elite gymnastics medic is charged on 22 counts of sexual assault, some against girls under 13.
Published: Feb 23, 2017 02:02:04

Fruit and veg: For a longer life eat 10-a-day
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
More fruit and veg might prevent nearly eight million premature deaths each year, researchers say.
Published: Feb 23, 2017 01:02:48

Trump rescinds transgender bathroom rules from Obama era
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
The previous guidelines let transgender students use toilets matching their gender identity,
Published: Feb 22, 2017 23:02:21

Kim Jong-nam killing: North Korea condemns Malaysia
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
An angry report in North Korean state media blames Malaysia for the death of "a citizen".
Published: Feb 22, 2017 22:02:05

Mexico's foreign minister rejects Trump deportation policy
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Two top US officials are in Mexico to discuss the measures with President Enrique Pena Nieto.
Published: Feb 22, 2017 21:02:22

Canadian researchers set to study cannabis oil
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
A Canadian hospital will study the effects cannabis oil on a severe form of epilepsy
Published: Feb 22, 2017 19:02:51

New Trump travel ban delayed until next week, White House says
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
The US has said it will be a "tighter, more streamlined version of the first executive order".
Published: Feb 22, 2017 19:02:32

Dakota pipeline protesters leave site after year-long occupation
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Protesters in the US are arrested by police after a deadline passes to end the year-long protest.
Published: Feb 22, 2017 17:02:34

Melania Trump re-files Daily Mail lawsuit without controversial wording
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
The new complaint drops wording that said she lost the chance to profit from her brand.
Published: Feb 22, 2017 17:02:26

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