I've got a little trick I need to perform..
I'd like to have someone enter a web address into a web form, and be able to take that web address, goto the website, take a screenshot of the site/window, thumbnail it (resize) then save the thumbnail somewhere.
All automatically.
taking the url to say a flat file isnt hard.. but perhaps an applescript or simular that takes the url, opens a window in safari (goes to that site) then finder takes a window shot/screen shot of that safari window, the OS then resizes/converts the image to a thumbnail, saves it somewhere, then that safari window closes off. And perhaps Safari stays open ready for the next request.
Unless someone can think of a better way? My servers are basically all Linux, with no X11... so i wonder if throwing a MAC into the mix might work this process....
ideas and thoughts are most welcome!
Ultimately the idea is that someone can enter a url in a web form (php), the server/process goes off and visits the site, thumbnails it, throw's it in a DB, then that website's thumbnail is available for viewing on yet another web page...
confused? heh
I'd like to have someone enter a web address into a web form, and be able to take that web address, goto the website, take a screenshot of the site/window, thumbnail it (resize) then save the thumbnail somewhere.
All automatically.
taking the url to say a flat file isnt hard.. but perhaps an applescript or simular that takes the url, opens a window in safari (goes to that site) then finder takes a window shot/screen shot of that safari window, the OS then resizes/converts the image to a thumbnail, saves it somewhere, then that safari window closes off. And perhaps Safari stays open ready for the next request.
Unless someone can think of a better way? My servers are basically all Linux, with no X11... so i wonder if throwing a MAC into the mix might work this process....
ideas and thoughts are most welcome!
Ultimately the idea is that someone can enter a url in a web form (php), the server/process goes off and visits the site, thumbnails it, throw's it in a DB, then that website's thumbnail is available for viewing on yet another web page...
confused? heh