Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rss feed #61

Open
crazymonkyyy opened this issue Jan 20, 2021 · 3 comments
Open

Rss feed #61

crazymonkyyy opened this issue Jan 20, 2021 · 3 comments

Comments

@crazymonkyyy
Copy link

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
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants