RSS
- RSS
- Machine-readable news and blog feeds.
XML format.
- e.g. Client app drags multiple feeds into a viewer of feeds you are interested in.
-
e.g. Client embeds a widget on their site that displays an interesting feed in a sidebar.
Sample widget - "Feed2JS"
Problems with including remote content
- Problem: Column width of unknown feeds.
- If (as would be typical) you include the feed in a column on a blog-like page,
you want the feed output to stay within the designated width of that column.
But if the feed contains a word that cannot be broken (e.g. a URL),
this will push out the column width.
- Solution with Feed2JS: No descriptions (desc=0) for feeds whose descriptions may contain a URL.
- Better solution: Word wrap the data using CSS
word-wrap.
See example in a box here.
- Problem: Badly-formed feeds.
- Remote RSS feeds are sometimes badly-formed, leaving error message in the widget on your site.
(In my experience, this happens a lot.)
- Solution: Feed Sanitizer.
Link to "sanitized" version of the feed instead.
[This is now gone. Any alternative?]
- Problem: Feed site is down.
- Problem: Feed2JS site is down.
Other widgets
Host it yourself
Alternatives to RSS
RSS feeds are one among many ways of receiving feeds.
They are in decline compared to other ways:
- JSONP feed
- Javascript can get data direct from any website.
No need for a feed2js.org site.
- Web APIs
-
Social media feeds and timelines. Twitter and Facebook.
Subscribe to the sites you want. Then your feed/timeline has all the updates you want combined.