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

Proposals for different presentation of Xeno-canto sound recordings #97

Open
wp-xc opened this issue Jun 25, 2024 · 8 comments
Open

Proposals for different presentation of Xeno-canto sound recordings #97

wp-xc opened this issue Jun 25, 2024 · 8 comments

Comments

@wp-xc
Copy link

wp-xc commented Jun 25, 2024

We have recently added thousands of recordings to Xeno-canto in a project that has now more or less finished, so it may be a good time to refresh the data you have on XC recordings. There are about 25000 recordings on Xeno-canto now, predominantly from Europe.

We would like to make a suggestion on the presentation of the XC recordings.

@jlpereira
Copy link
Contributor

Hello @wp-xc

MM sent me your email yesterday. today I implemented a new tab for this, following your example, you can check it out here:
https://orthoptera.speciesfile.org/otus/829396/xenocanto

I hope this works for you.

Cheers!

@wp-xc
Copy link
Author

wp-xc commented Jun 26, 2024 via email

@typophyllum
Copy link
Collaborator

Would it be possible to grey-out the heading of the tab with species and genera where no sounds are available?

@LocoDelAssembly
Copy link
Contributor

Worth noting that would add additional delay. Perhaps we could consider crawling the API daily with grp: grasshoppers query and serve from those results instead of hitting the API on every page display.

@jlpereira
Copy link
Contributor

Would it be possible to grey-out the heading of the tab with species and genera where no sounds are available?

It's not possible. Taxonpages doesn't know if the audios exist until it makes the request to xeno-canto, even so the tabs are layout spaces, the only thing we can do is hide or show them depending on the range group of the taxa. This is something we are already doing

@typophyllum
Copy link
Collaborator

typophyllum commented Jun 26, 2024

The old OSF has sound recordings of 1000 species (999 to be exact) and xeno-canto might cover a few additional European species. There are over 29,100 extant species, so even if we hosted all OSF sounds on xeno-canto, still only 3.44% of the species would have content on the xeno-canto tab.

Users might be discouraged after looking there a few times without avail and simply think that it doesn't work. Same with iNat. Could perhaps Hernán's idea be extended to something like a protocol to automatically check the API perhaps once a month and somehow deactivate the tab for species where no content is found?

@LocoDelAssembly
Copy link
Contributor

For iNaturalist crawling to have cached responses (or at least enough information to know that hitting the API likely will bring data) is not that easy, xeno-canto's grasshoppers sounds are not a extremely long list and can be crawled completely in minutes.

At the moment of writing this comment, https://xeno-canto.org/api/2/recordings?query=grp:grasshoppers returns 50 pages.

@klausriede
Copy link

Indeed frustrating! Maybe include the number of links in the tab? F.e. inaturalist (0) might be useful to dedicate searches in inaturalist...

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

5 participants