funkydan2 / hugo-kiera

Kiera - A Hugo Theme for writing
https://hugo-kiera.netlify.app
MIT License
71 stars 53 forks source link

Rss feed #61

Open crazymonkyyy opened 3 years ago

crazymonkyyy commented 3 years ago

I was told my site rss feed doesn't work in thunderbird; I dont know if this is my fault, I ripped out some js but it works in feedly at least partially

https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fmonkyyy.science%2Findex.xml

funkydan2 commented 3 years ago

The problem is that you're building the site without having baseURL set (or it's set baseURL = "/"). Because of this, the RSS feed contains relative URLs. which an RSS reader is unable to interpret (because they dont' know what domain to point it to).

Are you able to set baseURL = https://monkyyy.science in the config file?

crazymonkyyy commented 3 years ago

It was already "monkyyy.science", I added the http just to be sure does it work with thunderbird with other sites?, feedly always worked for me but I verified that thunderbird is broken

I was took a slegdehammer to the theme to make it always dark,(didnt see the custom css in config at the time) if thunderbird works for others i'd probaly should just grab a fresh copy

funkydan2 commented 3 years ago

Overriding the CSS shouldn't impact this.

If you look at the output from the feed validator, you can see the issue is there the RSS file has relative URLs rather than absolute.

This feed does not validate.
line 5, column 10: link must be a full and valid URL: / [help]
   <link>/</link>

The data between <link></link> is generated by the .Permalink variable. The output of .Permalink can be configured in the config file and when baseURL isn't correctly set, it will output relative URLs rather than absolute.