RSS Demo

RSS (Really Simple Syndication) is an very simple XML schema that can be used to obtain news feeds from another site. These can be used in a news aggregator or some sort of desktop reader program (task bar ticker) or can be combined and used on another website. Be careful of copyright issues, using a RSS feed without giving credit could be construed as ‘Passing Off’. Most online newspaper sites now provide RSS Feeds and many IT support organizations are moving in that direction in order to better inform resellers of faults.

Directly below is a demonstration, reading the World news feed directly from the BBC.

World News (from the BBC)

US takes over key mortgage firms

The US government announces plans for the takeover of failing mortgage giants Freddie Mac and Fannie Mae.

Caribbean lashed by Hurricane Ike

Thousands of people hunker down across the Caribbean as Hurricane Ike pounds the region, on course for Cuba.

Canadian PM calls snap election

Canadian Prime Minister Stephen Harper calls an early election in a bid to strengthen his minority government.

Kandahar rocked by suicide blasts

Two suicide bomb blasts kill at least two people and injure 29 in a police station in the Afghan city of Kandahar, officials say.

Shun meat, says UN climate chief

People should consider eating less meat as a way to tackle global warming, says the UN's top climate scientist.

MDC challenges Mugabe to new vote

Zimbabwe opposition leader Morgan Tsvangirai challenges President Mugabe to hold new polls if he will not share power.

Angolan MPLA set for big poll win

Angola's ruling MPLA party is heading for a landslide win in parliamentary polls, preliminary results show.

Cairo rockslide search continues

Rescuers in Cairo continue their search for survivors after a rockslide hit dozens of homes in Egypt's capital, killing at least 31.

Venezuela plans Russia navy visit

Venezuela says it plans to hold joint naval exercises in its territorial waters with Russian forces in November.

US stars unite for cancer charity in historic telethon

US celebrity cancer survivors including actors Christina Applegate and Patrick Swayze take part in a live charity telethon.

Polish dancers win Eurovision dance contest

Poland won the second Eurovision Dance Contest, which was held in Glasgow before a television audience of millions.

Hamilton stripped of Belgian win

McLaren's Lewis Hamilton is stripped of victory in a dramatic Belgian Grand Prix and demoted to third as the win is handed to Ferrari's Felipe Massa.

Capello angry with Cole & Rooney

England coach Fabio Capello says he vented his fury at Joe Cole and Wayne Rooney for not following instructions against Andorra.

In pictures

Images of the aftermath of the Cairo rockslide

Apartheid apology

University says sorry for denying black lecturer a job

In pictures

Massive flood rescue operation in eastern India

A class apart

The educational crisis in East Jerusalem

Party king

Swazi monarch celebrates as Aids orphans go hungry

Wine challenge

Spanish vineyards fear climate change threat

Rice in Rabat 'for terror talks'

Condoleezza Rice is expected to discuss the so-called war on terror in Morocco.

Sudan army 'attacks Darfur towns'

Sudanese troops launch air and ground attacks on two Darfur towns, several rebel group say.

US rivals to make 9/11 appearance

US presidential rivals Barack Obama and John McCain say they will appear together on the anniversary of the 9/11 attacks.

US Boeing workers strike over pay

Workers at the world's biggest aircraft manufacturer, Boeing, go on strike in the US.

Hong Kong legislative polls open

Voters in Hong Kong choose between pro-government and more pro-democracy candidates in a hotly contested poll.

Thai PM rules out military coup

Thailand's PM Samak Sundaravej says the army will not stage a coup against his government, despite weeks of street protests.

Serb opposition leader resigns

The head of the main opposition party in Serbia resigns after colleagues refuse to back efforts to join the EU.

Row over trial's 'Ramadan' delay

French anger at court's apparent decision to postpone a trial because it was to take place during Ramadan.

Rice in talks with Libya's Gaddafi

Condoleezza Rice meets Col Gaddafi in Libya in the latest step towards improving relations between the former enemies.

Heritage plan for Iraqi marshes

The United Nations launches an initiative to have the marshlands of southern Iraq listed as a world heritage site.

Bhutto's widower wins presidency

Asif Ali Zardari, the widower of former Prime Minister Benazir Bhutto, wins a sweeping victory in Pakistan's presidential election.

US-India nuclear accord approved

The US plan to lift a global ban on the sale of civilian nuclear materials to India gets international approval.

Laying to rest Cyprus's ghosts

As talks begin in Cyprus Tabitha Morgan reports on one of the most highly charged issues facing the divided island.

Madagascar's dance with the dead

Jonny Hogg witnesses an ancient ritual in Madagascar as loved ones are mourned in a bone turning ceremony.

Your say

What do you want the world to talk about?

ASP Code

Below is sample code to use the Microsoft XML object in ASP 3.0 to load and utilize an RSS feed from a remote site. (The XML object has many other uses for reading and writing XML based documents.)

Dim objDoc, objItems, I 
Set objDoc = Server.CreateObject("Msxml2.DOMDocument.4.0") 
objDoc.async = False 
objDoc.setProperty "ServerHTTPRequest", True
objDoc.Load("http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/world/rss.xml")

Set objItems = objDoc.getElementsByTagName("item")

For Each I In objItems
  	Response.Write("<h4><a href=""" & I.selectSingleNode("link").text & "">" & I.selectSingleNode("title").text & "</a></h4>")
	Response.Write("<p>" & I.selectSingleNode("description").text & "</p>")
Next


Set objItems = Nothing
Set objDoc = Nothing