Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sevcsik/neptun2ics
Converts Neptun timetables to iCalendar format
https://github.com/sevcsik/neptun2ics
Last synced: about 1 month ago
JSON representation
Converts Neptun timetables to iCalendar format
- Host: GitHub
- URL: https://github.com/sevcsik/neptun2ics
- Owner: sevcsik
- Created: 2010-08-16T22:25:59.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-02-08T18:55:44.000Z (almost 13 years ago)
- Last Synced: 2024-04-16T18:00:30.035Z (8 months ago)
- Language: Ruby
- Homepage:
- Size: 102 KB
- Stars: 4
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
neptun2ics by sevcsik
Converts Neptun timetable to iCalendar format
Dependencies: ruby (tested with 1.9.1), rubygems, icalendar gem
To install icalendar, do
# gem install icalendarFirst, view your timetable with 'Listas nyomtatas', and save it as complete web page.
Then you can convert it to ics :)Usage: neptun2ics [output file] [options]
options: -d --date <"YYYY-MM-DD"> first monday of the semester
-f --format <"format"> format of the title field of events
-w --weeks length of active part of semester in weeks
format: available keywords: \#{name}, \#{code}, \#{location}
for example, '\#{name} (\#{code}) @ \#{location}'
note: some browsers like Chrome strips class attributes form saved html,
so the script can't find the table. Save as complete web page to avoid this.