ironjan / MensaUPB

Oldest (and probably: most unmaintained) mensa app for the university of Paderborn.
http://ironjan.de/category/all/projects/mensaupb/
Apache License 2.0
4 stars 2 forks source link

Extract Opening Times from Website #126

Open ironjan opened 8 years ago

ironjan commented 8 years ago

The opening times seem to be placed in a div .tx-oeffnungszeiten. This could be used to extract the opening times for the app or another API.

E.g. http://www.studentenwerk-pb.de/gastronomie/speiseplaene/mensa/ Chrome Dev Console Query: $$('table[class="contenttable contenttable-0"', 'div[class="tx-oeffnungszeiten"]')

ironjan commented 8 years ago

It was requested if the STW API can be extended to return the compiled templates at some url.

ironjan commented 7 years ago

Currently added this as a link opening the browser. Maybe this can be moved to an app-internal browser as in facebook etc. (https://www.androidhive.info/2016/12/android-working-with-webview-building-a-simple-in-app-browser/)