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)

Biden steps up pressure on Israel

The US vice-president renews criticism of Israel over an East Jerusalem building project and urges bold steps to peace.

Iran attacks US over Afghanistan

Iranian President Mahmoud Ahmadinejad says it is the US, not Tehran, that is playing a "double game" in Afghanistan.

Collider to shut down for a year

The Large Hadron Collider must be shut down for a year starting in late 2011 to address design flaws, the BBC has learned.

'Last Bali bomber' killed in Indonesia

Indonesia's president confirms security forces have killed the last main main suspect in the 2002 Bali bombings, Dulmatin.

China denies World Cup sweatshop

A Shanghai company denies it used sweatshop labour to produce World Cup mascots, as Fifa suspends its manufacturing contract.

Aid workers shot dead in Pakistan

Gunmen attack the office of a Western aid agency, killing six people and wounding others, the agency and police say.

China's exports see big increase

China's exports surged 46% in February, figures show, raising hopes of a strong recovery in global trade.

Ring may be giant 'impact crater'

Deforestation in central Africa has revealed what could be an impact crater left by a giant space rock, scientists say.

Lost Boys actor Haim dies aged 38

Lost Boys actor Corey Haim dies at the age of 38, the Los Angeles coroner's office confirms.

Leaping off the page - Belgian paper prints '3D edition'

A Belgian daily has issued what is thought to be Europe's first 3D newspaper - complete with cardboard viewing glasses.

World's largest meat-eating plant prefers to eat... droppings

The largest meat-eating plant in the world is designed not to eat small animals, but small animal poo, scientists discover.

Pakistan to ban Yousuf & Younus

Pakistan cricketers Mohammad Yousuf and Younus Khan are banned indefinitely from representing their country.

Beckham plots Old Trafford upset

David Beckham believes his AC Milan side can overturn a 3-2 deficit and send his former club Manchester United crashing out of the Champions League.

Fighting the tide

Church authority at risk as scandals spread in Europe

Galapagos tension

Can all species live side by side in unique ecosystem?

Thin red line

Lone stand of anti-Taliban militia in Pakistan

Biswas on India

Women's quotas - historic moment for largest democracy

In pictures

Togo in trouble as election protests continue to rage

Separation fear

Families fight 'racist' Israeli marriage and citizenship law

ANC seeks Winnie Mandela answers

South Africa's ANC asks Winnie Mandela to clarify a media report in which she apparently fiercely criticised ex-husband Nelson.

Spanish hostage in Africa freed

A Spanish woman aid worker kidnapped in West Africa last year has been freed, the Spanish government says.

Insurers 'face $7bn Chile bill'

The earthquake in Chile may cost the global insurance industry as much as $7bn (£4.7bn), Swiss Re estimates.

US activist Granny D dies at 100

Granny D, who walked across the US at the age of 89 in support of election campaign finance reform, dies.

Elephant birth shocks Sydney zoo

An elephant in a Sydney zoo gives birth to a live calf, shocking vets who thought the baby had died in the womb.

Burma law bans Suu Kyi from poll

A new election law formally bars pro-democracy leader Aung San Suu Kyi from taking part in elections planned in Burma.

Berezovsky wins poison libel case

Russian oligarch Boris Berezovsky wins his libel case over claims he was behind the murder of former agent Alexander Litvinenko.

EU leader 'pities' UKIP's Farage

EU president Herman Van Rompuy says he pities Nigel Farage, the British Eurosceptic MEP who called him a "damp rag".

Egypt's top cleric dies aged 81

Egypt's top Muslim cleric has died suddenly in Saudi Arabia at the age of 81.

Israel sued over dead US activist

A court case brought by the family of Rachel Corrie, a US protester killed by an Israeli army bulldozer in 2003, opens in Israel.

Kidnapped boy's father back in UK

The father of a British boy kidnapped in Pakistan is returning to the UK, against the wishes of the police, the BBC learns.

India help for Sri Lanka amputees

An Indian charity sends a team to Sri Lanka to provide 1,000 amputees in the war-ravaged north with artificial limbs.

New Kurdish party to challenge polls

Jim Muir reports on the new Kurdish party that has emerged in northern Iraq to mount a challenge in the third general election since the overthrow of Saddam Hussein's regime in 2003.

Bitterness and unease in Zimbabwe

Andrew Harding reports from Harare on the uneasy mood among the white population and the MDC party as President Robert Mugabe says he's ready for another term.

Can US broker Middle East peace?

Joe Biden is in the region to encourage talks between the Palestinians and Israel. What can be achieved?

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