Check for updates

  • I'm trying to figure out how to tell if a site has been updated, I have
    already tried many ways and they have failed, maybe one of you smart
    people will have a solution.

    I tried downloading the HTML and comparing it later, this didn't work
    because most sites use PHP now and the HTML is different each time.

    I looked into lastModified stuff but it seems that it only works on a
    few sites and only HTML pages?

    So does anyone know how I can figure out if a site has been updated?

    --
    Mark Davis, Realmac Software
    http://www.realmacsoftware.com

    "To the optimist, the glass is half full. To the pessimist, the glass
    is half empty. To the programmer, the glass is twice as big as it needs
    to be."
    _______________________________________________
    cocoa-dev mailing list | <cocoa-dev...>
    Help/Unsubscribe/Archives:
    http://www.lists.apple.com/mailman/listinfo/cocoa-dev
    Do not post admin requests to the list. They will be ignored.
  • >>>>> "Mark" == Mark Davis <davis.ml...> writes:

    Mark> I tried downloading the HTML and comparing it later, this didn't work
    Mark> because most sites use PHP now and the HTML is different each time.

    If you don't consider "the HTML is different each time" an update,
    how do you define an update?  If you can answer that, you'll
    have most of the problem solved.

    --
    Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
    <merlyn...> <URL:http://www.stonehenge.com/merlyn/>
    Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
    See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!