The idea is very simple:
Imagine a simple white page with a form with a single input tag ( like google homepage ). When I insert a link of a blogpost in this form, then the javascript-crawler search the first image in the webpage of the blogpost ( through ajax ), show it in the white page and save it on my server.
This crawler works like Digg and Facebook-wall.
what function I have to use for this crawler ?