Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Help aggregating Atom feeds using JSTL  RSS feed

 
James Dekker
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello again,

I was running a webapp which aggregated feeds from an external website (which itself used an RSS file to publish content)

Now, I can't see anyone of them because the author of the website situated switched to Atom...

Here's the code I currently have (which worked when the website used RSS):



Now, the URL for the content is:

http://thewebsite.com/blog/blog.atom

As a result, on my webapp, nothing is published (it doesn't aggregate)

Is there a way to aggregate Atom feeds using JSTL?

Thanks for the help.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Atom feeds are still xml so you'll just need to look at the atom XML and adjust your code accordingly.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!