Javascript Code Snippets#

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

<!-- post bookmark to link code -->
<script type="text/JavaScript">
    var url=encodeURIComponent(document.location.href);
    var title=encodeURIComponent(document.title);
    document.write("<a href="+url+ "&description="+title +"\" title=\"Bookmark this page\">Bookmark!</a>");
<!-- end post bookmark to link code -->