Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

help from web / programmer

Thread Tools
 
Search this Thread
 
Old 11 August 2006, 09:04 AM
  #1  
ADP
Scooby Regular
Thread Starter
 
ADP's Avatar
 
Join Date: Apr 2001
Posts: 3,823
Likes: 0
Received 1 Like on 1 Post
Default 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
Old 11 August 2006, 09:23 AM
  #2  
James Neill
Scooby Senior
iTrader: (1)
 
James Neill's Avatar
 
Join Date: Apr 1999
Posts: 2,889
Likes: 0
Received 0 Likes on 0 Posts
Default

Have you tried http://www.pricerunner.co.uk/
Old 11 August 2006, 09:47 AM
  #3  
ADP
Scooby Regular
Thread Starter
 
ADP's Avatar
 
Join Date: Apr 2001
Posts: 3,823
Likes: 0
Received 1 Like on 1 Post
Default

sorry that wont help, these are distributor websites that the public cant view - but I want to almost write an equivilant!
Old 11 August 2006, 09:59 AM
  #4  
Dream Weaver
Scooby Regular
 
Dream Weaver's Avatar
 
Join Date: Feb 2000
Location: Lancashire
Posts: 9,844
Received 0 Likes on 0 Posts
Default

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.
Old 11 August 2006, 10:11 AM
  #5  
stevencotton
Scooby Regular
 
stevencotton's Avatar
 
Join Date: Jan 2001
Location: behind twin turbos
Posts: 2,710
Likes: 0
Received 1 Like on 1 Post
Default

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.
Old 11 August 2006, 01:00 PM
  #6  
GaryK
Scooby Regular
 
GaryK's Avatar
 
Join Date: Sep 1999
Location: Bedfordshire
Posts: 4,037
Likes: 0
Received 0 Likes on 0 Posts
Default

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.
Old 11 August 2006, 02:23 PM
  #7  
RichB
Scooby Regular
 
RichB's Avatar
 
Join Date: Apr 1999
Location: Bore Knee Muff
Posts: 3,666
Likes: 0
Received 0 Likes on 0 Posts
Default

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.
Old 11 August 2006, 02:29 PM
  #8  
SJ_Skyline
Scooby Senior
 
SJ_Skyline's Avatar
 
Join Date: Apr 2002
Location: Limbo
Posts: 21,922
Likes: 0
Received 1 Like on 1 Post
Default

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
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Rbon91
ScoobyNet General
49
21 November 2018 03:23 PM
south_scoob
ScoobyNet General
22
03 October 2015 01:05 PM
oilman
Trader Announcements
15
01 October 2015 11:55 AM
Nick_Cat
Computer & Technology Related
2
26 September 2015 08:00 AM
Alan Jeffery
Non Scooby Related
1
13 September 2015 01:21 PM



Quick Reply: help from web / programmer



All times are GMT +1. The time now is 05:24 PM.