I would look at oembed and LinkEmbedder, which fetch and render link "preview" information.
If you want to do this yourself, look at either the source code of those modules, or look at any HTTP agent for the fetching and some of the HTML parsers.
In reply to Re: Generate a thumbnail for a given link
by Corion
in thread Generate a thumbnail for a given link
by Matthew.S
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |