Article View: borland.public.cppbuilder.internet.web
Article #1284Re: get text from javascript?
From: bcb
Date: Fri, 25 Feb 2005 05:36
Date: Fri, 25 Feb 2005 05:36
29 lines
2245 bytes
2245 bytes
Remy and Hans, thanks for taking your time to help. Working with a TStringList is a good idea. I now see exactly how the site code works. Got lucky the first try when trying to match the site's text with html code, everything matched but then lead myself astray. I was using IE's view source menu command without actually refreshing the page before each view of the source, the countDownInterval changes with every refresh, duh! ;) . My knowledge of html is very minute, took a while to understand the whole page's code. Thanks again for your time :) "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:421ea65a@newsgroups.borland.com... > > "bcb" <noemail@sorry.com> wrote in message > news:421ea351$1@newsgroups.borland.com... > > > I just need to get the first instance, then I can continue > > the countdown timer using a TTimer. > > Just load the script/html into a TStringList and then locate and parse out > the lines that declare the countDownInterval and countDownTime variables. > > > Gambit > >
Technical Details
Message-ID:
<421eb960@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<421d5299$1@newsgroups.borland.com> <421d944d@newsgroups.borland.com> <421e225a$1@newsgroups.borland.com> <421e56d9$1@newsgroups.borland.com> <421e6cba$1@newsgroups.borland.com> <421e7228$1@newsgroups.borland.com> <421e86d1$1@newsgroups.borland.com> <421e93ed$1@newsgroups.borland.com> <421ea351$1@newsgroups.borland.com> <421ea65a@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,f36d577767323824 X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "bcb" <noemail@sorry.com> Newsgroups: borland.public.cppbuilder.internet.web References: <421d5299$1@newsgroups.borland.com> <421d944d@newsgroups.borland.com> <421e225a$1@newsgroups.borland.com> <421e56d9$1@newsgroups.borland.com> <421e6cba$1@newsgroups.borland.com> <421e7228$1@newsgroups.borland.com> <421e86d1$1@newsgroups.borland.com> <421e93ed$1@newsgroups.borland.com> <421ea351$1@newsgroups.borland.com> <421ea65a@newsgroups.borland.com> Subject: Re: get text from javascript? Date: Fri, 25 Feb 2005 00:36:36 -0500 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 24.184.197.61 Message-ID: <421eb960@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1109309792 24.184.197.61 (24 Feb 2005 21:36:32 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail