Open source alternative to AddThis AddToAny, ShareThis etcfor Social Bookmarking
Answer is simple. The ideal above works, so it's mostly a matter of finding the right code and icons. The key item in my search was 'share by url'
Example 1
This is from another post on this site:
Facebook, Twitter, and Google +1 buttons using only HTML (No Javascript)
http://www.facebook.com/sharer.php?u=http://example.com
http://twitter.com/share?url=http://example.com&text=Description
https://plusone.google.com/_/+1/confirm?hl=en&url=http://example.com
Example 2
See Wordpress share buttons without JS or plugins
<div class="social-button-container">
<div class="share_top_text">Share this post on:</div>
<div class="SocialCustomMenu">
<a class="scmTwitter" href="http://twitter.com/home/?status=<?php the_title();?> - <?php echo wp_get_shortlink();?> via @kenmata "title="Tweet this!">Twitter</a>
<a class="scmFacebook" href="http://www.facebook.com/sharer.php?u=<?php the_permalink();?> - <?php echo wp_get_shortlink();?> "title="Share on Facebook!">Facebook</a>
<a class="scmGoogleplus" href="https://plus.google.com/share?url=<?php the_permalink();?> - <?php echo wp_get_shortlink();?> "title="Share on Google +!">Google +</a>
<a class="scmPinterest" href="http://pinterest.com/pin/create/button/?url=<?php the_permalink();?> - <?php echo wp_get_shortlink();?> "title="Share on Pinterest!">Pinterest</a></a>
</div>
</div>
While these are nominally wordpress they should work with some modification with any web server using php. Or they can easily be converted to use template toolkit
Example 3:
Less social share links is another example of very clean looking HTML.
You miss some functionality with this:
- No counters. Of course you could implement counters locally.
- For Facebook the people don't get to see which of their friends liked it. Not a big motivator for me.
- At this point finding the codes for each service is an obstacle.
Specifics:
- If someone has already consolidated a share-by-url list, please feel free to post here. I have NOT verified all of the following.
- TITLE is the share title. Some services will accept it quoted. Others must be in URL format: e.g. spaces are %20 URL must be fully qualified absolute.
blogger
http://www.blogger.com/blog_this.pyra?t=&u={url}&n={title}
digg
http://digg.com/ submit?phase=2&url={url}&title={title}
diigo
http://www.diigo.com/post?url={url}&title={title}
mailto:?to=&subject={title}&body={url}%0A{description}
http://www.facebook.com/sharer.php?u={url}&t={title}
gmail
https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=&su={title}&body={url}%0A{description}
google bookmark
http://www.google.com/bookmarks/mark?op=add&bkmk={url}&title={title}
http://www.linkedin.com/shareArticle?mini=true&url={url}&title={title}&ro=false&summary={description}&source=
myspace
http://www.myspace.com/Modules/PostTo/Pages/?u={url}&t={title}
http://www.pinterest.com/pin/create/button/?url={url}&media={image}&description={title}
http://reddit.com/submit?url={url}&title={title}
tumblr
http://www.tumblr.com/share/link?url={url}&name={title}&description={description}
http://twitter.com/home?status={title}%20{url}
ymail
http://compose.mail.yahoo.com/?to=&subject={title}&body={url}%0A{description}
additions to @Sherwood Botsford's list
flipboard http://share.flipboard.com/flipit/load?v=1.0&url=URL&title=TITLE
tumblr http://www.tumblr.com/share/link?url=URL&name=TITLE&description=TITLE
blogger http://www.blogger.com/blog_this.pyra?t=&u=URL&n=TITLE
evernote http://www.evernote.com/clip.action?url=$URL&title=TITLE
getpocket http://getpocket.com/save?url=$URL&title=TITLE
Edit - lyteshare.js is a lite javascript could be improved upon to add more services
More sources for more links
Two very comphrensive lists:
ss.js on github gives this pinterest share - which works for anything never pinned before, no script though pinterest
https://pinterest.com/pin/create/bookmarklet/?url={url}&media={image}&is_video={is_video}&description={title}
netvibes custom sharing with Buffer, Baidu, hootsuite and more
Anyone saw the news that AddThis is using a new form of tracking cookies called Fingerprint Canvas that stays forever?
http://www.propublica.org/article/meet-the-online-tracking-device-that-is-virtually-impossible-to-block
I think we need some open source alternatives like http://expando.github.io/