Remote Data Extraction

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
gobbles
Forum Newbie
Posts: 2
Joined: Thu May 15, 2003 1:06 pm

Remote Data Extraction

Post 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.
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post 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.
lostboy
Forum Contributor
Posts: 329
Joined: Mon Dec 30, 2002 8:12 pm
Location: toronto,canada

Post 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
gobbles
Forum Newbie
Posts: 2
Joined: Thu May 15, 2003 1:06 pm

Post 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 ...
Post Reply