Just wondered if anybody knows of a Drupal implementation of the "Share This" system. There's a Wordpress module currently out, and uses the Prototype JavaScript library.

An example of it in action can be seen at the end of posts on this blog.

If there's not one around, anybody fancy writing it? :)

Comments

agentrickard’s picture

budda’s picture

The "Share This" Project is intended to replace the ugly icon buffet approach that Service_links produces on each node.

Check it out in action on http://alexking.org/blog/2007/02/14/logitech-mx-revolution post.

--
Ixis (UK) providing Drupal consultancy and Drupal theme design.

agentrickard’s picture

Then it should probably piggyback on the work already done by Service Links. It might only require new theming to work right now.

--
http://ken.blufftontoday.com/
http://new.savannahnow.com/user/2
Search first, ask good questions later.

Rob T’s picture

Wow to the "Share This"...

I also love your term "ugly icon buffet". i don't think I could do a better job of explaining the appearance of Service_links in any fewer words.

agentrickard’s picture

I would agree. I misunderstood the original post to be from a new Drupaler who hadn't done any research. Now I'm just trying to promote best practice development.

From a resource standpoint, it looks like Service Links has done all the hard work. You might simpy try editing this function to change the output:

function theme_service_links_node_format($links) {
  return '<div class="service-links"><div class="service-label">'. t('Bookmark/Search this post with: ') .'</div>'. theme('links', $links) .'</div>';
}

Adding JavaScript/AJAX goodness might make ServiceLinks mimic the UI of Share This.

You can even use theme override functions so that you won't have to hack the module.

http://drupal.org/node/55126

--
http://ken.blufftontoday.com/
http://new.savannahnow.com/user/2
Search first, ask good questions later.

garg_art’s picture

How can we assure visitors to our site that this is not harvesting emails? Any ideas would be highly appreciated.

parajeff’s picture

The Share This plugin for Wordpress actually combines the function found in Drupal in the Service Links module with an "email this" function such as the Forward or Send modules provide. Share This just looks a lot better and takes up a lot less space on the page. Alex even devised an icon similar to the now-standard RSS Feed icon and the OPML icon.

Share This is an Ajax popup from a single page link, with a tabbed interface that switches between a brief fill-in-the-blanks email this page to a friend, or an interface for adding the page to several popular social services such as Del.icio.us, Digg, Technorati Favorites, Facebook, etc. If Javascript is turned off by a user, then it brings up a separate form page to fill in the info, degrading neatly.

Anyone working on porting this over?

SubWolf’s picture

Yes, right now.

---
Santa Cruz Tech | "... Just Below My Skin, I'm Screamin'..."

parajeff’s picture

Glad to hear that "Share This!" is being ported over to Drupal. Is it going to be entered into the project listings here at Drupal.org?

elvis2’s picture

Subscribing.

SubWolf - any progress on this? Would a bounty speed things up?

dharamgollapudi’s picture

Subscribing....

Sentiment’s picture

Subscribing.

mchohan’s picture

Hi Peeps,

I'm currently testing and finishing this off for Drupal 5. It works like the version on Wordpress and uses Jquery instead. If you have any questions feel free to let me know.
Thanks.
Mitesh.

elvis2’s picture

Please check your hotmail, just emailed you.

Thanks

dito169’s picture

subscribing..

do drop me the link, would love to beta-test the module when its ready.

goldentoque’s picture

Subscribed...

mr.j’s picture

...subscription

elvis2’s picture

I am not sure why mchohan didn't post anything here, maybe to not step on anybody's toes, but he is working on this module and has a bounty for it.

http://drupal.org/node/170892

I will contribute some money this evening. Here is what he sent me:
Bounty link (chipin) is here: http://mitesh.chipin.com/share-this

Let's see how long it takes to get the bounty up to $400. I say the bounty can be met in 5 working days. Let's see :)

mchohan’s picture

hi,
I've added the share this module to my preview site.
Please see link for development so far: http://www.toastbox.co.uk/?q=node/1

Any questions let me know.
Thanks.
Mitesh.

snowball43’s picture

Try this:
http://drupal.org/project/share

This uses Service Links and Forward modules, to create the Share This look (http://alexking.org/blog/2006/12/15/share-this-131).

greenSkin’s picture

Share module now supports the Share This. Check it out and provide feedback.

NikLP’s picture

Wow!

I came across the original (WP) Share This setup today - I thought to myself, "that would be cool, if only the service links module worked like that, I would put it on my new site". One google later, I am at this page. Reading to the bottom, I find myself at the share module page. Development version released: TODAY. Stunning.

Drupal development really *does* move fast! :p

Well done!

-------
Kineta Systems - Web Development in Nottingham

kylehase’s picture

There's now a new module specifically for "sharethis" for D6+.
http://drupal.org/project/sharethis

Duplika’s picture

I prefer http://drupal.org/project/addtoany for this.
--
Duplika | Web Hosting

jwarner’s picture

And if I had read this post sooner, I would have saved 3-4 hours of searching and attempting ugly hacks to get Share and ShareThis working the way I wanted them to. I cast my vote for http://drupal.org/project/addtoany

julie.metivier’s picture

I lost my time to have the "Share this" module working fine to finally realise I was not able to insert the code provided by "Share this" in this module!.

An advice for those still looking for a module try http://drupal.org/project/addtoany instead of "share this"

markconroy’s picture

I've tried and tried and tried and tried getting ShareThis to do what it should quite easily do, but to no avail, then stumbled upon this page with the ADDTOANY suggestion - it works seemlessly, such a handy piece of work.

============

Drupal Core Maintainer for "Out of the Box" Initiative
Annertech - Web Agency of the Year.

Nr. 18’s picture

Real nice module, and almost D7 ready!

It's a shame that it does not take the teaser text and image of the node to publish to facebook though

mattaai4sp’s picture

I also tried to use ShareThis to before reading this post. AddtoAny was easy to add to a few of my websites.