Reading RSS feed - significance of pubDate?

Discussion in 'XML' started by Julian, Jul 29, 2005.

  1. Julian

    Julian Guest

    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?
    --
    Julian
    Julian, Jul 29, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    5
    Views:
    755
    SpaceGirl
    Feb 25, 2005
  2. Motta
    Replies:
    1
    Views:
    520
    Andy Dingley
    Jun 9, 2004
  3. Replies:
    3
    Views:
    730
    Janwillem Borleffs
    Feb 12, 2005
  4. Ruby Girl

    How to parse <pubDate> in RSS

    Ruby Girl, Sep 6, 2008, in forum: Ruby
    Replies:
    2
    Views:
    239
    Peña, Botp
    Sep 6, 2008
  5. Andrew Doades

    RSS::Parser.parse pubdate changing back

    Andrew Doades, Dec 3, 2008, in forum: Ruby
    Replies:
    1
    Views:
    109
    melampus
    Dec 3, 2008
Loading...

Share This Page