4 ms·
> Question as someone who's new to RSS: is there a standard URL path that a reader can use to automatically find your XML feed? Yes. Add a link like this: <li
by scrollaway 5y ago
> Question as someone who's new to RSS: is there a standard URL path that a reader can use to automatically find your XML feed?
Yes. Add a link like this:
<link rel="alternate" type="application/rss+xml" title="My articles" href="/articles/rss/" />
(Or more likely, application/atom+xml -- rss is not great, atom is generally what you want, and what you'll be publishing)
- brundolf 5y agoNice! I'll add that. Probably I'll just add both versions.
- clscott 5y agoHonestly adding both isn't necessary. Just use Atom because RSS is an ill defined hodgepodge. I work for a service that creates "RSS" feeds as a side effect of what we do and they've all be Atom for 10+ years with no issues. Please let the RSS format die.
- brundolf 5y agoI have no horse in this race (I don't even know what Atom is tbh; I'm inferring that it's some kind of refined subset and/or extension of the RSS spec), and I'd prefer my site to be accessible to as many readers as possible.
- hypertele-Xii 5y agoAtom is basically RSS' successor, fixing some ambiguities in RSS' (lack of) spec.
- adtac 5y agoRSS 2 would've been far less confusing
- eli 5y agoUnfortunately not. “RSS 2.0” is the current version of old rss
- yjftsjthsd-h 5y agoOkay, fine; call it RSS 3.0
- Woodi 5y agoBut do you ever saw newer version that is simpler ? :) With less features or not-backward-compatible or without mechanism for plugging developed in future extensions... Making complicate protocol simpler require process equivalent to rewrite in software. Re-architecture the basics. It is more then seldom to the point you can think all that complications are intentional. One example of simplification that happen in IT is UTF-8. But it was more a replacement and big companies didn't switch anyway...
- theshrike79 5y agoRSS is like FTP. In theory it's a simple protocol, but there are so many differing implementations that it's a full-time job to keep up with all the little warts.
- arcbyte 5y agoRSS is not great but I abhorred atom with a passion back when I was working with feeds. It was a way overcomplicated xml mess. RSS is so much simpler to work with, you just have to deal with less than stellar documentation.
- acdha 5y agoMy impression was the opposite: RSS had so many warts and inconsistencies that you needed complex heuristics & a big test suite to handle things like encodings, relative links, and extensions whereas a single XML parse was all I needed for Atom. The authors had clearly learned the lessons from the early feed producer/consumer projects and tried to avoid making similar problems.
- scrollaway 5y agoYour impression is correct.