Closed kueda closed 9 years ago
@kueda thanks for suggesting this . . . is it correct to assume that both http://globalbioticinteractions.org and http://globalbioticinteractions.org/browse should have this kind of features?
In order to be consistent with the GloBI api, I imagine something like:
http://www.globalbioticinteractions.org/?sourceTaxon=Patiria%20miniata&interactionType=preysOn
Today, I learned that @danielabar has built a prototype with a similar link feature: http://danielabar.github.io/globi-proto/#/main?name=Patiria%20miniata&interaction=preysOn
Is this similar to what you were looking for as far as linking goes?
Basically. States in web applications should have stable URLs, particularly if they're interesting enough to share with others. I was specifically thinking about http://www.globalbioticinteractions.org b/c I wanted to show someone an interaction there and realized I couldn't link to it.
I made an attempt to implement this (see attached). Please re-open / submit pull request if you have another way of doing this. Hope you can more easily share interactions now!
Cool, seems to be working: http://www.globalbioticinteractions.org/#sourceTaxon=Larus%20occidentalis&interactionType=preysOn. Thanks!
When I search for an interaction I expect a URL for the results that I can share, maybe something like
http://www.globalbioticinteractions.org/#taxon=Patiria+miniata&interaction=preys_on