Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - extrating data from remote site
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

extrating data from remote site

 Post Reply Post Reply
Author
charon View Drop Down
Newbie
Newbie


Joined: 13 February 2003
Location: Malaysia
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote charon Quote  Post ReplyReply Direct Link To This Post Topic: extrating data from remote site
    Posted: 20 February 2003 at 2:52am

hi,

I know that there are fews number of components that we can be use for extracting data from remote sites. I'm trying to use MS Internet Transfer control or XMLHTTP together with string functions to grab the "data" i want, but still fail to get it.

The data i want is kind of dynamic.I'm try to use regexp, but hve problem in matching character, always invalid. the data i want is look like:

<TR ALIGN=RIGHT>
<TD ALIGN=LEFT><a href="/marketwatch/charts/chartlist.asp?stock_code=1224~INTRIA&p1=2.38&p2=2.39&p3=2.4&p4=2.39&p5=2.4&p6=0.02&p7=0.84&p8=67&p9=13.433">SPSETIA</A></TD><TD ALIGN=LEFT>8664</TD><TD>2.39</TD><TD>2.40</TD><TD>2.39</TD><TD>2.40</TD><TD><FONT COLOR=#0000FF>0.02</FONT></TD><TD>0.8%</TD><TD>67</TD><TD>2.40/6</TD><TD>2.41/17</TD></TR>
is there any others way??
Please advice!

Back to Top
MorningZ View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
Post Options Post Options   Thanks (0) Thanks(0)   Quote MorningZ Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2003 at 8:20am
what part of it is static and which part is dynamic?
Contribute to the working anarchy we fondly call the Internet
Back to Top
charon View Drop Down
Newbie
Newbie


Joined: 13 February 2003
Location: Malaysia
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote charon Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2003 at 8:20pm

THis part is static:

<TR ALIGN=RIGHT>
<TD ALIGN=LEFT><a href="/marketwatch/charts/chartlist.asp?stock_code=1224~INTRIA

THis part is dynamic:

&p1=2.38&p2=2.39&p3=2.4&p4=2.39&p5=2.4&p6=0.02&p7=0.84&p8=67&p9=13.433">SPSETIA</A></TD><TD ALIGN=LEFT>8664</TD><TD>2.39</TD><TD>2.40</TD><TD>2.39</TD><TD>2.40</TD><TD><FONT COLOR=#0000FF>0.02</FONT></TD><TD>0.8%</TD><TD>67</TD><TD>2.40/6</TD><TD>2.41/17

This part is static:

</TD></TR>

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.