Live data from Hacker News

Please, expose your RSS

rknight.me

81–90 of 113 posts

Re: Please, expose your RSS

#81
Hot tip: YouTube channels do expose an RSS feed; you can subscribe to a channel by just pasting its URL in your news reader.

You might find RSS feeds in other unexpected places! Use an extension to put the "subscribe via RSS" button back in your browser.

https://addons.mozilla.org/en-US/firefox/addon/awesome-rss/> https://chromewebstore.google.com/detail/rss-subscription-ex...>

Re: Please, expose your RSS

#83
I definitely see the author's points, but I disagree with the proposed solution. Feed discoverability should be a basic browser feature, not something web developers need to actively implement, nor some information that users have to scrape themselves from the DOM.

I made an extension back in the day that parses the tags and puts back the feed icon where it's supposed to be (on the right side of the URL bar), and also renders the feeds properly rather than just spitting out the raw XML : https://addons.mozilla.org/en-US/firefox/addon/rss-viewer/

This is how the web used to work 10 years ago. The tag has a purpose: it instructs browsers that the current page has a feed, so the browser can parse it and show a feed button to the user. Both Firefox and Chrome used to work this way 10 years ago.

Then motherfucking evil Google began its war against feeds. First it killed Google Reader, then it stopped complying with the conventions, removed the feed icon from their browser and stopped rendering RSS/Atom. Firefox quickly complied too.

Let's make it clear once and for all: yes, I, can add an RSS URL to my website to make discoverability easier, but it's not my job as a web developer to explicitly make feed discoverability easier by modifying my frontend. That's just a workaround. My job as a web developer should be to provide the right element, and then the browser should know what to do with it. Just like the browser is supposed to know what to do with scrollbars if my divs exceed the window size.

And, as a user, I shouldn't write my custom JavaScript to parse the feed URL from the DOM. Just like I'm not expected to write my JS user script to render the title of the page. If browsers refuse to provide such basic features, then it's a browser problem. I would say "choose a browser that natively supports feeds", but there's none left. So use extensions to mitigate the impact of feed-hostile browser politics.

Re: Please, expose your RSS

#85
post #9

are there any guides on how to do RSS correctly? I just dump all of our blog content in there (250 posts) and it's a lot of content haha. I don't know how you're supposed to set it up and there are so few guides on it

I wrote one a while ago and have been maintaining it since: https://kevincox.ca/2022/05/06/rss-feed-best-practices/ It was fairly popular on HN when it first went live: https://news.ycombinator.com/item?id=31293488 It has a section on discovery: https://kevincox.ca/2022/05/06/rss-feed-best-practices/#disc...

Thanks for sharing

Re: Please, expose your RSS

#86
i have been using rss to get all my tech news (other than here perhaps) for over a decade.

however since past at least 5 years, many tech sites have implemented "dark patterns" to hinder the experience and to nudge you to open their website. the "click here to read more" or just giving the summary outright does not help with the goal of having a feed.

i get that in today's age, where everyone wants to gatekeep their "content", it is an easy way to scrape data (i truly hope this does not become a trend). at the same time, it is so cheap to maintain that even static site running on solar can manage it (https://solar.lowtechmagazine.com/feeds)

Re: Please, expose your RSS

#87
As autodiscovery is often broken or missing on many sites, my feed reader Temboz falls back to testing these suffixes in the forlorn hope there may be a RSS or Atom feed hiding somewhere:

      'feed', 'feed/', 'rss', 'atom', 'feed.xml',
      '/feed', '/feed/', '/rss', '/atom', '/feed.xml',
      'index.atom', 'index.rss', 'index.xml', 'atom.xml', 'rss.xml',
      '/index.atom', '/index.rss', '/index.xml', '/atom.xml', '/rss.xml',
      '.rss', '/.rss', '?rss=1', '?feed=rss2',

Re: Please, expose your RSS

#88

A lot of RSS/Atom is left unexposed for two key reasons: 1) Google Reader and friends disappeared, and 2) Browsers stopped supporting RSS feeds natively, including discovery of a feed. Put the functionality back in browsers where it belongs, it could at least be used to find feeds and then you can use newsbeuter or something similar to subscribe with.

It was intentional. RSS is a way to sidestep advertising. Guess who makes the most widely used browser today.

It’s weird, our publishing clients don’t seem to care about having an rss feed exposed but Google for sure doesn’t want it. Honestly surprised they haven’t come up with some BS sitespeed reason to remove it from html.

Re: Please, expose your RSS

#89
I actually made https://hn-blogs.kronis.dev a while ago, which was based on RSS/Atom feeds that people shared on HN, it's still running in the background and pulls in the latest posts daily. There are links to the original HN post and a blog post that I made about it all on the site, but here's the post directly: https://blog.kronis.dev/articles/ever-wanted-to-read-thousan...

It was certainly interesting to do and I love that the technology exists, however a lot of people handle integrating it differently. Sometimes the feed type is misreported, other times you can't quite get all of the meta data about the feed or items you'd like, whereas sometimes you either have the whole thing just throw a network error, or just have someone with control sequences in the text which breaks your attempts at parsing XML.

I'm convinced that the larger the scale of your dataset, the more potential issues you're going to run into, at some point if any type of error can occur, you're going to have to deal with it.

Post reply on HN