-
Notifications
You must be signed in to change notification settings - Fork 26
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
Comments
PR opened |
In Home Assistant i create a link with the $sciname draft: https://de.wikipedia.org/wiki/($sciname).replace(' ', '_') Any automatism should recognize your language. |
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. |
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: |
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. |
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.... |
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.
The text was updated successfully, but these errors were encountered: