sstangl / tuja-vortaro

Tuja, simpla, libra poŝvortaro.
http://www.tujavortaro.net
GNU General Public License v2.0
24 stars 3 forks source link

Feature request: Allow query via URL #19

Closed dimitrior closed 6 years ago

dimitrior commented 6 years ago

Hi,

Firstly, congrats to all devs/contributors for a truly excellent tool.

Secondly - a "feature request" (apologies, I am not a web dev). I would like to ask if it would be possible to allow querying via URL parameters (like this: http://www.tujavortaro.net/{myquery}) - if it is not already possible. This would be useful for integrating TV into e.g. http://readlang.com/settings

Thanks! Dimitri

sstangl commented 6 years ago

The following pattern allows for this:

http://www.tujavortaro.net/?vorto=hello

I don't know if it's really useful for external API-like use, since it still loads the full dictionary and searches via Javascript.

dimitrior commented 6 years ago

Bonege, dankon!