Page 1 of 1

Remote Data Extraction

Posted: Thu May 15, 2003 1:06 pm
by gobbles
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.

Posted: Thu May 15, 2003 1:21 pm
by patrikG
Surely you don't expect anyone here to do the coding for you?

If you have specific problems, I am sure there are plenty of people to help here.

If you don't want to do the coding, there are plenty eCommerce-packages around, some hosts are actually offering them included in a hosting-package-deal.

Posted: Thu May 15, 2003 1:29 pm
by lostboy
sounds like an ideal case for xml to me...but it can be written in php...but you may have to pay to get someone to play

Posted: Thu May 15, 2003 1:47 pm
by gobbles
No i dont expect the coding to be done for me ... Im not going to learn anything if thats done ... Im just asking for a point in the right direction ...