TriplyDB / Yasgui

Yet Another Sparql GUI
https://yasgui.triply.cc
MIT License
185 stars 55 forks source link

Enable yasgui.org/shorten for other domains? #109

Closed l00mi closed 7 years ago

l00mi commented 7 years ago

Is it possible to make the urlshortner of yasgui.org available for other domains? I tried this at http://data.admin.ch/sparql/ and except of a empty answer from yasgui.org it seems to work.

LaurensRietveld commented 7 years ago

Just curious: why would you prefer the yasgui shortener over other shortener services?

l00mi commented 7 years ago

Ah, there seems to be a miss understanding on my side. Which other services could be used for this?

LaurensRietveld commented 7 years ago

There are a few other services such a bit.ly or the google shortener. I tried some of these, but noticed that their use is a bit cumbersome (e.g. not supporting cors, without an API key). So, I just removed the cors limitation of the yasgui shortener (see https://github.com/OpenTriply/YASGUI.server/commit/d38f4f69d4a942e6ed9c4a33b26bee30c6479538). I see you're instance works fine now

l00mi commented 7 years ago

Genius! Thank you very much.