You are here

function basque_services_service_links in Service links 6.2

Same name and namespace in other branches
  1. 7.2 services/basque_services.module \basque_services_service_links()

Implementation of hook_service_links().

File

services/basque_services.module, line 13
Extends Service Links with Basque services.

Code

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