From: Mark D. <mar...@zn...> - 2007-02-11 18:41:33
|
Following on from Eric's pointer towards Wx::FS, I find that it does not work on my system either. This is because the wxWidgets I am using is compiled with: #define wxUSE_FS_INET 0 So anyone using the PPMs I post from time to time will be similarly affected. The setting is part of the patches included with Alien::wxWidgets. I'll check and see if I can find out why this patch is there. Regards Mark Peter Theobald wrote: > No, it does not. > It complains 'unable to open requested HTML document: http://www.google.com' for ANY url I give it. > If I download the HTML using LWP::Simple or something like it and $htmlwin->SetPage( $html) it will display the page, but all the images are the same 'broken image' icon. > > > At 11:48 AM 2/11/2007, Mark Dootson wrote: >> Does: >> >> $htmlwin->LoadPage("http://www.somewhere.something/index.html"); >> >> not work for you? >> >> >> Mark >> >> >> >> Peter Theobald wrote: >>> I am trying to have an embedded web browser in my wxperl program. >>> The most important thing is I can NOT have Javascript running because it often changes the underlying source of the page and I need to display the original page/html as it is pulled off the web site. >>> >>> I am trying to use HtmlWindow but the images are not displaying, I suspect because HtmlWindow doesn't pull anything off the Internet automatically. Parsing the HTML for img tags and downloading the images separately sounds like a bad idea, mostly because I suspect I would have to match the directory hierarchy of the web server I am pulling from and change any absolute image URLs to relative urls. >>> >>> Are there any suggestions for displaying web pages inside a wxWidgets program? Is there a better way to make HtmlWindow work as a browser, or a better widget? Is there an easy way to embed IE or Firefox in a wxWidgets frame with Javascript disabled (without disabling it for the user's "real" browser as well)? >>> >>> Thanks, >>> Peter Theobald >>> >>> >>> ------------------------------------------------------------------------- >>> Using Tomcat but need to do more? Need to support web services, security? >>> Get stuff done quickly with pre-integrated technology to make your job easier. >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>> _______________________________________________ >>> wxperl-users mailing list >>> wxp...@li... >>> https://lists.sourceforge.net/lists/listinfo/wxperl-users >> >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier. >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> wxperl-users mailing list >> wxp...@li... >> https://lists.sourceforge.net/lists/listinfo/wxperl-users > > __--=Peter Theobald=--__ > www.PeterTheobald.com > |