Dashboard > blojsom > ... > Users Guide > Social Bookmark Buttons
  blojsom Log In   View a printable version of the current page.  
  Social Bookmark Buttons
Added by David Czarnecki, last edited by David Czarnecki on Feb 27, 2006  (view change)
Labels: 
(None)

You can add various social bookmark (BlinkList, del.icio.us, Digg, Fark, Furl, Newsvine, Reddit, Simpy, Spurl, Yahoo! MyWeb) buttons to your blog.

Download the icons attached to this page and unzip them under the proper resources directory for your blog (/resources/(blog-id)/) or upload the items through the administration console.

Copy and paste the following code snippet to your blog entries template. You could replace $permalink below with $entryLink if you were using "friendly" permalinks in your pages.

#set($blinklist = ["BlinkList", "blinklist.gif", "http://www.blinklist.com/index.php?Action=Blink/addblink.php&Description=&Url=$permalink&Title=$entry.getTitle()"])
#set($delicious = ["del.icio.us", "delicious.gif", "http://del.icio.us/post?url=$permalink&title=$entry.getTitle()"])
#set($digg = ["digg", "digg.gif", "http://digg.com/submit?phase=2&url=$permalink"])
#set($fark = ["Fark", "fark.gif", "http://cgi.fark.com/cgi/fark/edit.pl?new_url=$permalink&new_comment=$entry.getTitle()&new_link_other=&linktype=Misc"])
#set($furl = ["Furl", "furl.gif", "http://www.furl.net/storeIt.jsp?t=$entry.getTitle()&u=$permalink"])
#set($newsvine = ["Newsvine", "newsvine.gif", "http://www.newsvine.com/_tools/seed&save?u=$permalink&h=$entry.getTitle()"])
#set($reddit = ["reddit", "reddit.gif", "http://reddit.com/submit?url=$permalink&title=$entry.getTitle()"])
#set($simpy = ["Simpy", "simpy.png", "http://www.simpy.com/simpy/LinkAdd.do?href=$permalink&title=$entry.getTitle()"])
#set($spurl = ["Spurl", "spurl.gif", "http://www.spurl.net/spurl.php?title=$entry.getTitle()&url=$permalink"])
#set($yahoomyweb = ["Yahoo! MyWeb", "yahoomyweb.gif", "http://myweb2.search.yahoo.com/myresults/bookmarklet?t=$entry.getTitle()&u=$permalink"])
#set($links = [$blinklist, $delicious, $digg, $fark, $furl, $newsvine, $reddit, $simpy, $spurl, $yahoomyweb])
<div>
#foreach ($link in $links)
   <a href="$link.get(2)" style="border: 0;">
       <img src="#Resource("icons/$link.get(1)")" style="border: 0;" height="16" width="16" alt="$link.get(0)"/>
   </a>
#end
</div>

Site running on a free Atlassian Confluence Open Source Project License granted to blojsom. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators