Yahoo! has launched a service (YQL) that makes possible to get a well-formed XML document from any publicly accessible web page, even if the page uses HTML instead of XHTML. Furthermore, one can fetch only a portion of the xml by specifying an xpath selector. In either case, this a fantastic opportunity for GM-based screen-scrapping, since the hard work happens at the Yahoo! servers and because it enables us to XHR any page and process it like xml, thus overcoming the limitation or DOMParser for non xhml pages.
I provided a quick, GM-oriented review at [2]. A small script is also available at [3] for illustration purposes. [1] http://developer.yahoo.com/yql/ [2] http://esquifit.blogspot.com/2008/12/yql-and-greasmonkey.html. [3] http://userscripts.org/scripts/show/39401 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/greasemonkey-users?hl=en -~----------~----~----~----~------~----~------~--~---
