I'm interested in producing feeds using Atom (the XML syndication format) and Java, but I'm not sure where to start.
Can anyone recommend libraries, tutorials etc. to get started?
I'm interested in producing feeds using Atom (the XML syndication format) and Java, but I'm not sure where to start.
Can anyone recommend libraries, tutorials etc. to get started?
ROME is a nice Java library to create and consume feeds in atom and rss. An example can be found at http://wiki.java.net/bin/view/Javawsxml/Rome05TutorialFeedWriter
Apache Abdera is your best bet - Apache Abdera
It contains client code for consuming Atom (and turning feeds, entries, collections into POJOs) - and it contains some base Atom server code for starting your own Atom Pub/Syndication server. The server code is a little clunky though, I wrote my own server and basically ignored most of the server code, just using their object model to parse/manipulate the Atom concepts.
atomserver ( http://atomserver.codehaus.org/ ) is a simple and well documented publishing server. It's based on Apache Abdera, and provides a ready-to-go server. You can use it to publish any data as feeds, not only blog entries.