Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 1st, 2001, 08:46 AM
Monster Monster is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: London
Posts: 7 Monster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Monster
Does anyone know how to do this..

Hi,

Basically here is the scenario:

A browser wants to find a cheap bike on the internet. He goes to a website and fills in there form with all the required criteria. When pressing submit the form activates a perl spider which goes of and searches the web for the cheapest price for the bike and brings the results back to the website.

As you can see it is very complicated but any help would be gratefully.


Reply With Quote
  #2  
Old May 1st, 2001, 11:48 AM
dsb dsb is offline
PerlGuy
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2001
Posts: 714 dsb User rank is Sergeant Major (2000 - 5000 Reputation Level)dsb User rank is Sergeant Major (2000 - 5000 Reputation Level)dsb User rank is Sergeant Major (2000 - 5000 Reputation Level)dsb User rank is Sergeant Major (2000 - 5000 Reputation Level)dsb User rank is Sergeant Major (2000 - 5000 Reputation Level)dsb User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 15 h 44 m 20 sec
Reputation Power: 36
Send a message via AIM to dsb
He can go to http://www.clickthebutton.com and download their software.

Seriously though, I had a friend who was trying to duplicate ClicktheButton.com's software but couldn't do it. Turns out they have a deal with many of the shopping sites giving them access to their databases and pricing information.

You could of course build a query string and tack it onto a url, but there's no guarantee that you'll be able to find the price the same way for every given page.
__________________
- dsb -
Perl Guy

Reply With Quote
  #3  
Old May 2nd, 2001, 07:04 AM
Monster Monster is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: London
Posts: 7 Monster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Monster
Thanks for your help

Thanks for your suggestion, but i need an English version that can run of our server which clickthebutton.com doesn't.


Reply With Quote
  #4  
Old May 4th, 2001, 04:18 AM
walshs walshs is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Posts: 112 walshs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
You Could Use LWP

The only way you can get this to work without having direct access to the database of other companies is by setting the spider to search certain sites (criteria and URL etc you will have to set for each site) , then bring back the results and strip out the prices (using regular expressions) and display them on your site , but this could get quite complicated because the criteria and getting the price from the reuslts will be diffrent for every site.

Clickbutton dont search the whole net just some partner networks which they must have ablity to get data from their backend. I have done stuff like this to get prices but only off one site , so for mutiple it is just a little more complicated

But beacuse you will be stripping the price out of HTML if the other company changes its desgin or search vars you are in trouble

I have just had a look at shopsmart.co.uk and i dont think they are using a spider i think and i could be very wrong here that they have a dbase of which is updated or they link to other db's you could of course do the search on Shopsmart and display the reuslts on your pahe just a little manioulation needed with perl, but you will need permission from Shopsmat because they would notice the traffic.

Waseem

waseem
__________________
World Cup Football (Soccer) Forums
http://www.todayinsoccer.com

Reply With Quote
  #5  
Old May 8th, 2001, 03:52 AM
Monster Monster is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: London
Posts: 7 Monster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Monster
Thanks for the help

Thanks for your help Waseem. I always knew it was going to be a complicated project. Maybe i should go the db way as it sounds lot more easier.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > Does anyone know who to do this


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT