Delicious

paul.booker - May 24, 2004 - 18:21

This module provides integration with the REST API at http://del.icio.us

It will use your cron tasks to download tags; each user with the right privilege can have one set of delicious tags and links. The administrator can create blocks that can contain links only from a given set of users, a given set of tags, or a combination of both. If enabled, nodes can be scanned for words which match del.icio.us tags and create smart-links, and if enabled, the first vocabulary term of a node can be added as a del.icio.us tag link using that term the tag.

Currently developed and maintainted by Paul Booker , thanks to the continued support of Glaxstar.

Enhanced by douggreen and CivicActions (see 5.x-1.3 release notes for more details): more themable, added a page view, added display and sort options, added hook_delicious (see example in 195401), added tagadelic support.

The new hook allows you to modify the terms or users before the query. So, in the example below, the block is changed so that when on a node page, only delicious tags that match the nodes taxonomy are displayed, and when on search page, only delicious tags that match the current search terms are displayed.

function example_delicious($op, &$items) {
  if ($op == 'tags') {
    switch (arg(0)) {
      case 'node':
        $tags = array();
        if (($nid = arg(1)) && !arg(2)) {
          $node = node_load($nid);
          foreach ($node->taxonomy as $tid => $term) {
            $tags[$term->name] = $term->name;
          }
        }
        return $tags;
      case 'search':
        $query = search_parse_query(search_get_keys());
        return $query[3];
    }
  }
}

Releases

Official releasesDateSizeLinksStatus
6.x-1.12008-Jul-2118.14 KBRecommended for 6.xThis is currently the recommended release for 6.x.
5.x-1.52008-Jul-1917.95 KBSupported for 5.xThis release is supported but is not currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
6.x-1.x-dev2008-Jul-2118.15 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
5.x-2.x-dev2008-Jul-1917.96 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
 
 

Drupal is a registered trademark of Dries Buytaert.