No disponible en castellano
Route List Plugin
By adding this code in your page, you can show a list of routes on your website.
Routes can be searched on by one of the following terms:
Routes can be searched on by one of the following terms:
- language, location, type, keywords
- group
- owner
Example
Code
Copy paste the following code into the HTML code of your website :
<script type="text/javascript">
routeyou_list_width = '256';
routeyou_list_height = '550';
routeyou_list_color_background = 'ebe2dd';
routeyou_list_group = 276;
routeyou_list_link = 'http://www.routeyou.com/route/view/%id%';
</script>
<script id="routeyou_script_id" src="http://ws.routeyou.com/list.js" type="text/javascript"></script>
Parameters and usage
To use the plugin you need to copy past the code above into you HTML code, then you edit or add the parameters to your needs.Standard Parameters
- routeyou_list_width : Width of the plugin, default 274.
- routeyou_list_height : Height of the plugin, default 750.
- routeyou_list_color_background : Backgroundcolor of the plugin (RGB).
- routeyou_list_link : link to the routedescription location, default this is the route viewer at the routeYou website.
Search Routes
Parameters to show routes by location, type, language or keywords:- routeyou_list_type : Type of route (BIKE, WALK, MOTOR, OTHER).
- routeyou_list_language : Language of the route (ISO2).
- routeyou_list_location : Location the route goes through.
- routeyou_list_keywords : keywords that appear in the route description or title
Routes from a Group
Parameter to show routes from a group- routeyou_list_group : Group id, this ID can be found at the routeyou website, click 'groupes' and click the group you need, the id will be visible in the hyperlink after /group/view/
Routes from a User
Parameter to show routes from a user- routeyou_list_user : User id, this ID can be found at the routeyou website, search the username, or click a route from this user and click the username or avatar, the id will then be visible in the hyperlink after /user/view/