-
Notifications
You must be signed in to change notification settings - Fork 944
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
Default RSS template generates invalid feeds #762
Comments
Cool, I'll give the |
It's not fixing the urlencoding yet though! Only the namespace that was invalid |
Gotcha. I guess we need a |
Yeah, I'm not sure what's the best solution. I think not allowing & and other special characters in the slugs is the simplest fix |
As next is failing to build, if anyone stumbles on this thread, the quickest fix is just to add a
to the build script, until the issue gets resolved. |
What error do you get with |
Here it is: https://paste.ubuntu.com/p/xGN72JDdVZ/ |
Really weird, I don't get that error and all CI pass for |
Hm, I'll look later if there's anything wrong with my setup. I even did a cargo clean in-between, and I don't have any odd custom versions of build-utils |
Do you maybe have a global installation of libsass somehow? |
I realised I wasn't running it inside nix-shell; doing it fixed the build! |
The |
Bug Report
Environment
Zola version: 0.8.0
Expected Behavior
RSS feed is validated by https://validator.w3.org/feed/ and RSS readers
Current Behavior
Generated RSS feed urlencodes the whole URL, which has some undesirable effects:
Step to reproduce
zola init test
zola build
Paste the generated
public/rss.xml
to https://validator.w3.org/feed/check.cgiFor example
https://gist.github.com/kanru/3926d9ad1a8b6ce5586fe7bad301dbfb
has following errors
RSS reader would generate something like:
https://example.com/https%3A//example.com/https%3A//example.com/hello-world/
The text was updated successfully, but these errors were encountered: