Hacker News RSS (hnrss): replace broken feed endpoint A filtered Hacker News feed that selected stories with more than 650 points stopped working in Miniflux after the hnrss.org endpoint returned a bad gateway error for roughly two weeks. The author replaced the domain with the public HNRSS fork at hnrss.kakwalab.ovh, which returned an XML feed with 20 items and an HTTP 200 response. The fork, hnrss-ai-filtering, runs against the same Hacker News Algolia data as the original open-source HNRSS. ♠ Previously https://perrotta.dev/2022/02/praise-for-blog-aggregators/ . Problem statement : my filtered Hacker News feed stopped working in Miniflux because its HNRSS endpoint returned a bad gateway response. This has been happening for a couple of weeks, to the point it became unreliable. The feed selected stories with more than 650 points: https://hnrss.org/newest?points=650 Miniflux reported the upstream failure without hiding it: The website is not available at the moment due to a bad gateway error. The problem is not on Miniflux side. Please, try again later. HNRSS is open source, and another public instance runs a fork https://github.com/kakwa/hnrss-ai-filtering against the same Hacker News Algolia data. So I replaced the domain: -https://hnrss.org/newest?points=650 +https://hnrss.kakwalab.ovh/newest?points=650 The replacement returned an XML feed with 20 items: % curl -L --max-time 15 -sS \ 'https://hnrss.kakwalab.ovh/newest?points=650' \ -o /tmp/hnrss.xml \ -w '%{http code} %{content type} %{size download} bytes\n' 200 application/xml; charset=utf-8 15929 bytes % python3 -c 'import xml.etree.ElementTree as ET; \ r=ET.parse "/tmp/hnrss.xml" .getroot ; \ i=r.findall "./channel/item" ; print len i ; print i 0 .findtext "title" ' 20 Hang on to Your Firefox ∎ — § — Reply via email