You are here

function general_services_service_links in Service links 6.2

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

Implementation of hook_service_links().

File

services/general_services.module, line 13
Extends Service Links with the most known services.

Code

function general_services_service_links() {
  $links = array();
  $links['delicious'] = array(
    'name' => 'del.icio.us',
    'description' => t('Bookmark this post on del.icio.us'),
    'link' => 'http://del.icio.us/post?url=<encoded-url>&title=<encoded-title>',
  );
  $links['digg'] = array(
    'name' => 'Digg',
    'description' => t('Digg this post on digg.com'),
    'link' => 'http://digg.com/submit?phase=2&url=<encoded-url>&title=<encoded-title>',
  );
  $links['stumbleupon'] = array(
    'name' => 'StumbleUpon',
    'description' => t('Thumb this up at StumbleUpon'),
    'link' => 'http://www.stumbleupon.com/submit?url=<encoded-url>&title=<encoded-title>',
    'icon' => 'stumbleit.png',
  );
  $links['twitter'] = array(
    'name' => 'Twitter',
    'description' => t('Share this on Twitter'),
    'link' => 'http://twitter.com/share?url=<raw-encoded-short-url>&text=<raw-encoded-title>',
  );
  $links['pingthis'] = array(
    'name' => 'Ping This!',
    'link' => 'http://ping.fm/ref/?link=<encoded-url>&title=<encoded-title>&body=<encoded-teaser>',
    'description' => t('Submit to Ping.fm'),
  );
  $links['reddit'] = array(
    'name' => 'Reddit',
    'link' => 'http://reddit.com/submit?url=<encoded-url>&title=<encoded-title>',
    'description' => t('Submit this post on reddit.com'),
  );
  $links['slashdot'] = array(
    'name' => 'SlashDot',
    'link' => 'http://slashdot.org/bookmark.pl?url=<encoded-url>&title=<encoded-title>',
    'description' => t('Bookmark this post on SlashDot'),
  );
  $links['newsvine'] = array(
    'name' => 'Newsvine',
    'link' => 'http://www.newsvine.com/_tools/seed&save?u=<encoded-url>&h=<encoded-title>',
    'description' => t('Submit this post on newsvine.com'),
  );
  $links['furl'] = array(
    'name' => 'Furl',
    'link' => 'http://www.furl.net/storeIt.jsp?u=<encoded-url>&t=<encoded-title>',
    'description' => t('Submit this post on furl.net'),
  );
  $links['facebook'] = array(
    'name' => 'Facebook',
    'link' => 'http://www.facebook.com/sharer.php?u=<encoded-url>&t=<encoded-title>',
    'description' => t('Share on Facebook'),
  );
  $links['myspace'] = array(
    'name' => 'MySpace',
    'link' => 'http://www.myspace.com/index.cfm?fuseaction=postto&t=<encoded-title>&u=<encoded-url>',
    'description' => t('Share on MySpace'),
  );
  $links['google'] = array(
    'name' => 'Google',
    'link' => 'http://www.google.com/bookmarks/mark?op=add&bkmk=<encoded-url>&title=<encoded-title>',
    'description' => t('Bookmark this post on Google'),
  );
  $links['yahoo'] = array(
    'name' => 'Yahoo',
    'link' => 'http://bookmarks.yahoo.com/myresults/bookmarklet?u=<encoded-url>&t=<encoded-title>',
    'description' => t('Bookmark this post on Yahoo'),
  );
  $links['linkedin'] = array(
    'name' => 'LinkedIn',
    'link' => 'http://www.linkedin.com/shareArticle?mini=true&url=<encoded-url>&title=<encoded-title>&summary=<encoded-teaser>&source=<encoded-source>',
    'description' => t('Publish this post to LinkedIn'),
  );
  $links['technorati'] = array(
    'name' => 'Technorati',
    'link' => 'http://technorati.com/search/<encoded-url>',
    'description' => t('Search Technorati for links to this post'),
  );
  $links['technorati_favorite'] = array(
    'name' => 'Favorite on Technorati',
    'link' => 'http://technorati.com/faves?sub=addfavbtn&add=<encoded-url>',
    'description' => t('Add this post to your Technorati Favorites'),
    'icon' => 'technorati.png',
  );
  $links['icerocket'] = array(
    'name' => 'Icerocket',
    'link' => 'http://blogs.icerocket.com/search?q=<encoded-url>',
    'description' => t('Search IceRocket for links to this post'),
  );
  $links['misterwong'] = array(
    'name' => 'Mister Wong',
    'link' => 'http://www.mister-wong.com/addurl/?bm_url=<encoded-url>&bm_description=<encoded-title>',
    'description' => t('Bookmark this post on Mister Wong'),
  );
  $links['mixx'] = array(
    'name' => 'Mixx',
    'link' => 'http://www.mixx.com/submit?page_url=<encoded-url>&title=<encoded-title>',
    'description' => t('Submit this post on mixx.com'),
  );
  $links['box'] = array(
    'name' => 'Box',
    'link' => 'https://www.box.net/api/1.0/import?url=<encoded-url>&name=<encoded-title>&description=<encoded-teaser>&import_as=link',
    'description' => t('Box it!'),
  );
  $links['blinklist'] = array(
    'name' => 'Blinklist',
    'link' => 'http://www.blinklist.com/index.php?Action=Blink/addblink.php&Description=<encoded-teaser>&Url=<encoded-url>&Title=<encoded-title>&Pop=yes',
    'description' => t('Add to Blinklist'),
  );
  $links['identica'] = array(
    'name' => 'identi.ca',
    'link' => 'http://identi.ca/?action=newnotice&status_textarea=<encoded-title>+<encoded-url>',
    'description' => t('Dent this on identi.ca'),
  );
  $links['newskicks'] = array(
    'name' => 'Newskicks',
    'link' => 'http://newskicks.com/submit.php?url=<encoded-url>',
    'description' => t('Kicks this post on NewsKicks'),
  );
  $links['diigo'] = array(
    'name' => 'Diigo',
    'description' => t('Post on Diigo'),
    'link' => 'http://www.diigo.com/post?url=<encoded-url>&title=<encoded-title>&desc=<encoded-teaser>',
  );
  return $links;
}