Scripts
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementScripts

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 August 4th, 2006, 10:58 AM
e-dard e-dard is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 1 e-dard User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 54 sec
Reputation Power: 0
A Product Grabbing Script - Where do i start?

Hi all,

this is my first post and although have used this website before have never jumped into the forums


I have a degree in AI / computer science and am a strong programmer in several languages although web based scripting languages are not my strong points (except for javascript)

I can however learn most languages quickly.

I need a script that will either work perfectly (unlikely i know!) or can be customised by me to do what i want.

I am in the process of designing a website that will pull together products (the same product) from various electronic websites and dynamically update the stock status. I would like to be able to enter url's for the product page and let the script periodically read the url and update say an sql database on my site.

I have never used anything like this before and so have tried searching google for scripts out there but the only ones i could find tended to revolve around the XML affiliate feeds that big shops offer (amazon etc).

However, not all the retailers use these feeds so i need something that can just pull the prices / stock status etc from the pages i choose.

So to sum up,

Can anyone think of any scripts that would be ideal for this pupose? preferably free and customisable.

What language will be best to do this? PHP?

Is this going to be a relativly simple process or quite complex?

Also, while i am here - can someone recommend a free system that can be used to create new users / allow each user a 'my account' space where they can update details etc... a bit like you get on forum software. Essentially just for a member area. I presume there are several out there?

Hope i complied with the forum rules here,

Thanks a lot,

edd

Reply With Quote
  #2  
Old August 18th, 2006, 10:52 PM
tj_nt tj_nt is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Feb 2004
Posts: 1,596 tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 1 Day 11 h 55 sec
Reputation Power: 616
For the sites/URLs that don't have feeds you "could" write a shell script that would "wget" the pages... then using your language of choice...write a script that strips everything but the content you're after from the saved page and output it as a CSV text file...then one final script to update the sql DB from the text file...

use a cron job to run the scripts at whatever time interval you want.

I'd use PHP and MYsql... it is far and away the most popular open-source server side software


to a fluent programmer this probably seem clunky but it works for me..

good luck

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementScripts > A Product Grabbing Script - Where do i start?


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 6 hosted by Hostway