Skip to content

Instantly share code, notes, and snippets.

@pirxpilot
Created September 15, 2013 14:56
Show Gist options
  • Save pirxpilot/6571474 to your computer and use it in GitHub Desktop.
Save pirxpilot/6571474 to your computer and use it in GitHub Desktop.
If you have a website promoting a restaurant, a hotel, a roadside attraction or any other type of the business or point of interest that people would visit on a trip you can add a Plan with Furkot button to allow visitors to your website mark it as a stop in their Furkot trips.
<form action="https://trips.furkot.com/trip" method="POST">
<input type="hidden" name="stop[name]" value="Okemo Mountain">
<input type="hidden" name="stop[address]" value="77 Okemo Ridge Road, Ludlow, VT 05149">
<input type="hidden" name="stop[coordinates][lat]" value="43.4046">
<input type="hidden" name="stop[coordinates][lon]" value="-72.7442">
<input type="hidden" name="stop[url]" value="http://www.okemo.com">
<input type="hidden" name="stop[notes]" value="Family Ski and Snowboard Resort in Ludlow, VT">
<input type="submit" value="Visit Okemo Resort on your trip">
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment