|
Script Summary:
Adds iCalendar buttons for adding Hinfart and Rückfahrt events directly to your calendar application (for example MS Outlook). |
this script has 1 topic, 2 posts |
This script has no reviews. |
Background
iCalendar is a standard format for describing general events. It provides for field for the event description as well as for the date and time at which the event takes place. Modern calendar applications such as MS Outlook and many others are capable of interpreting this format and registering the information directly into the application. See for example:http://tools.ietf.org/html/rfc2445
http://en.wikipedia.org/wiki/ICalendar
What this script does
This scripts adds a button next to each train trajectory that is being booked through the German Rails portal. Upon clicking on the button, your calendar application should automatically be invoked (if properly configured) and the event added to your calendar.How to get it working
Clicking on the buttons causes the browser to 'download' a text file with MIME typetext/calendar. If you already have this content type registered with some calendar application, this should open automatically and recive the event. If not, Firefox will ask you which application you want to handle this file type. You can select an application by means of the file picker. Make sure you check the flag 'Open allways with this application' in order to bypass the question the next time.
Limitations
Note that the script is targeted at the Portal version which is customized for company clients, nor for the occasional user. Unless you do not work for a company which has an agreement with Deutsche Bahn for buying train tickets through the big customers portal, you will not be able to use this script. Sorry.Screenshots
1. The script reads the event information from the page...





