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

feature request: pretty print option #157

Open
reslear opened this issue Jan 17, 2024 · 6 comments
Open

feature request: pretty print option #157

reslear opened this issue Jan 17, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@reslear
Copy link

reslear commented Jan 17, 2024

add pretty print option:

ekalinin/sitemap.js#230

@boazpoolman boazpoolman added the enhancement New feature or request label Jan 17, 2024
@boazpoolman
Copy link
Member

@reslear Could you further explain how the pretty print option could/should benefit the plugin?
We allready have XSL in place for styling of the XML.

@boazpoolman boazpoolman added the Question More information was requested label Jan 18, 2024
@reslear
Copy link
Author

reslear commented Jan 18, 2024

@reslear Could you further explain how the pretty print option could/should benefit the plugin? We allready have XSL in place for styling of the XML.

about source code ;)

@boazpoolman
Copy link
Member

Still not sure why that would matter

@reslear
Copy link
Author

reslear commented Jan 18, 2024

SEO specialist manually in the process of debugging or analyzing, it is more convenient to have a format that is easy to read and understand.

maybe add qs param like sitemap.xml?raw or sitemap.xml?pretty for printing source petrified

@boazpoolman
Copy link
Member

Allright. I can see the use in that.

It'll most likely become a boolean setting, to keep the sitemap URL clean of excessieve parameters.

Thanks for bringing this up!

@boazpoolman boazpoolman removed the Question More information was requested label Jan 18, 2024
@reslear
Copy link
Author

reslear commented Jan 18, 2024

Sure thing! Thanks for considering it.

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

No branches or pull requests

2 participants