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

Writing a plugin for generating ROBOTS.TXT / sitemap.xml files #242

Open
PurpleSquirrelJohn opened this issue Apr 1, 2020 · 0 comments
Open

Comments

@PurpleSquirrelJohn
Copy link

I've been enjoying the plugins quite a bit lately. I've written two more websites that use them heavily. Hope plugins make it to general use in the next few months.

Anyway, I'm thinking of writing a plugin that automatically generates the ROBOTS.TXT and the sitemap.xml files from the structure of routes or any subrouters (with possible hints).

But, if I could get some opinions/feedback:

  1. Should I aim to generate this information as much as possible at compile-time? Or should I go the easy route and generate it mostly at run time?

I'm not convinced compile-time generation is really even possible for the sitemap, but should I even consider such things as a goal?

  1. What kind of "hinting" would be easiest to use when handling web pages URLs that are more dynamic in nature?

  2. Should I make this one plugin? Or make seperate a "ROBOTS.TXT" plugin and a "sitemap.xml" plugin.

Plus any other comments or desires, please let me know. (Can't guarantee anything, but at least I would know what is wanted.)

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

1 participant