Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #19585

OT (Probably ??) -- on Parsing a complex web page

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Mel Smith" <med_cutout_syntel@aol.com>
Newsgroups comp.lang.javascript
Subject OT (Probably ??) -- on Parsing a complex web page
Date Thu, 2 May 2013 09:54:41 -0600
Lines 37
Message-ID <aufgi5Frkj0U1@mid.individual.net> (permalink)
X-Trace individual.net QJJYN8JjE+gKBpa8ym8v6AOadkJeMcewcsxunyCstCmZTB49DS
Cancel-Lock sha1:tg2ysWTEtO/lweD4c4yL0LfTvWA=
X-Priority 3
X-MSMail-Priority Normal
X-Newsreader Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE Produced By Microsoft MimeOLE V6.00.2900.6157
X-RFC2646 Format=Flowed; Original
Xref csiph.com comp.lang.javascript:19585

Show key headers only | View raw


Hi:

    Soon, I'll be using the CURL package (in particular, the libcurl 
library) to download approx 20,000 pages with the same structure but 
different values. THe pages are each approx 64K bytes

    These values are mostly in the <tr> and then <td> elements of the second 
table in this complex page.

    Here is an example of the id of a particular <td> element:

*******************************************************************************************
id="ctl00_ContentPlaceHolder1_bindingPanel_xxxxcard1_RadGridCard_ctl00_ctl05_GECBtnExpandColumn"
*******************************************************************************************

    and I have about 20 of these <td> elements in each of these some 20K 
pages to pick out and save away in a database.

The Question:

    Is there any server-end package that can easily 'get into' the 
downloaded page and pick out the values for the <td> elements that I need ??

    Can server-side JavaScript look at these pages and pick out <td> values 
??  Altho I use JS daily building my apps, I ve never used JS on my *server* 
(I don't even no *how* to !)  -- just my own Harbour language (C-based) 
tools.

    I'm ready to start 'parsing', but its real brain-burner to get into 
doing this with my own language --- even with its strong string functions.

Thanks.

-- 
Mel Smith

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

OT (Probably ??) -- on Parsing a complex web page "Mel Smith" <med_cutout_syntel@aol.com> - 2013-05-02 09:54 -0600
  Re: OT (Probably ??) -- on Parsing a complex web page "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-05-02 18:19 +0200
    Re: OT (Probably ??) -- on Parsing a complex web page "Mel Smith" <med_cutout_syntel@aol.com> - 2013-05-02 13:39 -0600
  Re: OT (Probably ??) -- on Parsing a complex web page Scott Sauyet <scott.sauyet@gmail.com> - 2013-05-02 10:41 -0700
  Re: OT (Probably ??) -- on Parsing a complex web page Denis McMahon <denismfmcmahon@gmail.com> - 2013-05-02 19:05 +0000
    Re: OT (Probably ??) -- on Parsing a complex web page "Mel Smith" <med_cutout_syntel@aol.com> - 2013-05-02 13:41 -0600

csiph-web