gyim / breviar-ios

Liturgy of the Hours for iOS
5 stars 1 forks source link

Support for displaying Version history + About app in iOS app #53

Open breviar-sk opened 6 years ago

breviar-sk commented 6 years ago

CGI module contains new functionality:

  1. display Version history,

  2. display About app.

It generates HTML result (in the same way as prayers and other static stuff); de facto shows file "version-ios.htm" located in specific include folder (so please do not forget to add new version number + changes into these files).

1. Version history:

URL (replace prefix by call from iOS): http://localhost:2000/cgi-bin/l.cgi?qt=pst&st=i&p=1 Plus add &j= with language ID (sk, cz, hu).

2. About app:

URL (replace prefix by call from iOS): http://localhost:2000/cgi-bin/l.cgi?qt=pst&st=i&p=0 Plus add &j= with language ID (sk, cz, hu).

So these links are almost the same, only p parameter differs.

You could also pass all other parameters to query string EXCEPT qt, st and p.

breviar-sk commented 6 years ago

Link mentioned here works also online but shows another file (changes for web); it is sensitive to OS: different about files are for Android, iOS and web.

https://lh.kbs.sk/cgi-bin/l.cgi?qt=pst&st=i&p=1&j=hu