JS-Codesnippet | Help | BibSonomy
Home

Javascript Code Snippets

The code below is meant to be incorporated into existing websites in order to ease posting bookmarks and publications to BibSonomy. It will display a link which leads directly to the appropriate bookmark or publication posting site in BibSonomy.

<!-- post bookmark to link code -->
<script type="text/JavaScript">
  //<!--
    var url=encodeURIComponent(document.location.href);
    var title=encodeURIComponent(document.title);
    document.write("<a href=http://www.bibsonomy.org/ShowBookmarkEntry?c=b&jump=yes&url="+url+ "&description="+title +"\" title=\"Bookmark this page\">Bookmark!</a>");
  //-->
</script>
<!-- end post bookmark to link code -->