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

sitemap #24

Open
Jeffrey-de-Bruijn opened this issue Jul 20, 2022 · 5 comments
Open

sitemap #24

Jeffrey-de-Bruijn opened this issue Jul 20, 2022 · 5 comments

Comments

@Jeffrey-de-Bruijn
Copy link

Is there a sitemap plugin already?

@fabioricali
Copy link
Member

Hi, no at the moment. Would you like to get the sitemap from the router?

@Jeffrey-de-Bruijn
Copy link
Author

Yes I thought it would be smart for the doz-router to be able to generate sitemaps in XML format, as expected by google. After all, the router is what knows exactly what pages exist.

@fabioricali
Copy link
Member

Yes, it is an idea. The problem could be for dynamic routes such as "foo/bar /:id" in this case the router does not know the final route ... Are you using dynamic routes in your project?

@Jeffrey-de-Bruijn
Copy link
Author

I am using dynamic routes, however each individual implementation of doz differs.

I believe providing basic functionality for static routes is necessary, providing an example on how to handle dynamic routes is an extra nice touch.

@fabioricali
Copy link
Member

let me think

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

No branches or pull requests

2 participants