At 11:08 AM -0500 2/25/01, Q. Alex Zhao wrote:
>Is it possible to tell htdig to generate the image list in the referer log
>format? In order words, each line of the log file looks like the following:
>
>       web_page_url -> image_url

Sure. You'll need to make some minor tweaks to the source, 
specifically in htdig/Retriever.cc: Hunt down the "got_image" call 
and edit the fprintf call to your liking. You can get the current URL 
by using currentRef->DocURL(), which returns a char *.

>Alternatively, can htsearch list of the images found on a particular web
>page?

That would be a bit tricky since the images URLs are not stored in 
the document database right now. Not a bad option though...

-- 
--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to