#9 Add support for other DSBs / DSB formats

Закриті
5 роки тому відкрито dfronczek · 2 коментарів
dfronczek відкоментовано 5 роки тому

It would be nice if the app could handle different formats of DSB tables/websites.

The option to reauthenticate is curently most useful if the other school or institution uses the same website format as the AvH.

Instead, the "reauthenticate" dialog could include additional inputs:

  • URL (in the long run; heinekingmedia – the company behind the original Das Digitale Schwarze Brett® – seems to host all schools on the same server)
  • format string: contains all information required to parse the website, i.e. where to find the date, time, class, teacher and comments on the website as well as the general announcements, etc. Ideally, this format string could directly be used by an exisiting parsing solution, e. g. jsoup (https://jsoup.org/).
It would be nice if the app could handle different formats of DSB tables/websites. The option to reauthenticate is curently most useful if the other school or institution uses the same website format as the AvH. Instead, the "reauthenticate" dialog could include additional inputs: - URL (in the long run; heinekingmedia – the company behind the original Das Digitale Schwarze Brett® – seems to host all schools on the same server) - format string: contains all information required to parse the website, i.e. where to find the date, time, class, teacher and comments on the website as well as the general announcements, etc. Ideally, this format string could directly be used by an exisiting parsing solution, e. g. jsoup (https://jsoup.org/).
fynngodau відкоментовано 5 роки тому
Власник

Concerning URL:

We are currently querying two different URLs, one for authenticating and one for querying timetables. It would not be feasible to ask the user to find the API points for other servers. However, this could be done with a dropdown menu (to choose between presets).

Concerning URL: We are currently querying [two different URLs](https://notabug.org/fynngodau/DSBDirect/src/6f94c1407341653f98db66d7a457608a174e5708/app/src/main/res/values/strings.xml#L38), one for authenticating and one for querying timetables. It would not be feasible to ask the user to find the API points for other servers. However, this could be done with a dropdown menu (to choose between presets).
fynngodau відкоментовано 5 роки тому
Власник

It is now possible to implement new parsers easily after commit ddbe7fe21a and previous.

It is now possible to implement new parsers easily after commit ddbe7fe21a and previous.
Підпишіться щоб приєднатися до обговорення.
Етап відсутній
Немає відповідального
2 учасників
Завантажується...
Скасувати
Зберегти
Тут ще немає жодного вмісту.