Detecting updated feed

Discussion in 'XML & RSS' started by haden213, Aug 24, 2009.

  1. #1
    Im am working on a RSS/Atom reader which notifies the user if the feed has been updated . Im relatively new to this field. I would like to know what is the best way to detect if an RSS or Atom feed is updated. ?
     
    haden213, Aug 24, 2009 IP
  2. premiumscripts

    premiumscripts Peon

    Messages:
    1,062
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Well, you just check if the newest item in the RSS feed is different / has a newer post date than the one you last saw. Also, make sure to send appropriate headers because alot of RSS feeds will respond with 304 not modified so that will save you bandwidth.
     
    premiumscripts, Aug 27, 2009 IP