| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Do you really have to read the prices from the HTML pages? That company probably pulls the prices out of a database--can't you conect to their database to pull the same information?
Slava
At 05:22 PM 4/15/2008, Mark Wheeler wrote:
http://lists.apple.com/mailman/options/web-dev/email@hiddenHi,
I've come across a chore that I'm not sure how to work out. Our
business uses a third party company to get prices for our site. These
prices can change frequently. But, our partner site has to contact
yet ANOTHER site to update it's pricing database so it will feed us
our prices. Yeah, I know - it's crazy, but that's the way it is, so
we deal with it. Bottom line is, I need to go and "check" the prices
of many products on our parter site so I can get the "real" current
price. That takes a lot of time. So here's what I thought to do, if
possible. Can a PHP script, when given the correct "starting" page,
automatically click through the 2 pages - parse the page somehow -
necessary to update the prices? It's just as if I were doing it, but
the script is the "browser" instead of me. I'm thinking this can be
called by a cron job. Again, I'm aware that this is an odd question
and circumstance and I 'm not sure I'm explaining myself clearly. But
if possible, this would be a REAL time saver. Any help is greatly
appreciated.
Thanks,
Mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden
This email sent to email@hidden
_______________________________________________ Do not post admin requests to the list. They will be ignored. Web-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/web-dev/email@hidden This email sent to email@hidden
| References: | |
| >How to browse through pages automatically (From: Mark Wheeler <email@hidden>) | |
| >Re: How to browse through pages automatically (From: Slava Paperno <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.