Re:Show HN: RSS feeds for arbitrary websites using CSS selec...
by detaro on Tuesday July 06, 2021 @07:30AM
(#27746951)
https://microformats.org/wiki/h-feed is the up-to-date version
Re:Show HN: RSS feeds for arbitrary websites using CSS selec...
by askhan on Tuesday July 06, 2021 @07:38AM
(#27747037)
I like this name better — the h prefix is cool in that it shows things are coming all the way from basic HTML.
Microformats, I see this is the proper way.
Re:Show HN: RSS feeds for arbitrary websites using CSS selec...
by Vinnl on Tuesday July 06, 2021 @08:05AM
(#27747316)
Ah thanks - been out of that world for a long time now.
Re:Show HN: RSS feeds for arbitrary websites using CSS selec...
by askhan on Tuesday July 06, 2021 @07:32AM
(#27746970)
Ah thanks, didn't know about hAtom, will investigate that.
I do think it's (much) easier to add some HTML classes than output an entire separate file.
I've been using Nuxt + Strapi as my new CMS stack, and while it's a big step forward in so many other ways, outputting an RSS feed is far from automatic.
Happy to take a merge request that adds the option to set `extends = "sfeed"` or `extends = "hatom"` and then automatically sets the correct selectors though.
(That said, if a publisher goes through the trouble of adhering to those selectors, they might as well publish a feed while they're at it :)