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 is kind of hiden and does not validate #607

Open
phb95 opened this issue Oct 12, 2021 · 1 comment
Open

RSS feed is kind of hiden and does not validate #607

phb95 opened this issue Oct 12, 2021 · 1 comment

Comments

@phb95
Copy link

phb95 commented Oct 12, 2021

I was not able to add the blog feed to my feed reder (Thunderbird)

There is no feed icon on the blog page but I found a link in the source code that points to https://www.zaproxy.org/blog/index.xml

But this does not validate with http://validator.w3.org/feed/

@kingthorin kingthorin self-assigned this Oct 12, 2021
@kingthorin
Copy link
Member

kingthorin commented Oct 12, 2021

This is failing because Hugo expects BaseURL to be Hostname (and path) to the root, however we have it set simply as / (likely because that makes local testing setups easier).

baseurl: "/"

I was able to confirm on a local test setup that baseurl: "http://0.0.0.0:3000/" works as expected.

Also the blog feed seems to be using a default Hugo bundled template while the base site feed uses the index.rss.xml in layouts. Hard coding the scheme/host in that file seems to work (for the base site), however copying the altered version to layouts/blog did not seem to work.

@kingthorin kingthorin removed their assignment Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants