You can modify the templates and the "stars" attributes of the .conf
file to be valid XHTML (or XML). The templates on my installation are
in htdig/share/htdig. Just modify them as needed.
You might also look at "wrappers" that have been written for PHP. They
modify these same files and convert the results to PHP structures.
Hope that helps.
Ted Stresen-Reuter
On Feb 2, 2006, at 7:34 PM, Dale Roberts wrote:
Hi,
Is there any wy to get the "internal" result generator (htsearch) to
spew out valid XML / XHTML ... I would like to use Ajax to parse the
return results slightly better than as text ... but the current
version outputs "invalid" <IMG> tags ... as they are not closed <IMG
..... /> but <IMG .....> ... which causes XML parsers to have a fit.
This would be REALLY nice when combined with the ability to set the
content type to text/xml for use in things like my Ajax wrapped htdig
install on my site.
Dale Roberts
http://daleroberts.info
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
ht://Dig general mailing list: <[email protected]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general