I took a look at the RSS 2.0 spec and it seems comments is only expected to be included under individual items [feed_item.dart] and not per-feed [feed.dart]. You've implemented it under both in this PR, is that a scenario that you came across?
If you aren't coming across Feed-level comments then I'd prefer to remove that, and only add the FeedItem comments field.
@anarchyrucks Thanks for contributing!
I took a look at the RSS 2.0 spec and it seems
comments
is only expected to be included under individual items [feed_item.dart] and not per-feed [feed.dart]. You've implemented it under both in this PR, is that a scenario that you came across?If you aren't coming across Feed-level comments then I'd prefer to remove that, and only add the FeedItem comments field.
Otherwise this looks great and is only missing tests: I've been placing all these optional field tests under the 'Parses a Feed with all possible fields' test.
Thanks again!