Skip to content

trufi-association/route-pages-wordpress

Trufi Route Pages

License: GPL v2

Trufi Route Pages is a Wordpress plugin developed by The Trufi Association to complement the Trufi mobile application. It allows Wordpress to receive a URL request containing a route ID and name and display it as a post. The plugin also generates a dynamic sitemap.xml based on route information from the openGraphql API.

About The Trufi Association

We are a non-profit NGO founded by a group of German and Bolivian volunteers in 2019. Our mission is to transform mobility in cities with open source apps and open data solutions that enable innovation. We help cities realize a public transport app, even in places where transport is unregulated.

Plugin Information

Installation

  1. Compress the plugin files in a .zip file named TrufiApi-maps.
  2. Use the regular Wordpress plugin installation process to install the .zip file.
  3. Navigate to Wordpress administration and then configuration.
  4. Set the required values for this plugin, such as the Graphql server URL.
    1. If your are using OpenTripPlanner v1, the Graphql URL might be something like https://yourotp.example.com/otp/routers/default/index/graphql
    2. You need to create a new empty base page for the routes

Testing

You can test if the plugin works by accessing the URL path /wp-sitemap-routes-1.xml of your page.

Contributing

We appreciate all contributions! If you're interested in contributing, please see our contributing guidelines.

License

This project is licensed under the GPL v2 License - see the LICENSE file for details.

Contact

For more information, you can reach us through our website.

About

Trufi Route Pages for Wordpress

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •