revBrowser and htmltext of web pages

Phil Davis revdev at pdslabs.net
Fri Feb 15 01:33:52 EST 2008


I'm looking at a web page in revBrowser (XP in Parallels) that contains
all the info I want to capture. When my script does this:
   put revBrowserGet(tId,"htmltext")

All I get in the message box is this:
<HTML><HEAD></HEAD>
<BODY></BODY></HTML>

I'm guessing it's because the page uses JavaScript heavily. But of
course it renders perfectly in revBrowser, so it seems like I should be
able to grab it. When I look at the same page with a non-Rev web
browser, I can see the page source and all the data I wanted is there.

Can revBrowser give me the same results as a regular web browser? Am I
just missing something?

Thanks -
-- 
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net





More information about the Use-livecode mailing list