2 ms·
By the way, Kevin: it may seem overly picky, but would it not be cleaner to have <link href=/feed.atom rel=alternate title="Blog Posts" type=application/ato
by mdp2021 5y ago
By the way, Kevin: it may seem overly picky, but would it not be cleaner to have
<link href=/feed.atom rel=alternate title="Blog Posts" type=application/atom+xml>
instead of
<link href=../../../../feed.atom rel=alternate title="Blog Posts" type=application/atom+xml>
?
- kevincox 5y agoIt could, but my site is available via IPFS so I use relative links everywhere in case a gateway is used. For example https://ipfs.io/ipns/kevincox.ca/2022/05/06/rss-feed-best-practices/ https://ipfs.io/ipns/kevincox.ca/2022/05/06/rss-feed-best-pr.... That being said with subdomain gateways being widely available now it is pretty safe to go back to absolute links as https://kevincox-ca.ipns.dweb.link/2022/05/06/rss-feed-best-practices/ https://kevincox-ca.ipns.dweb.link/2022/05/06/rss-feed-best-... handles absolute references just fine. And of course none of this matters much if you have a non-IPNS reference because the feed will never change making it mostly useless.