Pull and save an image on your server from any site
This is a little script I’ve been playing with. I’m using it on my pet project GoGuide.co.za, a social bookmarking site. The plan is for the site to pull a thumbnail image of a submitted URL’s page. The script scans specified sites for the first image with a width greater than 200px. I suggest 200px as in most cases blogs and news sites will not have any images with widths greater than 200px other than in their content.
The script is simple. It grabs the HTML source of a page. Scans for HTML image tags. Grabs the path of an image and copies it to your server.
Download source - ZIP
Download source - RAR





[...] when registering a site or submitting a link. I rate this coupled with an RSS aggrigator and the image pulling script could make the basis for a good content aggregator (I have never made a content aggregator so I [...]
Cool script im playing with it now to update some of my sites with content from other sites im new to this game so I will post back how I got on and show you my results :)
Hi,
Can you make this script as rss script like wp-o-matic http://devthought.com/wp-o-matic-the-wordpress-rss-agreggator/ for wordpress?
But what I want is I want the script pull the images on rss link site and save it on my wordpress /home/joe/public_html/wp-content/uploads
Or can you customized the wp-omatic to pull the images on rss link site and save it on my wordpress /home/joe/public_html/wp-content/uploads?
I’ll pay you to customized the wp-omatic if you can do it.
Contact me on my e mail if you interested