Mobile link taglib ver. 1.1

    Custom JSP tag. Lets you create a mobile-friendly link for the particular site. Taglib uses Google Mobilizer service converts web pages on the fly to the mobile friendly form. If your favorite web site doesn't offer a mobile version fit for viewing on your phone or PDA than Mobilizer can create mobile version on the fly. You can use this taglib for mobile sites development. E.g. add to your own pages links to external sites "as is".

For example (mobile-friendly link to http://www.servletsuite.com):
 


<%@ taglib uri="taglib.tld" prefix="m" %>
<html>
...
<m:mobilink href="http://www.servletsuite.com" showImage="false">Coldbeans news</m:mobilink>
...
</html>

and you will get this:

Coldbeans news

Tags are:

mobilink

Body tag renders a mobile-friendly link. Parameters are:

1) href Describes an URL.
2) title Optional parameter. Describes a title (tooltip).
3) className Optional parameter. Describes a CSS class.
4) style Optional parameter. Describes a CSS style.
5) rel Optional parameter. Describes a rel attribute.
6) showImage Optional parameter. Describes a boolean value for the image showing mode. Default value is true (show images on the transcoded site).
7) cond Optional parameter. Describes a boolean value tag's behavior depends on. Default value is true (create a link).

for downloading:

Library: mobilinktag.jar    Description: taglib.tld

 © Coldbeans      Comments?

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

Also in Coldtags: