Quantcast
Channel: Active questions tagged atom-feed+rss+parsing - Stack Overflow
Viewing all articles
Browse latest Browse all 13

Android fast rss/atom parsing

$
0
0

I'm looking for a fast way to parse an RSS and Atom feed (the source changes periodically). I tried different approach:

  1. Writing my own parser: I made a very fast one using SAX

    • Problem: Most of the time the feed is full of non standard tags like <content:encoded> and the parsing miss the most important informations.
  2. Using a third party lib: I tried many libraries and the only one so far reading all the feeds i throw at it is ROME

    • Problem: Most of those libs (and especially ROME) are way too slow on the device (4-5x !!)

Any idea on how to speed this ? Is it even the best approach ?


Viewing all articles
Browse latest Browse all 13

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>