At 2:22 PM +0200 9/8/01, Michael Heiming wrote:
>I found 'pdftohtml' (version 0.20) works very good. Downloaded the
>source of htdig 3.15, but I'm not sure where/how to hook a call for
>'pdftohtml' in Display.cc, calling an external .cgi that gets the URL
>and does the work, would be preferred.
You probably don't need to "hook a call" anywhere. You can modify the
result templates, so for example you could have a CGI that takes
another URL as query and outputs what you want. Then you'd modify the
result template like so:
$(URL) -> http://www.foo.com/cgi-bin/pdfdisplay?$url=$(URL)
If you're likely to need to URL-encode or HTML encode parts of the
URL, then you can change $(URL) to another form.
See <http://www.htdig.org/FAQ.html#q4.2> and
<http://www.htdig.org/hts_templates.html> for more.
--
--
-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