You are here

function spanish_services_service_links in Service links 6.2

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

Implementation of hook_service_links().

File

services/spanish_services.module, line 13
Extends Service Links with Spanish services.

Code

function spanish_services_service_links() {
  $links = array();
  $links['_es_meneame'] = array(
    'name' => 'Meneame',
    'description' => t('Add to Meneame'),
    'link' => 'http://www.meneame.net/submit.php?url=<encoded-url>',
  );
  $links['_es_latafanera'] = array(
    'name' => 'La Tafanera',
    'description' => t('Add to La Tafanera'),
    'link' => 'http://latafanera.cat/submit.php?url=<encoded-url>',
  );
  $links['_es_fresqui'] = array(
    'name' => 'Fresqui',
    'description' => t('Submit this post on tec.fresqui.com'),
    'link' => 'http://tec.fresqui.com/post?url=<encoded-url>&title=<encoded-title>',
  );
  $links['_es_barrapunto'] = array(
    'name' => 'Barrapunto',
    'description' => t('Publish this post on Barrapunto.com'),
    'link' => 'http://barrapunto.com/submit.pl?story=He+leido+en+<encoded-source>+el+articulo+<a href="<encoded-url>"><encoded-title></a>&subj=<encoded-title>',
  );
  $links['_es_tuenti'] = array(
    'name' => 'Tuenti',
    'description' => t('Share on Tuenti'),
    'link' => 'http://www.tuenti.com/share?url=<encoded-url>',
  );
  return $links;
}