W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1999

Headers and Link Callbacks

From: Matt Johnson <matt@onedisc.com>
Date: Fri, 27 Aug 1999 12:36:33 -0500
Message-ID: <37C6CCA1.52551A0F@onedisc.com>
CC: www-lib@w3.org
I'm working on a robot but it just doesn't seem to do what I want it to.

Here's basically what I want to do:

    -- Get the header of a live HTML document
    -- Compare that date to the version stored locally
    -- If they are different, download the live document

The problem I'm running into is that if I use HTProfile_newPreemptiveClient(), then using HTHeadAbsolute()
works just fine but the function I registered for link callbacks never gets executed.

If I use another profile, say HTProfile_Robot, then the function registered for link callbacks works fine, but
HTHeadAbsolute() always fails and displays "Interrupted!".

Is there something I'm missing?  I've looked at all the samples and examples that would relate to what I'm
doing and can't figure it out yet.

Thanks,

Matt
Received on Friday, 27 August 1999 13:35:15 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:17 UTC