6 ms·
RSS mistakes: let's not make them again
- th0ma5 13y agoOblig XKCD: http://xkcd.com/927/ http://xkcd.com/927/ I think also however that this post brings up a lot of good points. Specifically I feel it touches on a very important one subtly... we do have now a "web of data" even if it isn't exactly the W3C spec of such a thing, we still have one. Now what?
- zanny 13y ago> For RSS, I have first to “guess” (or rather hope) that there is a feed, since browsers now hide the infamous orange icon. I can then select the url of that tab and copy it. Then, open a new tab, go to the reader I chose to use and paste the url. Hopefully, that reader is smart enough to actually find the feed url from this page’s url. If not, I’m screwed anyway and I’ll have to look into the HTML code of the page! On sites that provide a feed link, I just click that link, which opens that feed in feedly, and I hit add to my feedly. Process is as simple as twitter. The choice of some sites to hide their feeds and provide no links is the burden of site designers.
- jessaustin 13y agoIf one doesn't like how her browser handles certain links, it's easy enough to get an extension or bookmark for that browser that does exactly what she wants. This is especially true for feeds.
- sentenza 13y agoWhat browsers actually hide the rss icon? I too sometimes have to resort to the tactics that the article describes to get a feed, but it is usually just wordpress sites where the author is unaware that rss even exists or that rss is provided by wordpress.
- eli 13y agoI believe both Chrome and Firefox used to show an RSS icon next to the URL but both killed the feature. Here's a Chrome plugin to add it back: https://chrome.google.com/webstore/detail/rss-subscription-extensio/nlbjncdgjeocebhnmkbbbdekmmmcbfjd?hl=en https://chrome.google.com/webstore/detail/rss-subscription-e...
- sentenza 13y agoAh, thank you. I am using Firefox for so long now that I can't remember when I started and somehow never noticed that the icon was there at some point.
- eli 13y agoFirefox's was actually pretty good in that you could click it and it made an attempt to format the feed for display and offered you links to subscribe to it using popular Feed Readers. Chrome, even when it had the icon, by default linked it to the unformatted XML page. I get the sense that Google's heart was never really in RSS.
- Spittie 13y agoFirefox still show that page, you just have to open the feed directly in the browser (instead of pressing that orange icon). You can put the icon back in the toolbar, or you can press on the globe/keylock near the url, press on more informations, and then Firefox will show all the available feeds for the page under the "feeds" tab.
- nieve 13y agoYou can put the RSS icon back in the toolbar (but not the url bar) by going into View->Toolbars->Customize and dragging it wherever you want it. It's a bit less obvious than the original, but it's still useful.
- th0ma5 13y agohttp://www.aaronsw.com/2002/feedfinder/ http://www.aaronsw.com/2002/feedfinder/ http://www.aaronsw.com/2002/feedfinder/feedfinder.py http://www.aaronsw.com/2002/feedfinder/feedfinder.py Helps!
- deleted 13y ago[deleted]
- deleted 13y ago[deleted]
- julien 13y agoYes, feedly is a browser extension, that you knew how to install Most people don't and most readers are not browser extensions...
- zanny 13y agoI don't actually use the feedly browser extension, it mucks my pages up. I use normal web page feed links, and Firefox (the first time) will ask where you want to direct that rss feed, and if you have feedly open in a tab it proposes feedly as an option, and you can set it as the default so links always go to feedly. No extension required.
- haakon 13y agoIt's too bad FeedTree (http://www.feedtree.net/ http://www.feedtree.net/) never caught on. Decentralised, peer-to-peer push distribution of RSS-style updates. Instead we ended up either hammering servers checking for updates, or using centralized hubs like FeedBurner, and eventually moving to completely proprietary services like Twitter and Google+.
- wmf 13y agoA feed is fundamentally centralized anyway, so I don't see the problem with relying on the feed to push updates to you. Unfortunately because Google build a super-centralized crutch into PuSH everybody thought mooching off Google was the point of PuSH so sites never installed their own hubs.
- stephen_mcd 13y agoThe main criticism here doesn't really apply to any readers that apply the slightest effort in making the subscription process streamlined. Take https://kouio.com https://kouio.com for example (a Google Reader replacement I've built), in kouio you just enter a website's address and it'll discover the feed automagically.
- seanzieapples 13y agoI like your app so far but I input https://news.ycombinator.com/ https://news.ycombinator.com/ and it's not able to locate an RSS feed (Just says "Loading"). I input https://news.ycombinator.com/rss https://news.ycombinator.com/rss and it works.
- jerf 13y agoHN does not include the proper metadata to indicate an RSS feed. If <link rel="alternate" type="application/rss+xml" title="Hacker News" href="http://news.ycombinator.com/rss" /> was added to the <head> of the homepage, the discovery would probably work better.
- stephen_mcd 13y agoThank you! That's definitely a bug, looking into it :-)
- stephen_mcd 13y agoHa! Well as jerf mentioned below, HN doesn't correctly provide a link reference to its RSS feed. Now that's fine in our case, as a surprisingly large number of websites fail this test, and simply have a visible link with "rss" or "atom" in either the link's text or URL. Now we pick these up, but in this case the front page of HN has an invalid link with "rss" in the text, namely this very thread itself. So normally the HN front page URL works fine, but right now it doesn't. This gives us a great chance to refine our discovery code a bit, so thank you!
- malkarouri 13y ago
- asdf3 13y agoWe should add query parameters onto RSS requests, and gradually upgrade while remaining backwards compatible. Create clients and server features that are compelling enough, and people will update their server code.
- ancarda 13y agoWhat do you mean? /feed?version=1 That's a bad idea if you cache RSS in an xml file, i.e /rss.xml. It would make it more complex if you had to handle query parameters. The parser should just check for the version attribute on the rss node; <rss version="2.0">. Or, even better, it could just check for the availability of server nodes such as "<cloud>". Or did you mean something completely different?
- jerf 13y agoRSS is already extensible; the eXtensible in "XML" actually works as designed for formats like RSS. You'd have to name a specific feature you needed to actively replace for this to be justified. (You may be able to, but it's not as easy as just handwaving.)
- chenster 13y agoRSS specs doesn't change is actually a great benefit to services build around it. Both http://dealbert.net http://dealbert.net and http://joboyster.com http://joboyster.com use RSS as the main data source format.
- ancarda 13y agoSubToMe doesn't load for me. I just see a blank page and the subscribe button doesn't work.
- julien 13y agoWeird. Any JS error?
- lwf 13y ago> PubSubHubbub evolved and is now able to work with any kind of data (not just RSS or Atom), opening the door to a JSON based syndication format. It is not made clear why this is desirable. The author makes no case for why a JSON-based system would be any better than the current XML system. Perhaps the implied "eww XML", but XML is the standard.
- ancarda 13y agoJSON is smaller and easier to parse in JavaScript. Aside from that, there are no real advantages IMO.
- MatthewPhillips 13y agoParsing RSS/Atom is a solved problem, don't do it yourself, use libraries.
- finnw 13y agoParsing JSON is also a solved problem. And JSON is also easier for humans to read than XML.
- jarek 13y agoBut is parsing an RSS-like format that uses JSON a solved problem?
- dragonwriter 13y agoThat's just parsing JSON and interpreting the data. Since parsing JSON and producing arbitrary object models is a solved problem, parsing an x-like format that uses JSON is also a solved problem for all x (developing the object model to use for it is an issue, perhaps, but you have to have that before you can have any serialization format, so that's not a distinguishing problem between different approaches.) Note that I am not, here, endorsing JSON over other alternatives; the same is obviously true of XML, HTML, YAML, or lots of other potential formats.
- jimbobimbo 13y agoPolling may suck, but it just works. Throw an XML file on your server and you are done, without writing a single line of code.
- julien 13y agoSame as hunting for/picking your own food or sending snail mail to tell things to people. It works, but is not very efficient! Efficiency opens the door for innovation and new behaviors.
- MatthewPhillips 13y ago> The “level 0” solution is to periodically fetch each feed, parse it, diff it and hopefully find something new. Wait, do feed readers really not do a HEAD request first and check Last-Modified ?
- gboudrias 13y agoI don't think those values are always reliable.
- jrochkind1 13y agoSo which is easier, getting servers to fix them to be reliable, or getting everyone to change to a new json pubsubhub whatever thingy, that they'll probably do unrealiably anyway too?
- bct 13y agoI would hope that they wouldn't do it that way; they should be sending a GET with If-Modified-Since. The same result, making half the requests.
- julien 13y agoHEAD is still a waste of resources. the http body in the context of feeds is usually pretty small and does not consume a lot of resources compared to actually initiating (or even keeping) the TCP connection. HEAD also means the server as to do everything but send the data to make sure it does not need to sent it => waste.
- icebraining 13y agoHEAD also means the server as to do everything but send the data to make sure it does not need to sent it Not at all. If you have the RSS as a static file - and that's the best way for a resource that is much more often read than written - the web server can just stat() the file and get the modified timestamp instead of having to open and read it.
- 13y ago
- bmelton 13y agoOfftopic somewhat, but if you're building a feed reader in Python, you can use feedfinder.py[1], to allow for feed discovery. The last feed reader I wrote, years ago, utilized it to great effect. Every new feed reader on the block shocks me when I have to enter the exact URL to the feed (e.g., domain/xml/feed.xml, or what have you). [1] - http://www.aaronsw.com/2002/feedfinder/ http://www.aaronsw.com/2002/feedfinder/
- mpweiher 13y agoHmm...when I click on an RSS feed link in Safari, my RSS reader (NetNewsWire) opens and asks me if I want to add this feed. (Worked for the comments feed, didn't see a link for the blog, and the "subscribe" button didn't work). Yes, polling has issues, but the author doesn't explain how changing the file format from RSS to some JSON-based format makes those problems go away. Maybe I am just dense, but neither does the author show real problems, nor does he offer solutions. Well, the latter being somewhat unsurprising considering the former.
- jrochkind1 13y agoThe “level 0” solution is to periodically fetch each feed, parse it, diff it and hopefully find something new. Um, less solutions to this exist, but they are much simpler than 'PubSubHubbub or RSSCloud'. And don't require any changes to RSS. You are requesting this thing over HTTP. You (and the server delivering the feed) simply need to use standard HTTP caching headers. etags, last-modified, etc. No need to fetch the XML and parse it and diff it.
- julien 13y agoI don' see how using header will remove the need to fetch the resources, parse them and diff them. Maybe you'll do that less often, but you'll still do it a lot...
- jrochkind1 13y agoAre you familiar with how HTTP caching headers work? From an etag in the header, you can tell if the current remote resource is identical to the one you have locally or not, without any fetching/parsing/diffing. Same with from a Last-Modified header, right? In fact, you send a conditional GET rather than first retrieving only a HEAD and then deciding whether to continue with a full GET, but either way you aren't fetching/parsing/diffing to tell if there's new content.
- ajanuary 13y agoI've been wondering if feeds would be more discoverable if browsers integrated it with bookmarks. Bookmarking a page with an RSS feed becomes a 'live bookmark' that acts like a bookmark folder with unread counts. But there's probably a billion edge cases that make it too difficult.
- opminion 13y agohttp://www.mozilla.org/en-US/firefox/livebookmarks.html http://www.mozilla.org/en-US/firefox/livebookmarks.html