🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1627

Re: TCppWebBrowser and Framed HTML Pages

#1627
From: Saulo I. Regis
Date: Thu, 04 Nov 2004 23:35
58 lines
3027 bytes
Hi Remy,

Your code seems to work great!

All frames are being retrieved BUT it fails to retrieve the current HTML
code of the "main" frame!

May be it has to do with its content and how to deal with it?

The "main" frame content starts with a link to a CSS file (see bellow)

***************************************
<title>estatisticas</title>

<link rel="stylesheet" href="index/styles.css" type="text/css">

<STYLE type=text/css>BODY {

 CROLLBAR-ARROW-COLOR: #FFFFFF; SCROLLBAR-TRACK-COLOR: #9999cc;

 SCROLLBAR-BASE-COLOR: #666699; scrollbar-dark-shadow-color: #765C47

}

</STYLE>

****************************************

Just after that a TABLE is defined and two FLASH MOVIES are inserted on the
first row with the html code bellow

******************************

            <div align="center"><object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
b#version=5,0,0,0" width="236" height="62" align="middle">
                <param name=movie value="../imagens/banners/anuncie.swf">
                <param name=quality value=high>
                <embed src="../imagens/banners/anuncie.swf" quality=high
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
Version=ShockwaveFlash" type="application/x-shockwave-flash" width="236"
height="62" align="middle">
                </embed>
              </object>
*******************************

and after that the content goes "normal" as texts inside the Table's cols
and rows!

I wonder if the existence of FLASH MOVIES would affect the way I need to
retrieve this HTML code using the OLE interfaces.

As I cannot predict the kind of web sites (and theirs contents) that will be
navigated and retrieved, may be it'll be better to just retrieve the URLs of
each frame content and use INDY to GET it?

Saulo
Technical Details
Message-ID: <418abe49@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed.wirehub.nl!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <418954e8@newsgroups.borland.com> <41896e7a$1@newsgroups.borland.com> <418972c3$1@newsgroups.borland.com> <4189803d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,2f5b16c00db0b7f3
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Saulo I. Regis" <saulo@password.info>
From: "Saulo I. Regis" <saulo@password.info>
Newsgroups: borland.public.cppbuilder.internet.web
References: <418954e8@newsgroups.borland.com> <41896e7a$1@newsgroups.borland.com> <418972c3$1@newsgroups.borland.com> <4189803d$1@newsgroups.borland.com>
Subject: Re: TCppWebBrowser and Framed HTML Pages
Date: Thu, 4 Nov 2004 21:35:14 -0200
Lines: 60
Organization: Password Informatica Ltda
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 200.215.24.7
Message-ID: <418abe49@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1099611721 200.215.24.7 (4 Nov 2004 15:42:01 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed.wirehub.nl!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail