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

Generating Sitemap Index Without Sections #264

Open
sirolad opened this issue Nov 13, 2020 · 1 comment
Open

Generating Sitemap Index Without Sections #264

sirolad opened this issue Nov 13, 2020 · 1 comment
Labels

Comments

@sirolad
Copy link

sirolad commented Nov 13, 2020

Description

Sometimes there is a need to clean up sections that are no longer relevant in the sitemap index. Creating a dump of all sections might not be feasible as this might time out. Is there a way to do this already or it would be better to create a flag to do this such that when next I run the command the section flag, I only get sections that are relevant only?

Example

@yann-eugone
Copy link
Member

You've well analysed the situation.
Sitemap sections are only removed during full dump.

The incremental dump feature cannot remove any section because there is no guarantee that a particular section is not filled somewhere else...

We will need some code to make this possible.
So far I see 2 possibilities :

  • add command option/argument, with which you define the section(s) you wish to remove
  • add config node that tells which section your app has, and use this value to remove other entries

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

No branches or pull requests

2 participants