Re: [RT] Learning from Greasemonkey + Platypus
Alf Eaton wrote:
> On 04 Aug 2005, at 02:56, David Huynh wrote:
>
>> XSLT-based scrapers cannot get the resulting HTML code as we can't
>> run the Javascript code ourselves. For this reason, I'd recommend
>> using Javascript-based scrapers instead. They get the final DOMs
>> that the browser has after all Javascript code has been run.
>
>
> If the Javascript-based scrapers can get the final DOM, then why
> can't Piggy Bank give the XSLT-based scrapers access to the same
> final DOM?
Yes, it's technically possible, but we'I think ll have to serialize the
DOM and then pass the resulting string to the Java-based XSLT processor.
Maybe there's a better way using Firefox's own XSLT processor...
David
Received on Thu Aug 04 2005 - 13:06:07 EDT
This archive was generated by hypermail 2.3.0
: Thu Aug 09 2012 - 16:39:18 EDT