delicious-1.png

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.

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];
    }
  }
}

Downloads

Recommended releases

Version Downloads Date Links
6.x-1.2 tar.gz (20.46 KB) | zip (24.22 KB) 2009-Jan-28 Notes

Development releases

Version Downloads Date Links
6.x-1.x-dev tar.gz (22.22 KB) | zip (29.24 KB) 2011-Feb-25 Notes

Project Information


Maintainers for Delicious

  • paulbooker - 12 commits
    last: 4 years ago, first: 5 years ago
  • douggreen - 23 commits
    last: 4 years ago, first: 5 years ago
  • eaton - 1 commit
    last: 6 years ago, first: 6 years ago

Issues for Delicious

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants
nobody click here