Remote Data Extraction
Posted: Thu May 15, 2003 1:06 pm
Hello All,
I am new to this forum .... I have posted this problem on various different boards ... and with all the help im getting ... I still can't get the thing to work ... So im trying a new board.
Ok ... Now to my problem ... Im trying to write some code to automate my pricelist creation ... I own a computer reseller business and typing up a 800+ line pricelist every week is starting to get to me .... So heres what i propose.
What i need is for the script to perform the following tasks.
1. Authenticate to my dealer website ( done) thats easy.
2. Grab the code and description of each product on the page.
3. Strip the "<a href>" tags from the page.
4. Extract only the description of the product and the DLR price.
5. Add 10% to the price.
6. Spit the output onto mysite with my headers and footers.
Heres a sample of the dealer website i need the data to be extracted from.
http://www.altech.com.au/price/price_go ... p=S&type=3
Ok ... As you can see ... Its quite complex ... I need the Part Number, Description, and the RRP ... Strip the <a href> tags out of the description ... and add 10% to the RRP
Any help would be great ... as i have posted this quite a few times ... and so far came up empty.
I am new to this forum .... I have posted this problem on various different boards ... and with all the help im getting ... I still can't get the thing to work ... So im trying a new board.
Ok ... Now to my problem ... Im trying to write some code to automate my pricelist creation ... I own a computer reseller business and typing up a 800+ line pricelist every week is starting to get to me .... So heres what i propose.
What i need is for the script to perform the following tasks.
1. Authenticate to my dealer website ( done) thats easy.
2. Grab the code and description of each product on the page.
3. Strip the "<a href>" tags from the page.
4. Extract only the description of the product and the DLR price.
5. Add 10% to the price.
6. Spit the output onto mysite with my headers and footers.
Heres a sample of the dealer website i need the data to be extracted from.
http://www.altech.com.au/price/price_go ... p=S&type=3
Ok ... As you can see ... Its quite complex ... I need the Part Number, Description, and the RRP ... Strip the <a href> tags out of the description ... and add 10% to the RRP
Any help would be great ... as i have posted this quite a few times ... and so far came up empty.