cldf-clts / clts-legacy

Cross-Linguistic Transcription Systems
Apache License 2.0
4 stars 3 forks source link

Custom CLTS Web Presentation #39

Closed LinguList closed 6 years ago

LinguList commented 6 years ago

This is based on the decision taken in #38.

LinguList commented 6 years ago

Update: we now also have a webreference that provides basic information of the data both as simple table and in json. Format is simple: just write down the name, and this provides all information we currently have on it:

Yields:

screenshot_2018-01-04_15-38-54

and if you write http://lingulist.de/clts/clts.py?name=voiceless%20bilabial%20stop%20consonant?plain=true

you'll get JSON.

LinguList commented 6 years ago

This is a simple python-cgi script and a sqlite-database which runs it, but it is probably convenient to serve as the background information provider if we want to reference sounds via some kind of ontology.

tresoldi commented 6 years ago

Nice! I can already think of many ways to use and extend this, including a Wikipédia botar.

Em 4 de jan de 2018 12:40 PM, "Johann-Mattis List" notifications@github.com escreveu:

This is a simple python-cgi script and a sqlite-database which runs it, but it is probably convenient to serve as the background information provider if we want to reference sounds via some kind of ontology.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cldf/clts/issues/39#issuecomment-355298545, or mute the thread https://github.com/notifications/unsubscribe-auth/AAar9x3y1JyfKYu5Y5Naw4RVrp4K7J47ks5tHOLXgaJpZM4Q0apy .

LinguList commented 6 years ago

The same works with plain javascript:

But it's a bit of an overkill, as it needs to load the sql.js library and also the sqlite database. So better stick to simple Python.

tresoldi commented 6 years ago

Great logo for CLTS, too.

LinguList commented 6 years ago

The web-interface for simple query has further been changed, and added to the basic query. In principle, we could even leave it there: The translation functions etc. are already covered by the python code, and people can query all sounds that are there in the data now. This means, we can use a simple landing page, a query page, and that's it. Even a simple landing page with query on the same page may suffice, we'll just link to github (similar to the cldf website) for tutorials and the like.

LinguList commented 6 years ago

Okay, we have the raw strucutre of the clld app now, and will take over from there.