it is possible but you will be blocked or get a security warning if
you access a URL outside your site. You might wonder 'why would I
scrap my own site?', well ask my boss that want to index all pages
from our intranet.
If you use this code to get the content
public native String
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
nope, thats not possible - u cannot access JS namespace of an iframe,
so serverside is the only way but you can bring up results into the
client though
On 12 Aug., 14:35, Henrique Viecili viec...@gmail.com wrote:
hmmm... you could use IFRAME to load the page, some JSNI to get the
HTML from the
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 google-web-tool...@googlegroups.com.
To unsubscribe
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