You are hereShow Multiple RSS Feeds

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.

Tokyo Olympics: Simone Biles out of individual all-around final
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
American gymnast and four-time Olympic gold medallist Simone Biles withdraws from the individual all-around final Tokyo Olympics.
Published: Jul 28, 2021 11:07:55

Tokyo Olympics Ivory Coast reach last eight in football as Le Clos misses medal on day five
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Ivory Coast qualified for the quarter-finals of the men's football but South Africa's Chad le Clos misses a medal on day five of Tokyo 2020.
Published: Jul 28, 2021 10:07:15

Tokyo Olympics: Why 'superhuman' Simone Biles could change attitudes to mental health in sport
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Athletes discuss Simone Biles' decision to prioritise her mental health at the Tokyo Olympics and how she could change attitudes in sport.
Published: Jul 28, 2021 10:07:01

Covid in Tanzania: Vaccination campaign gets underway
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
President Samia Suluhu's decision to have a Covid vaccine marks a change of approach for Tanzania.
Published: Jul 28, 2021 09:07:39

Bob Odenkirk: Better Call Saul star collapses on set of Breaking Bad spin-off
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
The US actor was reportedly rushed to hospital in Los Angeles after being taken ill in New Mexico.
Published: Jul 28, 2021 09:07:13

China building nuclear missile silo field, scientists say
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
A new report based on high-quality satellite images says the site could hold up to 100 silos.
Published: Jul 28, 2021 09:07:44

Cannabis part of the future says tobacco giant
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
British American Tobacco says its future lies in getting people to switch to nicotine alternatives.
Published: Jul 28, 2021 09:07:14

Joey Jordison: Slipknot founding drummer dies aged 46
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Jordison was a member of the mask-wearing heavy metal band and also performed with the likes of Metallica.
Published: Jul 28, 2021 08:07:44

Barabanki accident: Eighteen die after truck crashes into bus in India
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
The victims were migrant workers who were going home to meet their families.
Published: Jul 28, 2021 04:07:24

Capitol riot: Policeman tells 6 January hearing he feared he would die
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Officers on duty when Trump supporters stormed the US Capitol give tearful testimony at an inquiry.
Published: Jul 28, 2021 03:07:16

Gilgamesh tablet: US authorities take ownership of artefact
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
The Gilgamesh Dream Tablet was imported illegally into the US before being bought by Hobby Lobby.
Published: Jul 27, 2021 23:07:11

Chronic health issues for third in late 40s - study
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
About one in three has problems such as high blood pressure and mental ill health, a study suggests.
Published: Jul 27, 2021 23:07:27

Key moments from first hearing of Capitol riot inquiry
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Police officers gave emotional testimony about their struggles during the riot to US lawmakers.
Published: Jul 27, 2021 23:07:21

Zimbabwean with football dreams to be kicked out of UK
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/africa/rss.xml
Christopher Arundell grew up in the UK but after doing time in jail is being deported to Zimbabwe.
Published: Jul 27, 2021 23:07:44

Canadian police reveal decade-long Manitoba residential school inquiry
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
Police are investigating abuse claims at a former school that sought to assimilate indigenous children.
Published: Jul 27, 2021 22:07:49

Wu-Tang Clan album bought by Martin Shkreli sold by US government
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml
The album was handed over as part of a $7.4m deal with a notorious former drug firm executive.
Published: Jul 27, 2021 22:07:11

Tech giants' profits soar as pandemic boom continues
From: http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
Apple, Google parent company Alphabet and Microsoft report soaring quarterly profits.
Published: Jul 27, 2021 22:07:12

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

Shopping cart

There are no products in your shopping cart.

0 Items $0.00

Please Help Us

Login with facebook

Login to facebook