1 message in com.googlegroups.google-gadgets-apitidy / convert html to xml
FromSent OnAttachments
andreh17 Jul 2006 10:31 
Subject:tidy / convert html to xml
From:andreh (Andr@cern.ch)
Date:07/17/2006 10:31:49 AM
List:com.googlegroups.google-gadgets-api

Hello,

I've been playing with the Google Gadgets API, I managed e.g. to write a gadget which shows the thumbnail version

Then I tried to include PART of a web page, by using _IG_FetchXmlContent and trying to select the elements of interest using an xpath expression. However, the response object passed to the call back function by _IG_FetchXmlContent is not of type 'object' but 'string'. I guess this is due to the fact that the HTML file I fetch is not xml conformant.

Is there something like 'tidy' available in the Google Gadgets API to convert html to xml ?

best regards,

Andre