GTFS Importer
Import GTFS transit data and integrate with WpBusTicketly for ticket sales.
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/davebrainstorm/gtfs-importer_wpbusv2/archive/refs/heads/main.zipImport GTFS transit data into WordPress and integrate with WpBusTicketly for ticket sales.
Description
GTFS Importer allows you to easily import GTFS (General Transit Feed Specification) data into your WordPress site. It provides tools for displaying transit schedules, routes, and stops to your users, and integrates with the WpBusTicketly plugin for online ticket sales.
Key features:
- Import GTFS data from ZIP files, URLs, or FTP servers
- Display transit schedules, routes, and stops using shortcodes and widgets
- Map GTFS data to WpBusTicketly entities for ticket sales
- Support for GTFS Realtime feeds for live updates
- Extensive API for developers
Installation
- Upload the plugin files to the
/wp-content/plugins/gtfs-importerdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins' screen in WordPress.
- Use the GTFS Importer menu in the WordPress admin to configure the plugin and import your GTFS data.
Frequently Asked Questions
What is GTFS?
GTFS stands for General Transit Feed Specification. It's a common format for public transportation schedules and associated geographic information. GTFS allows public transit agencies to publish their transit data in a format that can be consumed by a wide variety of software applications.
Can I use this without WpBusTicketly?
Yes, the plugin functions independently for displaying transit data. The WpBusTicketly integration is optional and only used if you want to sell tickets online.
Does this plugin support GTFS Realtime?
Yes, the plugin supports GTFS Realtime feeds for trip updates, vehicle positions, and service alerts.
Screenshots
- Admin Dashboard
- Import Screen
- Route Mapping
- Frontend Schedule Display
Changelog
1.0.0
- Initial release
Upgrade Notice
1.0.0
Initial release
Shortcodes
The plugin provides the following shortcodes:
[gtfs_routes]- Display a list of routes[gtfs_stops]- Display a list of stops[gtfs_schedule]- Display a schedule for a specific route[gtfs_timetable]- Display a timetable for a specific route and direction
Credits
This plugin uses the following libraries:
- Google Maps JavaScript API for mapping features
- DataTables for enhanced tables