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

How do you add custom files to the sitemap? XML files get ignored by default #252

Open
nickjj opened this issue Oct 21, 2019 · 0 comments

Comments

@nickjj
Copy link

@nickjj nickjj commented Oct 21, 2019

Hi,

I noticed that XML files are being ignored by default which means RSS feeds aren't being added to the sitemap.xml file that gets generated.

The documentation only mentions how to exclude paths.

How would you add custom files to be added to the generated sitemap?

The use case is I went to submit my podcast to Google Podcasts and they said my feed wasn't crawled by Google. So then I checked Google Webmaster Tools and yep, it wasn't crawled. Then I checked the sitemap generated by this plugin and my feed URLs weren't included. They are xml files located in various paths of my project.

I didn't dive too deep in the source but it seems that you don't include xml files in this variable: https://github.com/jekyll/jekyll-sitemap/blob/master/lib/jekyll/jekyll-sitemap.rb#L19

Is there a reason behind that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.