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 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 <linema...@gmail.com> 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 <fermin.h...@gmail.com> 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 google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.