The ten most recent comments across all entries are now available in an Atom feed. This is primarily for me, so that I can avoid logging into my CMS a bajillion times each day.
Some notes:
I'm sort of lying about feed/link. Atom requires a feed-level link with
rel="alternate", which the spec says should point to an alternate
version of the contents of the feed. The thing is, I don't publish a
list of recent comments in any other format, so I'm forced to fib and
point to something largely
unrelated to the feed's contents. I chose this site's front page.
Why does Atom keep forcing me to lie?
Commentors' URLs are not included in the feed. Atom URLs have to actually be URIs -- no lying here -- and, while my system rejects malicious code, it makes no effort to ensure that what you've supplied in the URL field is really an URL. You could make, "Screw you, I'm not including an URL" your URL, and I wouldn't mind; but the Feed Validator would. (It wouldn't be very funny, anyway.) So, no URLs for now.
Fixed and fixed, Anne. Thanks for keeping me on my toes.
What am I missing, Robert? I'm using
atom:contentand the latest version of Atom, but the validator still complains when I remove thelinkelement.