timetable_pages.txt
This is an optional, non-standard file called timetable_pages.txt. This file specifies which HTML timetables to group onto a single HTML page.
If you'd like to show timetables for both directions of a route on the same HTML page or show timetables for weekdays and weekends on the same HTML page then you'll want to use timetable_pages.txt.
Multiple routes can also be grouped onto the same page, such as an express and local route that have similar service patterns.
Field Definitions
timetable_pages.txt
Primary key (timetable_page_id)
| Field Name | Type | Presence | Description |
|---|---|---|---|
timetable_page_id | Unique ID | Required | A unique ID for the timetable page. |
timetable_page_label | Text | Optional | A label that will show up on the top of the page. Optional, defaults to using route name. |
filename | Text | Optional | The filename to use for the generated HTML file. Optional, defaults to timetable_page_id with file extension .html, for example 1.html. |
Example
timetable_page_id,timetable_page_label,filename
1,"Cloverdale, Healdsburg, Windsor, Santa Rosa","60.html"
2,"Sebastopol, Rohnert Park, Cotati","26.html"
Simple Example
This example just lists timetable_page_id and will default to creating 1.html, 2.html and 3.html.
timetable_page_id,timetable_page_label,filename
1,,
2,,
3,,
An example of this file is located in examples/timetable_pages.txt.