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.

Three more arrests in Manchester bomb probe
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
More victims are named, as the home secretary says it is likely Salman Abedi did not act alone.
Published: May 24, 2017 07:05:40

Trump holds first face-to-face talks with Pope Francis
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
The pair greet each other cordially, after clashing on issues from migration to climate change.
Published: May 24, 2017 07:05:56

Nigerian tutoring app Tuteria wins UK engineering award
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
The app links qualified tutors to students in their area and within their budget.
Published: May 24, 2017 06:05:16

California quadriplegic student's mother gets honorary degree
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
"I always believed in him," said Judy O'Connor as she and her son celebrate their joint graduation.
Published: May 24, 2017 06:05:41

Philippine President Duterte eyes nationwide martial law
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The warning comes after soldiers clashed with militants in the southern Philippines.
Published: May 24, 2017 06:05:11

Migrant crisis: Mediterranean rescue as 20 drown
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
A mission is under way to rescue about 200 people who fell from an overcrowded boat off Libya.
Published: May 24, 2017 06:05:11

Mount Everest: Bodies of four climbers found in tent
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The four were discovered by a rescue team sent to retrieve the body of another dead climber.
Published: May 24, 2017 04:05:57

Taiwan's top court rules in favour of same-sex marriage
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The decision paves the way for Taiwan to become the first place in Asia to allow same-sex marriages.
Published: May 24, 2017 03:05:41

Stalin's grandson who rejected dictator's name dies at 75
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Russian theatre director Alexander Burdonsky, who was born Alexander Stalin, dies of cancer aged 75.
Published: May 24, 2017 03:05:50

Sydney siege: Police should have stormed cafe sooner, coroner rules
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Police should have stormed the cafe as soon as the gunman began shooting, an inquest finds.
Published: May 23, 2017 23:05:38

Trump Russia inquiry: Lawyer 'chosen' by president
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Marc Kasowitz will represent the US president in a justice department inquiry, US media report.
Published: May 23, 2017 22:05:36

Ex-CIA chief Brennan says Trump-Russia inquiry 'well-founded'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
John Brennan says he was aware of contact between Russians and "US persons in the Trump campaign".
Published: May 23, 2017 15:05:03

NY invites banned Toronto cops to Pride
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
A police organisation has invited Toronto cops to march in uniform in New York City's Pride parade.
Published: May 23, 2017 15:05:28

Fox retracts Seth Rich murder conspiracy
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
The victim's family said those pushing the report have "a transparent political agenda or are a sociopath".
Published: May 23, 2017 14:05:25

Maryland campus on furore over China democracy speech
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
A Chinese student in the US state of Maryland has caused uproar at home with a graduation speech. What did students at her own university think?
Published: May 23, 2017 14:05:42

Ariana Grande says she feels 'broken' after Manchester concert attack
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
The US singer expresses her sorrow after an explosion kills 22 people after a concert in Manchester.
Published: May 23, 2017 14:05:32

Trump's $4.1tr budget takes hatchet to safety net
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
The White House says it is a "taxpayer first" plan, but even hardline conservatives have qualms.
Published: May 23, 2017 13:05:01

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