<?php
// $Id: general_services.module,v 1.1.2.14 2010/09/26 10:49:31 thecrow Exp $

/**
 * @file
 * Services most used and supported from the start by Service Links module
 */

/**
 * Implementation of hook_service_links().
 */
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/home/?status=<encoded-short-url>+--+<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['propeller'] = array(
    'name' => 'Propeller',
    'link' => 'http://www.propeller.com/submit/?U=<encoded-url>&T=<encoded-title>',
    'description' => t('Submit to Propeller.'),
  );
  $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['magnoliacom'] = array(
    'name' => 'Magnoliacom',
    'link' => 'http://ma.gnolia.com/bookmarklet/add?url=<encoded-url>&title=<encoded-title>',
    'description' => t('Submit this post on ma.gnolia.com.'),
  );
  $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['buzz'] = array(
    'name' => 'Buzz Up!',
    'link' => 'http://buzz.yahoo.com/buzz?targetUrl=<encoded-url>&headline=<encoded-title>&summary=<encoded-teaser>',
    'description' => t('Buzz up this post on Yahoo! Buzz.'),
  );
  $links['linkedin'] = array(
    'name' => 'LinkedIn',
    'link' => 'http://www.linkedin.com/shareArticle?mini=true&url=<encoded-url>&title=<encoded-title>&summary=<encoded-teaser>&source=<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['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['google_buzz'] = array(
   'name' => 'Google Buzz',
   'link' => 'http://www.google.com/buzz/post?url=<encoded-url>',
   'description' => t('Buzz this post on Google.'),
  );
  $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.'),
  );

  return $links;
}
