Social Relevance

March 20th, 2009 by Cole Thorsen

Social Relevance

Social Relevance is a bookmarking app that shows social bookmarking sites relevant to the current user of your site. This allows users to easily share your content socially the way they choose.

This app works by using an information leak exposed by CSS and initially introduced for use in this manner by Aza Raskin. It uses the visited link option to identify links your users have visited, then shows them options based on those links. If your users visit Digg, it gives them the option to Digg your page.

This app is based on the concept and code initially introduced in Aza’s post How to Detect the Social Sites Your Visitors Use. Without his work and base code this could have never been completed.

What does it look like?


The plugin by default displays 6 social bookmarking sites. It displays all sites found in the users history (even if there are more than 6) and fills the remainder with defaults. If the user does not have any social bookmarking sites in their history it will display 6 popular defaults. You can change the default settings by editing the variables in the javascript file.

what sites are checked?

New in 1.01


Originals from 1.0


How do I use it?

Using the plugin is easy. Just insert the supplied javascript into the footer of your page:

<script type="text/javascript" src="/js/socialRelevance-1.01.min.js"></script>

Then add the an element with the Social Relevance ID value wherever you would like the bookmarklets to show up. (it does not have to be a div, it could be a paragraph tag or a span tag, whatever you like)

<div id="srSocialRelevance"></div>

Finally style it the way you like. Here is some example styling that is included with the download to get you started.

.srLink {
	float:left;
	width:150px;
	height:16px;
	padding:10px 10px 0 0;
}

.srLink a {
	display:block;
}

.srLink img {
	float:left;
	padding: 0 5px 2px 2px;
}

Download

Social Relevance 1.01 (64kb) (added functionality for Design Moo)
Social Relevance 1.0 (64kb)

Tags: , , , , ,

Share this page


6 Responses to “Social Relevance”

  1. Mike Almond says:

    This is a useful tool to allow users to share the content the ways they want to. Good job!

  2. Dave Kramer says:

    Nice work! Clean, useful, and easy to implement!

  3. GarykPatton says:

    Hi. I like the way you write. Will you post some more articles?

    • test says:

      yep .. i agree

    • Cole Thorsen says:

      Thanks for the feedback. I will be trying to post an article a week (on Fridays) on various web related topics from design to development. There will also be apps like this one released from time to time as well. For releases of new articles try subscribing to our RSS feed or following me on Twitter.

  4. CrisBetewsky says:

    You know, I don’t read blogs. But yours is really worth beeing read.

Leave a Reply

Get in touch…

Mailing Address

201-66 Bay St. S
Hamilton, Ontario L8P 4Z6

Phone Number

519.933.9505

Satellite Office

565 Proudfoot Lane
London, Ontario N6H 0A1

Have a general comment or suggestion? Find us on: Get Satisfaction

close