hmmm... you could use IFRAME to load the page, some JSNI to get the
HTML from the IFRAME (you might get a security warning or even be
blocked), after you have the HTML you just use DOM support on GWT to
do the thing.

but should be much easier if you use any server side language to do
that for you

On Aug 10, 6:09 pm, lineman78 <[email protected]> wrote:
> First of all GWT is executed client side and therefore XSRF security
> should prevent you from scraping another site directly.  However, you
> can do scraping quite easily with server-side java.  PHP is also a
> server executed language, so anything you would usually do in php, you
> will do it via server side java with GWT.  There are a few different
> ways you can scrape a page in java.
>
> 1) External Libraries (JScrape, XQuery)
> 2) Parse the HTML as XML (DOM or SAX)
> 3) Regex
>
> These all require you to get the HTML page as a string which is rather
> easy (see URL.openConnection)
>
> On Aug 10, 6:48 am, Fermin <[email protected]> wrote:
>
> > Hi,
>
> > I don't found any reference to do scraping with GWT, is posible ? Like
> > CURL in php ?
>
> > Thx 4 all

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/google-web-toolkit?hl=en.

Reply via email to