Re: [twsocket] TGpHTTPProxy and Banner in footer

2006-01-21 Thread scanctrl
Hello Francois,

TGpHTTPProxy do not use Banner, is set only a blank.
Banner is send to StartConnection (ICS) on Header HTTP :

/* WSocketS.pas, TWSocketClient */
procedure TWSocketClient.StartConnection;
begin
if Length(FBanner)  0 then
SendStr(FBanner + FLineEnd);
end;

is this possible to modify it to be at the foot
of the page ?

Regards

Saturday, January 21, 2006, 10:30:05 AM, you wrote:
  I use the component TGpHTTPProxy (based TWSocketServer)
  and I will wish to know if it is possible to force sends
  it of an additional code HTML to the Web pages to consult
  (like Banner but at the foot of the page or Header HTTP)

FP I don't know the details for this component. Probably the author will
FP answer: he subscribed to this list.

  PS: Sorry for my bad english :)
FP No problem !








___ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Re: [twsocket] TGpHTTPProxy and Banner in footer

2006-01-21 Thread scanctrl
Re:

Ok, howto place my code to analyze the HTML ?
and how to make to send my additional string to browser ?

Thanks

FP Defenitely not.
FP Somehow you have to scan the data passing thru the proxy, find out where
FP HTML documents are, parse the HTML to search for the end (that is /BODY
FP tag), then insert your HTML before it.








___ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Re: [twsocket] TGpHTTPProxy and Banner in footer

2006-01-21 Thread scanctrl
Hello Francois,

Good, I found procedure and modified for detect '/body'
and send my string :)
(en français : sa fonctionne)

Thank's All !


Saturday, January 21, 2006, 12:50:55 PM, you wrote:
 Ok, howto place my code to analyze the HTML ?
 and how to make to send my additional string to browser ?

FP You have to study how the GpHTTPProxy component work, or wait until his
FP author read your message.

 Jazorsoft has a free/open source HTML parser.
 Not sure about the URL but I
 downloaded from torry.net.

FP I don't think he need a complete HTML parser since he is only interested by
FP the end of document. A simple search for /BODY is probably enough.







___ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be