Need absolute URI for rel="self" link
nsamarak opened this issue · 1 comments
Per the W3C guidelines (https://validator.w3.org/feed/docs/warning/RelativeSelf.html), rel="self" links need to be absolute URIs, not relative. Services such as Google News and Apple News require the rel="self" link to match the W3C guidelines in order for them to consume your blog content.
I'm on hexo-generator-feed 2.2.0 and the rel="self" link is relative, so I was going to submit a pull request. However, the latest code in github (see below) appears to generate an absolute URI. Is that correct?
hexo-generator-feed/lib/generator.js
Line 52 in 60fe0b5
I'm on hexo-generator-feed 2.2.0 and the rel="self" link is relative, so I was going to submit a pull request. However, the latest code in github (see below) appears to generate an absolute URI. Is that correct?
The latest version of hexo-generator-feed
is 3.0.0. Try update first?