You are here

basque_services.module in Service links 6.2

Same filename and directory in other branches
  1. 7.2 services/basque_services.module

Extends Service Links with Basque services.

@author Aiaraldea

File

services/basque_services.module
View source
<?php

/**
 * @file
 * Extends Service Links with Basque services.
 * 
 * @author Aiaraldea
 */

/**
 * Implementation of hook_service_links().
 */
function basque_services_service_links() {
  $links = array();
  $links['_eu_zabaldu'] = array(
    'name' => 'Zabaldu',
    'description' => t('Add a new on Zabaldu'),
    'link' => 'http://zabaldu.com/api/zabaldu_edo_bozkatu.php?url=<encoded-url>&title=<encoded-title>',
  );
  $links['_eu_bildu'] = array(
    'name' => 'Bildu',
    'description' => t('Bookmark this post on Bildu'),
    'link' => 'http://www.bildu.net/bookmarks/bildu?action=add&address=<encoded-url>&title=<encoded-title>',
  );
  $links['_eu_aupatu'] = array(
    'name' => 'Aupatu',
    'description' => t('Add a new on Aupatu'),
    'link' => 'http://www.aupatu.com/eu/submit.php?url=<encoded-url>&title=<encoded-title>',
  );
  return $links;
}

Functions

Namesort descending Description
basque_services_service_links Implementation of hook_service_links().