ScoobyNet.com - Subaru Enthusiast Forum

ScoobyNet.com - Subaru Enthusiast Forum (https://www.scoobynet.com/)
-   Computer & Technology Related (https://www.scoobynet.com/computer-and-technology-related-34/)
-   -   help from web / programmer (https://www.scoobynet.com/computer-and-technology-related-34/535444-help-from-web-programmer.html)

ADP 11 August 2006 09:04 AM

help from web / programmer
 
Hi All,

Need to see if anyone can help.

Basically, in my job I spend loads of time logging onto web sites getting prices for computer parts/laptops/monitors etc etc. I have to log onto about 5 sites to check best prices before giving customers quotes.

So what Id like to be able to do is enter the part code into a website , press a button and for it to go off and come back telling me the various prices and stock levels from the suppliers sites.

So I guess this can be done in some form of macro or something??? if anyone can point me in a direction of how to do this, or a programme that I can tweak to do it I would realy appreciate it - Im pretty technical so hoping I might be able to do this myself!

cheers


Andy

James Neill 11 August 2006 09:23 AM

Have you tried http://www.pricerunner.co.uk/

ADP 11 August 2006 09:47 AM

sorry that wont help, these are distributor websites that the public cant view - but I want to almost write an equivilant!

Dream Weaver 11 August 2006 09:59 AM

Assuming the 5 sites are all driven by some form of database, you will need to work with them and write a script that can access all those 5 databases.

Easy enough to do, but you need the server access in turn to be able to do it.

stevencotton 11 August 2006 10:11 AM

You can automate it if you don't have the back-end access. I'd use something like WWW::Mechanize with an HTTP::Recorder proxy to generate Mechanize'd scripts and put a front end onto that, but that's non-trivial and subject to source site modification problems.

GaryK 11 August 2006 01:00 PM

well the only other way is if the sites ues query strings in the urls to return the product info but Im pretty sure yoo would have to write something bespke. You can get off the shelf 'screen scrapers' that would parse the page though.

RichB 11 August 2006 02:23 PM

How about a page with n frames where the URL of each of the sites with the query string is in each frame. This is of course assuming the searches are done on the suppliers sites using an HTTP get rather than POST.

SJ_Skyline 11 August 2006 02:29 PM

You could use something like CFHTTP in Cold Fusion or XMLHTTP in ASP to return the rendered code from each page as a text string and then rip that string up as you need.

XMLHTTP Example


All times are GMT +1. The time now is 07:21 AM.


© 2024 MH Sub I, LLC dba Internet Brands