youll find several scattered java packages that work with rss. some can read certain formats, while others can write them as well. the class i feature in this article, javatools.com/projects/v.1.4.2/xml/doc/com/myjavatools/xml/rss.html" target="new">com.myjavatools.xml.rss, reads all known rss formats (from version 0.90 to 2.0) and outputs all the converted data in the 2.0 format.
you can instantiate com.myjavatools.xml.rss from any rss feed, regardless of version. the class gives access to all the rss elements, and you also can create new rss containers, add or change the contents, and write rss data to an output stream. however, it doesnt offer any syndication features, so no filtration or selection.
a brief history of rss
userland developed rss in 1997. netscape immediately adopted it, and userland and netscape continued working on rss formats in parallel. rss-dev working group and w3cs rdf (resource description framework group) also participated ... 下一页