I'm looking to build a feed generator for RSS and Atom feeds.
I've been looking around for a library that will generate a wide variety of formats (RSS .9 through whatever is current, and Atom .3 through whatever is current).
I'd rather not look through the specs and try recreating the wheel, but the libraries I've found so far for generating feeds are either not very robust (only support a specific format/version) or look to be poorly supported or abandoned projects.
Is there a good library out there?
RSS is just an XML file! So you can use every XML writer out there. Here is an example using "Java Stax XML". At point 5 you see the creation of an example xml file, showing you the correct syntax of a valid RSS feed file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With