I\'m creating a website where I need to show the top 5 records from an RSS feed, and these need to be sorted by date and time.
The date fields in the RSS feed are in
The following transformation:
when applied on the provided source XML document (too-long to list here, see the link),
produces the wanted result:
-
Inflation rate expected to fall
The latest figures for the rate of inflation, for the 12 months to January, are expected to show that it has fallen again.
http://news.bbc.co.uk/go/rss/-/1/hi/business/7893873.stm
http://news.bbc.co.uk/1/hi/business/7893873.stm
Tue, 17 Feb 2009 02:58:03 GMT
Business
-
Farming pressures
Are farmers being forced to use GM seeds?
http://news.bbc.co.uk/go/rss/-/1/hi/business/7892328.stm
http://news.bbc.co.uk/1/hi/business/7892328.stm
Tue, 17 Feb 2009 00:06:31 GMT
Business
-
Engine room?
Western Australia's economy may be hitting reverse.
http://news.bbc.co.uk/go/rss/-/1/hi/business/7840370.stm
http://news.bbc.co.uk/1/hi/business/7840370.stm
Tue, 17 Feb 2009 00:05:25 GMT
Business
-
Coining it in?
Investors turning to old and rare coins in the downturn
http://news.bbc.co.uk/go/rss/-/1/hi/business/7878606.stm
http://news.bbc.co.uk/1/hi/business/7878606.stm
Tue, 17 Feb 2009 00:04:29 GMT
Business
-
Home sales may rise say surveyors
Property sales may pick in the next few months, according to the Royal Institution of Chartered Surveyors (Rics).
http://news.bbc.co.uk/go/rss/-/1/hi/business/7893193.stm
http://news.bbc.co.uk/1/hi/business/7893193.stm
Tue, 17 Feb 2009 00:02:19 GMT
Business