Thread: List updating

  1. #1
    Registered User
    Join Date
    Sep 2007

    List updating

    I want something that'll tell me when updates. I'm not that great at web-interactive programming, so I figured the next best thing would be to copy and paste the list into a file, have the program open it and compare it to an old list, and then output the new game names. Anybody have anything like that? Or know how to do an auto-updating one? Would an RSS feed or something work? How would I do that? I'm looking at C++ right now..

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Personally, I'd use two shell commands from a bash script.
    - curl, to get the page
    - diff, to compare with the old one.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Join Date
    May 2004
    Do they have an rss feed? If they did you wouldn't need to program anything...unless it was an rss reader.

  4. #4
    Registered User
    Join Date
    Sep 2007
    where do you get a curl command? I'm too lazy too google search that xD.. also, the problem would be if they added a line of HTML in anywhere, added a tab, or changed the tiniest formatting or ads, it would say all the lines changed. Plus if one game got added (it's alphabetical, not chronological), all the ones below it would get changed. I guess you could write a program to see whenever the number of lines something has moved increases by one and tell you there's stuff there, but that's just as much work..

    Yes, RSS feed, but I think it's a general for their site, and not for the game list. I'll check.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 26
    Last Post: 07-05-2010, 10:43 AM
  2. circular doubly linked list help
    By gunnerz in forum C++ Programming
    Replies: 5
    Last Post: 04-28-2007, 08:38 PM
  3. Anyone good with linked list.....I am not....
    By chadsxe in forum C++ Programming
    Replies: 11
    Last Post: 11-10-2005, 02:48 PM
  4. Linked List
    By jpipitone in forum C Programming
    Replies: 4
    Last Post: 03-30-2003, 09:27 PM