| Name | Bookmark Icons |
|---|---|
| Version | 1.0 |
| Product Versions | any |
| Author(s) | Jakob Schlegel, Arne Schirmacher |
| Homepage | http://www.schirmacher.de/display/INFO/Bookmark+Icons |
| Price | Free |
| License | n/a |
| JavaDocs | n/a |
| IssueTracking | n/a |
| Download JAR | n/a |
| Download Source | see below |
Description/Features
displays an icon toolbar to link the current page on del.icio.us, Digg and other bookmarking services.
Many websites have links to bookmarking services like del.icio.us, Digg and others so that any visitor can easily create a new bookmark for this page. The bookmark will then be displayed on the front page of the service which will in turn (hopefully) attract other visitors to your page.
Usage
Create a new user macro with the name "bookmarks", "Macro has body" checkbox unset with this code below. Copy the contents of the icons.zip file into the directory "images" of your Confluence installation.
## bookmark V. 1.0
## (c) 2006 Arne Schirmacher, arne.schirmacher@softwaretesting.de
##
## if you update this with new features or bookmark links, please
## send me a copy. Thanks.
#set( $baseurl = $config.getBaseUrl() )
#set( $urlpath = $content.getUrlPath() )
#set( $url = "$baseurl$urlpath")
#set( $url = $url.replace("+","%2b") )
#set( $title = $content.getTitle() )
#set( $title = $title.replace("+","%20") )
<p><b>Bookmark with:</b></p>
<a href="http://del.icio.us/post?url=$url&title=$title" title="del.icio.us"><img src="$baseurl/images/delicious.png" alt="del.icio.us" border="0"></a>
<a href="http://digg.com/submit?phase=2&url=$url&title=$title" title="digg"><img src="$baseurl/images/digg.png" alt="digg" border="0"></a>
<a href="http://www.mister-wong.de/index.php?action=addurl&bm_url=$url&bm_description=$title" title="Mister Wong"><img src="$baseurl/images/misterwong.png" alt="Mister Wong" border="0"></a>
<a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=$url&t=$title" title="YahooMyWeb"><img src="$baseurl/images/yahoomyweb.png" alt="YahooMyWeb" border="0"></a>
<a href="http://reddit.com/submit?url=$url&title=$title" title="Reddit"><img src="$baseurl/images/reddit.png" alt="Reddit" border="0"></a>
<a href="http://www.furl.net/storeIt.jsp?u=$url&t=$title" title="Furl"><img src="$baseurl/images/furl.png" alt="Furl" border="0"></a>
<a href="http://www.spurl.net/spurl.php?url=$url&title=$title" title="Spurl"><img src="$baseurl/images/spurl.png" alt="Spurl" border="0"></a>
<a href="http://blogmarks.net/my/marks,new?mini=1&simple=1&url=$url&title=$title" title="blogmarks"><img src="$baseurl/images/blogmarks.png" alt="blogmarks" border="0"></a>
You can now use the {bookmarks} macro in your content which will be rendered as an icon bar. Clicking on an icon will open the "enter link" page of each of these services with some fields already filled out. You can then add a description, tags, comments, whatever the particular service has to offer.
To create a new icon, just add a new line with the appropiate parameters and the image for the icon. The description for the parameters can usually be found on the website of the bookmarking service.
Examples
This page has a working example:
http://www.schirmacher.de/display/INFO/Bookmark+Icons
Be sure to click on the del.icio.us or Digg icon to improve the rank of my page
.
Version History
V. 1.0, Dec 01, 2006
Open Issues
A useful improvement would be automatically adding any Confluence label for the particular page to the tags field, or adding the {excerpt} section to the notes field of the bookmarking service.
Screenshots

Comments (1)
Jan 24, 2007
Alex Yanchenko says:
The issue I don't like is that these icons would get to .pdf version of page.The issue I don't like is that these icons would get to .pdf version of page.