Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes. It's common practice for them to be called rss.xml and atom.xml but they can be anything you want. I use a `link` tag on my site -- I am not an expert here, but it seems applicable[1], RSS etc readers find it, and `meta` is documented only for use for cases that elements like `link` cannot represent.[2] So I'm confident enough this is correct-ish enough to write in a comment on HN :)

    <link href="https://example.com/rss.xml" rel="alternate" title="RSS feed for example.com" type="application/rss+xml"/>

    <link href="https://example.com/atom.xml" rel="alternate" title="Atom feed for example.com" type="application/atom+xml"/>
[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li...

[2] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/me...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: