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.

Israel to 'destroy all Gaza tunnels'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Israel is "determined" to destroy all militant tunnels from Gaza "with or without a ceasefire", Prime Minister Benjamin Netanyahu says.
Published: Jul 31, 2014 03:07:45

Russian experts to visit MH17 site
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Russian aviation experts plan to visit the site of the Flight MH17 crash in the east, as Ukraine calls a one-day truce with the rebels.
Published: Jul 31, 2014 03:07:17

S Leone declares Ebola emergency
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Sierra Leone's president declares a public health emergency to curb the deadly Ebola outbreak and order epicentres of the disease to be quarantined.
Published: Jul 31, 2014 02:07:00

Bathers drown off Karachi coast
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
At least 20 bathers celebrating the Muslim Eid festival drown in rough seas off the southern Pakistani city of Karachi, officials say.
Published: Jul 31, 2014 02:07:11

Facebook expands Africa push
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Facebook puts itself at forefront of push into Africa by unveiling a plan to get millions of people in Zambia online.
Published: Jul 31, 2014 02:07:56

Nato 'unprepared for Russia threat'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Nato is poorly prepared for an attack on a member state by Russia, a group of MPs warns in a report.
Published: Jul 31, 2014 01:07:35

Argentina defaults for second time
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Argentina has defaulted on its debt - for the second time in 13 years - after last-minute talks in New York with a group of bond-holders end in failure.
Published: Jul 31, 2014 01:07:06

Race to find India landslide missing
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Rescue workers in western India race to locate survivors of a landslide that has claimed at least 30 lives and buried up to 200 people.
Published: Jul 31, 2014 00:07:01

Shell sees 'robust' profits rise
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Oil giant Royal Dutch Shell describes its performance as "robust" after its second-quarter profits more than doubled.
Published: Jul 31, 2014 00:07:08

NZ lawmakers back match-fixing bill
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
New Zealand lawmakers back a bill making match-fixing a crime punishable by up to seven years in prison, as it prepares to host major sporting events.
Published: Jul 30, 2014 22:07:58

House votes to sue President Obama
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
The US House of Representatives has passed a resolution authorising a lawsuit against the president for allegedly exceeding his constitutional powers.
Published: Jul 30, 2014 22:07:25

Flying axe near-miss on US motorway
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
A US vehicle passenger is "shaken up" after an axe flew off the back of a lorry on a motorway and crashed midway through a windshield, police say.
Published: Jul 30, 2014 15:07:23

Drug-resistant malaria 'widespread'
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Drug-resistant malaria is spreading in South East Asia, and has now reached the Cambodia-Thailand border, according to a study.
Published: Jul 30, 2014 15:07:46

US bridge to get anti-suicide fence
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
A major span between New York City and New Jersey will be getting safety fence designed to prevent suicides, after an increase in deaths this year.
Published: Jul 30, 2014 14:07:04

Senators in campus sex assault push
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
A cross-party group of US senators introduce a bill aimed at reducing sexual assault on university campuses.
Published: Jul 30, 2014 12:07:45

US economic growth surges by 4%
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
The US economy grew by 4% in the second quarter, according to a preliminary reading by the US Department of Commerce, beating expectations.
Published: Jul 30, 2014 12:07:29

Bank of America in 'hustle' case
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Bank of America's Countrywide unit must pay $1.3bn for selling defective home loans to US government mortgage lenders, a New York judge rules.
Published: Jul 30, 2014 12:07:49

Six dead in Nigeria college blast
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
At least six people have been killed in a suicide bombing at a college in northern Nigeria's biggest city, Kano, witnesses say.
Published: Jul 30, 2014 12:07:06

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