Blog taglib ver. 1.1

    Custom JSP tags library lets you deploy Blogger API in your web applications. For example, the following code will post to livejournal.com:
 


<%@ taglib uri="taglib.tld" prefix="b" %>
<html>
<b:newPost title="Posted from JSP"
userName="your_name" password="your_password"
apiUrl="http://www.livejournal.com/interface/blogger">

  test from custom JSP tag

</b:newPost>
</html>

Tags are:

newPost

Body tag posts data via Blogger API. Attributes are:

1) id Optional attribute describes a page scope variable for data (type is java.lang.String) that will keep the response. Without this attribute tag just prints the response.
2) userName describes your account name (journal name)
3) password describes your password
4) apiUrl describes an URL for API on blogger's platform. E.g. for livejournal.com it is http://www.livejournal.com/interface/blogger, for Blogger it is http://www.blogger.com/api
5) title an optional attribute describes a title (caption) for your post
6) appKey an optional attribute describes a key for your API (obtained from Google)
7) blogId an optional attribute describes an ID for your blog (from Blogger)
8) proxyHost an optional attribute describes a proxy host for your application
8) proxyPort an optional attribute describes a proxy port for your application

for downloading:

 Library: blogtag.jar     Description: taglib.tld

 © Coldbeans      Comments?

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