How to get the s.coop

1. Copy and paste any long website address into the box on the front page. Press 'shorten' and then you can copy the new s.coop short link. You can also share the link with your friends on Twitter, Facebook, LinkedIn or email.

bookmark new

2. Add this bookmarklet to your bookmarks' bar for easy access. When you're on a site with a long address just click the link and it will automatically create a short link. See below for more details.

How to share

You can share your s.coop link anywhere — be it websites or even publications. Your use of the address will help raise awareness of the dotCoop address and will further highlight the ethical credentials of co-operatives.

To make it even easier, once you've created your link you can immediately share via Twitter, Facebook, Friend Feed or even email. For those Twitter/Facebook power users that use dedicated desktop applications such as Tweetie we have even provided a quick-link for you. For further power user tricks, see Advanced access below.

Keep track of statistics

We have a dedicated page that shows how well your links are performing. All you need to do is add + to the end of any link. Try it: http://s.coop/stats+

Bookmarklet

No matter where you are on the web you can create a short link straight away by using the special bookmarklet. Simply drag the bookmarklet to your bookmarks bar and click. It will automatically s.coop the website address, and output a short link for you to use.

Advanced access

s.coop has easy access to its API for developers who want that bit more.

To create a s.coop URL immediately you simply query our servers via an HTTP request and a standard JSON, XML or Simple formatted reply will contain the shortened URL.

Example:

http://s.coop/devapi.php?action=shorturl&url=WEBADDRESS&format=RETURN

Simply change WEBADDRESS to the URL you want shortening

And change RETURN to either json, xml or simple

Add us to TweetDeck

For Twitter power-users, you can take advantage of the API too. Make sure you have the latest version by visiting: www.tweetdeck.com. Simply copy this URL into your custom URL settings under services (go to: settings -> services -> select the drop down menu to choose a shorten URL service -> choose 'other'):

http://s.coop/devapi.php?action=shorturl&url=%@&format=simple

Once you have pasted in the above URL, click save settings. Your URL will now automatically shorten when typing in TweetDeck.

Tweetie integration

Tweetie users can also add us. Simply copy this URL into your custom URL settings (accounts -> settings -> url shortening -> custom):

http://s.coop/devapi.php?action=shorturl&url=%@&format=simple

Drupal integration

We support any Drupal-based sites through the Twitter module. You will need to install the module and then edit one line of code to activate short links through s.coop. Currently the module supports TinyURL only, so to change to this to the s.coop service download the plugin and open the file "twitter.module" in a text edit or web coding program (it is important to not open this in Microsoft Word or similar wordprocessors).

Browse down to line 150, which shows:

$response = drupal_http_request("http://tinyurl.com/api-create.php?url=" . $url);

Then all you need to is replace that line in full with:

$response = drupal_http_request("http://s.coop/devapi.php?action=shorturl&format=simple&url=". $url);

Alternatively, if you do not have a text edit program you can download changed the file here: http://s.coop/twittermod and upload the new file to your server replacing the older version. (Note: This file has only been tested with version 6.x-2.6.)

Please ensure you thoroughly test any changes you make to any software. Unfortunately we accept no liability if things go wrong, but please speak to us and we'll try to get you set up with s.coop. We will add extra details here when any other applications support custom URL shortening.