开发者

Atom to RSS feed

开发者 https://www.devze.com 2023-01-20 06:20 出处:网络
I have an RSS reader portlet in websphere portal, which adds the RSS feed and renders the feed items on it. I need to add Atom feeds also in the existing code. We use a third party API to parse the fe

I have an RSS reader portlet in websphere portal, which adds the RSS feed and renders the feed items on it. I need to add Atom feeds also in the existing code. We use a third party API to parse the feed URL, add it and render the news items on the portlet. Need to add some logic in my Java code to initially recognize the Atom feed and convert it into RSS feed.

I tried the same using an converter (easily available online), but don't know how to integrate the logic开发者_运维百科 in code.


I'm not sure I understood your question properly but if you need to do conversions between various feed formats, my recommendation would be to use Rome.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号