<body>

Caiwangqin's blog

Focus on Web2.0, Business, Architecture, Agile, Technic and beyond…

Atom研究(二)

2005年11月1日 星期二

  在Atom研究(一)中探讨了Atom作为替代RSS的功能,本篇介绍如何在自己的Blog上加上Atom API的功能,以让你的Blog也能够通过支持Atom的客户端工具所支持。

  

  Really Simple Blogging with the Atom API中讲了使用Atom API的方法,是使用Java语言介绍的:


引用自

If you want to play with it you'll need postit.html and xmlWrapper.js in a regular directory on a web server,


with PostItServlet.java compiled in the appropriate place in a server container. [/quote]  只需要修改PostItServlet.java中的writeEntries方法,将数据写入数据库中即可完成使用Atom API写blog的功能。因这段我的事情很多,时间有限,就没有在我的blog上做这个功能,有时间的时候可能会加上。


标签:

posted by Caiwangqin, 下午8:22

<< 主页