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" 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: 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 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 and then elements of the second table in this complex page. Here is an example of the id of a particular element: ******************************************************************************************* id="ctl00_ContentPlaceHolder1_bindingPanel_xxxxcard1_RadGridCard_ctl00_ctl05_GECBtnExpandColumn" ******************************************************************************************* and I have about 20 of these 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 elements that I need ?? Can server-side JavaScript look at these pages and pick out 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