You are here

function polish_services_service_links in Service links 6.2

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

Implementation of hook_service_links().

File

services/polish_services.module, line 13
Extends Service Links with Polish services.

Code

function polish_services_service_links() {
  $links = array();
  $links['_pl_wykop'] = array(
    'name' => 'Wykop',
    'description' => t('Add to Wykop'),
    'link' => 'http://www.wykop.pl/dodaj?url=<raw-encoded-url>&title=<raw-encoded-title>',
  );
  $links['_pl_blip'] = array(
    'name' => 'Blip',
    'description' => t('Add to Blip'),
    'link' => 'http://blip.pl/dashboard?body=<raw-encoded-short-url>%20--%20<raw-encoded-title>',
  );
  $links['_pl_sledzik'] = array(
    'name' => 'Sledzik',
    'description' => t('Add to Sledzik'),
    'link' => 'http://nasza-klasa.pl/sledzik?shout=<raw-encoded-short-url>%20--%20<raw-encoded-title>',
  );
  return $links;
}