Hi, I created RSS feed with Java Rome lib. The project is near the end. But I found some strange behavior of RSS clients.
I think it's more RSS clients problem, but i wont to make sure.
Rome holds items in List, so latest items are in the end of the list. I opened my feed I rss clients (Firefox and RSS Bandit) and I found there are in reversed order (technically it's chronological, but reversed compared to that which I used to).
I thought it's rss clients bug (I usually use Google Reader), but I checked some feeds on the Internet and saw that reason that they display correctly is they have reverse ordered items (oldest on the top).
But XML parsers shouldn't rely on nodes order. Why RSS clients use items order instead of dates for sorting nodes?
And the most important should I reorder my items list?
//edit: I found easy solution:
entries.add(0,entry); // :-)
But question about "correct" clients behavior stays actual.