Skype taglib ver. 1.2

    Custom JSP taglib lets you request a status for the Skype users. Tag SkypePresence lets you request a presence status for the given Skype id. For example:
 


<%@ taglib uri="taglib.tld" prefix="s" %>

<s:SkypePresence skypeId="your_skype_id" id="A"/>

Status code: <%=A%>

<s:SkypePresence language="de" skypeId="your_skype_id"/>

With parameter id tag can return a status code. Possible values are:

0 - UNKNOWN Not opted in or no data available.
1 - OFFLINE The user is Offline
2 - ONLINE The user is Online
3 - AWAY The user is Away
4 - NOT AVAILABLE The user is Not Available
5 - DO NOT DISTURB The user is Do Not Disturb (DND)
6 - INVISIBLE The user is Invisible or appears Offline
7 - SKYPE ME The user is in Skype Me mode

Without the id parameter tag prints the status according to the language specification. Possible values for the language are:

English - en
Deutsch de
Francais fr
italian it
polish pl
Japanese ja
Spanish es
Pt pt
Swedish se
Pt/br pt-br
zh, China, Zh/cn zh-cn
Honkong, Taiwan, Zh/tw zh-tw

To be available for the presence requests Skype user need to go to Tools->Options->Privacy menu and turn on sharing his/her presence on the web.

Tags are:

SkypePresence

Tag lets you check out a presence for the Skype user. Parameters are:

1) skypeId Describes an id for the user
2) language Optional parameter. Describes a language for the response. Default value is en (English).
3) id Optional parameter. Describes a name for the page scope variable (type is java.lang.Integer) that will keep a status code.
4) proxyHost Optional parameter. Describes a host for your HTTP proxy.
5) proxyPort Optional parameter. Describes a port for your HTTP proxy.

for downloading:

Library: skypetag.jar    Description: taglib.tld

© Coldbeans      Comments?

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

Also in Coldtags: