Adding RSS Feed Link Tag
Recently, I added some Atom (RSS)https://stackoverflow.com/questions/3489578/which-is-most-used-rss-or-atom-and-which-one-is-better-to-build-from feeds to my website. I wanted to make sure that I appropriately linked them in my website’s header.
The solution is to use a
<link>Link documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link element:
<link rel="alternate" title="Erika Rowland Combined Feed" type="application/atom+xml" href="https://erikarow.land/combined.xml" >
I have multiple feeds so I wanted to make sure I knew how to appropriately link all of them. It seems that it’s valid to simply add a
<link> element for each feed: