Del.icio.us bookmark taglib ver. 1.2


    JSP custom taglib. Tag delicio lets you provide a bookmark for del.icio.us service. So tag actually generates the hyperlink that lets your visitors tag your page. For example:
 


<%@ taglib uri="taglib.tld" prefix="t" %>
<html>
...
<t:delicio title="Coldtags suite"/>
...
</html>

And you will get some like this:

delicious

By default tag will use the current URI for the bookmark. You can change this with attribute url. Tag's body lets you provide your own text:
 


...
<t:delicio url="http://www.servletsuite.com" title="Coldtags suite">Tag this!</t:delicio>
...

Tags are:

delicio

Body tag renders HTML hyperlink for the del.icio.us bookmark. Parameters are:

1) url Optional parameter. Describes an URL. By default tag will use the current URL (request URI).
2) title Describes a title for your bookmark.
3) image Optional attribute. Describes a boolean value - use/do not use favicon image as anchor. Default value is true (use image)
4) className Optional parameter. Describes a CSS class for your link.
5) style Optional parameter. Describes a CSS style for your link.

for downloading:

Library: deliciotag.jar    Description: taglib.tld

 © Coldbeans      Comments?

See also Coldtags suite - the largest collection of JSP custom tags.

Also in Coldtags: