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

NEW FEATURE REQUEST: Notification Link to Wikipedia on Bird (or other site) #165

Open
flewid opened this issue Aug 4, 2024 · 6 comments

Comments

@flewid
Copy link

flewid commented Aug 4, 2024

On the notification settings, it would be cool to have a {link_to_wikipedia} option so when we get a notification of a species, we can click to somewhere to read about the species etc.

@Emmo213
Copy link

Emmo213 commented Aug 6, 2024

PR opened

@UlrichThiess
Copy link

In Home Assistant i create a link with the $sciname

draft: https://de.wikipedia.org/wiki/($sciname).replace(' ', '_')

Any automatism should recognize your language.

@Emmo213
Copy link

Emmo213 commented Aug 22, 2024

I like your idea about using the language specific version of Wiki but that may be an enhancement in and of itself since the other places where Wiki is referenced (overview, play, stats, todays detections) don't do that currently.

@Nachtzuster
Copy link
Owner

Maybe having a url-encoded version of $sci_name and $com_name, like $sci_name_url and $com_name_url would offer a more generic solution, then one could put this in the notification: https://de.wikipedia.org/w/index.php?search=$sci_name_url
If someone want a link to some other info site that would be possible too.

@Emmo213
Copy link

Emmo213 commented Aug 25, 2024

Potentially except Wiki, allaboutbirds, and eBird all have different formats for linking to a bird.

$sci_name_url would only work with Wiki, $com_name_url would only work with allaboutbirds, and neither would work with eBird.

We could create a $infourl which would figure out the URL to use based on your information settings although that wouldn't respond with Wiki, which was the actual request, unless you wanted to add Wiki as an information option, but now we're getting into scope creep.

@lloydbayley
Copy link

This is a tricky one. the idea of a fluid link generator would certainly make things easier but the problem (even with a static one) is if the other site redoes the URLs, then all the link break. I suppose many people click on them so it would be reported fairly quickly. Could be worth a try anyway. But yes, scope creep is a factor....

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