Recipe 25: Creating Website snapshots
Note
Ingredients
Content module: http://drupal.org/project/cck
Link module: http://drupal.org/project/link
CCK Extras module: http://drupal.org/project/cck_extras
This recipe makes use of the Link and CCK Extras modules to take mini-snapshots of websites. CCK Extras includes this enjoyable description in the README.txt
file:
CCK offers a bunch of swanky hooks for editing and displaying the contents of assorted fields. CCK Extras is a module that adds a few convenient (but sometimes esoteric) formatters.
Essentially, a formatter function in the CCK Extras module takes the URL from the link field as input and delivers a site screenshot as the output.
Installing modules
Install and enable the modules listed in the ingredients section.
Creating a Content Type
Create a new content type for links at
admin/content/types/add
.Name
Link
Type
link
Description
URL
Default Options
Check Published
Uncheck Promoted to the frontpage
Select Save content type. This brings...