A Suggestion for RSS Feeds
I've been looking into more and more RSS feeds and have noticed a few flaws in the way rss feeds operate. I would like to recommend future formatting of feeds to include these features to help feed parsers more effeciently.
- Unique post identifiers
- This will aid in providing the feed parser to know whether a previously updated entry is a new post or merely an updated post. Instead of relying on titles, descriptions and links, the only thing a parser would need to do is provide the Unique post identifier. This is for recurring rss parser engines and not single-run parsers such as Google's 'IG' homepage.
- This will prevent duplicate/errornous feed entries while archiving xml feed
- [A-Za-z0-9] string, length: 6~32 characters
- Always define the TTL value
- This will prevent feed parsers from downloading the RSS feed more than once in a given time. Most default values for smarter feed parsers is somewhere between 30-60min, but most manual feed parsers are able to download the feed whenever the user opens up the application.
- This will prevent bandwidth usage when it isn't required.
- [0-9] integer
- citation: RSS 2.0 Specification
- Create mini-rss feed
- A 'mini' rss feed can be used by feed parsers to conserve on bandwidth usage. A small file will be downloaded by the feed parser that will have a small numerical value such as a UNIX-based date of the last updated (note: not date of current reading) entry. This small feed url should be included in the master XML file.
- (code) Inclusion code inside master xml
<channel> ... <update>http://.../mini.rss</update> ... </channel>
- (code) Actual mini xml
<update>200601160026</update>
- [0-9] integer

0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home