Intro
I want to tell you how to add a bit of geekiness to such a banal thing as a class schedule.
So, the class schedule is an important aspect of students' day planning (who go to classes and do not
spit at the ceiling make money). If they are not missed (yes, there are such :-), then they take at least half of the working day.
I do not know about the others, but we (and I study at KNURE), classes start every day at different times and the number of couples also changed. In addition, there were constantly changes in the schedule.
But there is a nice feature - the schedule is available online (
tyts ).
It seems like everything is elementary - you enter yourself every day, you look for changes. But this is normal for “ordinary” people, but I will not do this routine every day :-)
Although the truth is that the impetus for changing this situation was that I once came to a canceled couple :-)
What is the way out?
After Google introduced its own notifications, which made it possible to synchronize not only mail, but also a calendar with an iphone, it was decided that it was time to act.
A small script was written, executed in two parts. The first synchronizes the local database with the base of the site, and the second - the local one with the calendar.
Now it remains only to configure these scripts to run on the crown once a day and now in my pocket is always the current schedule.
Here's what it looks like in the end:


What else?
If it could be someone who plans to make a similar thing for his schedule, here are a couple of ideas that I want to add to myself when there is time and desire:
- Notification of the first pair one hour before the start (or how much you need to get to). In this case, it will not even be possible to keep track of the schedule, the notifications themselves will pour in :-)
- You can also make notifications between pairs, say 5 minutes before the start, although I think this is unnecessary.
What were the problems
When receiving a list of events, Google has a limit, like for 20 requests, did not exactly count. So I have synchronization for the next week, so that when I synchronize with Google I will receive all the necessary events. I have not found a solution yet, although I didn’t really look for it In the extreme case, the time interval can be divided into weeks and merged later.
That's probably all. If there is any value in it and it is worth transferring it to a thematic blog - tell me. Or if you print and burn - you can also say :-)
')
PS For those who do not vkurse, synchronization can be configured even on a regular phone (I did on CE)