sfg-taxonpages / orthoptera

0 stars 0 forks source link

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

Open wp-xc opened 1 week ago

wp-xc commented 1 week ago

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 commented 1 week ago

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 commented 1 week ago

Wow!

Splendid Jose!

Thanks!!!

Willem-Pier

Op wo 26 jun 2024 om 01:28 schreef José Luis Pereira < @.***>:

Hello @wp-xc https://github.com/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!

— Reply to this email directly, view it on GitHub https://github.com/sfg-taxonpages/orthoptera/issues/97#issuecomment-2190197168, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJOCUN4U4SMAWDDSOZTRPCLZJH4JTAVCNFSM6AAAAABJ37Q5Y6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJQGE4TOMJWHA . You are receiving this because you were mentioned.Message ID: @.***>

-- Xeno-canto @. | www.xeno-canto.org Sharing nature sounds from around the world*

Liked xeno-canto? Was it useful? Consider a donation https://www.xeno-canto.org/donate !

typophyllum commented 1 week ago

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

LocoDelAssembly commented 1 week ago

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 commented 1 week ago

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 commented 1 week ago

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 commented 1 week ago

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 commented 6 days ago

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