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

custom synth should accept collection names #5

Open
mtholder opened this issue Apr 1, 2021 · 1 comment
Open

custom synth should accept collection names #5

mtholder opened this issue Apr 1, 2021 · 1 comment

Comments

@mtholder
Copy link
Member

mtholder commented Apr 1, 2021

or lower-case the user input, if we lower-case the "name" field when saving.

See https://github.com/OpenTreeOfLife/collections-1/blob/master/collections-by-owner/snacktavish/woodpeckers.json

Which has the "name" field listed as "Woodpeckers"

@jimallman
Copy link
Member

If this follows the id conventions used for tree collections, the appropriate conversion is probably to a "web slug" (hyphens and lower case, with special characters removed). Currently used slugify methods in OpenTree:

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