Reading RSS feed - significance of pubDate?

J

Julian

I have written a CGI program which takes an RSS feed and turns it into
HTML. I'm using it to display the latest headlines from the BBC News
website.

The question is, what order should I display the items in? In the raw
XML feed, the items are not in chronological order. I can sort the items
into pubDate order, but then I notice the items are not shown in the
same order as on the BBC website.

What is the correct logic for determining which are the newest items in
an RSS feed?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top