Changes

Jump to: navigation, search

Deeplink

425 bytes added, 11:27, 11 February 2020
no edit summary
To load addresses automatically, add addresses to the URL in this format:
www.routexl.nlcom/?q=<address1>$<address2>$<address3>$<address4>
In other words, using the parameter '''q''' and seperating with a dollar sign. Addresses need to be urlencoded. A minimum of three adresses is required.
To change the language of the website, add the parameter '''lang''':
www.routexl.nlcom/?q=<address1>$<address2>$<address3>$<address4>&lang=en
By default the deeplink will find a roundtrip. The first address is also the endpoint of the route. To have the route end at the last address, add the parameter '''roundtrip''' and set it to ''false''. When ending at the last address, a minimum of four addresses is required.
www.routexl.nlcom/?q=<address1>$<address2>$<address3>$<address4>&roundtrip=false
=== Additional fields ===
This is experimental, but you can add additional fields to each address. E.g. name of the stop, its servicetime, time slot and comments. To add these fields, use the same [[Import|import formatting]]. Additional fields must be urlencoded with the address.
 
=== Auto login ===
 
If your deeplink has more than 20 stops, you'll need to be logged in with an upgraded account. To make sure someone is logged in when opening the deeplink, use the login with redirect:
 
www.routexl.com/blog/wp-login.php?redirect_to=<redirect_url>
 
Note that the redirect url must be urlencoded on itself. As a result the addresses in the deeplink are urlencoded twice. E.g. space %20 becomes %2520.
== Example ==

Navigation menu