1. Home
  2. Docs
  3. GTFS
  4. Open Data

Open Data

Adding a Preview Schedule

  • The open data page is designed to display all the links set in Settings > General
  • These fields will automatically be populated to the open data table

  • Once this file has been added, you’ll need to set a preview date in the Schedule Preview Date metafield
  • This date will the date that the preview button will appear on the route-overview page.
  • In addition to setting the preview date, you will need to set a date for when the new preview schedule is meant to turn into the live schedule in the Upcoming Route/Note XML File Date metafield. On this date, the preview XML file will turn into the new live schedule.
  • When it is time for a new preview schedule, the old preview schedule XML link will need to be copied and pasted into the Route/Note XML File Url metafield
  • The cronjob will need to be ran after these changes, followed by the cache being cleared. See cronjob documentation here – https://www.bctransit.com/docs/gtfs/cronjob/

How can we help?