timetable_pages.txt
This is an optional, non-standard file called timetable_pages.txt
which can be included in an agency's GTFS. This file specifies which HTML timetable to group together into a single HTML page.
If you'd like to show timetables 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 need timetable_pages.txt
.
#
Column Definitionscolumn name | description |
---|---|
timetable_page_id | A unique ID for the timetable page |
timetable_page_label | A label that will show up on the top of the page. Optional, defaults to using route name. |
filename | The filename to use for the generated HTML file. Optional, defaults to timetable_page_id with file extension .html , for example 1.html . |
#
Example#
Simple ExampleThis example just lists timetable_page_id
and will default to creating 1.html
, 2.html
and 3.html
.
An example of this file is located in examples/timetable_pages.txt.