Melton Mowbray Group

_README

 

The articles in this category are examples of how to display your walks from the Walks Finder.

A guide the the system used is at https://github.com/ramblerswebs/ramblers-library/wiki

While the code added to each article or module is in PHP you don't need to know much about PHP unless you want a new format for displaying your walks.

Please note:

  • All the examples use walks for the group DE02 (Derby & South Derbyshire) Please change this code to your group
  • These code examples can be added to either an aricle or module, see wiki for details
  • You may add text before or after the PHP script
  • Once you have decided which formats you wish to use you should delete or disable the other formats. You may also wish to add menu items that point directly to the formats you wish to use.

Sample code

The code below will display the full details of future walks

Sample code

<?php
//error_reporting(E_ALL);
//ini_set('display_errors', 1);
$rafeedurl ="http://www.ramblers.org.uk/api/lbs/walks?groups=de02";
$feed=new RJsonwalksFeed($rafeedurl); // standard software to read json feed and decode file
$display= new RJsonwalksStdFulldetails(); // code to display the walks in a particular format
$feed->Display($display); // display walks information
?>

Comments about the code

  • The code is surrounded by the tags This tells the system that the code between these tags is in the PHP language
  • Text after the // symbols are comments
  • Each PHP line must end with a ;
  • Text string must be contained in quote marks. "text"
  • error_reporting(E_ALL); and ini_set('display_errors', 1); These lines are comments. If you remove the // then they provide some error reporting, this is useful if you are having problems
  • $rafeedurl ="http://www.ramblers.org.uk/api/lbs/walks?groups=de02"; This line defines the URL of the feed from the Ramblers Led Walks and Events System - please see out wiki above for further details. de02 is the group code whose walks are to be displayed.
  • $feed=new RJsonwalksFeed($rafeedurl); This line tells the system the feed URL and the code retrieves the walks
  • $display= new RJsonwalksStdFulldetails(); This line defines how you wish to display the walks
  • $feed->Display($display); This line tells the system to display the walks with the chosen display method
  • The code MUST be entered into an article are normal paragraph text, if it is any other style it may just display the code itself rather than your walks

Easy AccessEasyLeisurelyModerateStrenuousTechnical
Moderate Sunday, 22nd October 2017, Tissington, Milldale & Alsop en le Moor, 10mile / 16.1km
Moderate Sunday, 29th October 2017, Brackenfield, Crich & South Wingfield, 11mile / 17.7km
Leisurely Sunday, 29th October 2017, Heage & farmland to the south & east, 4.9mile / 7.9km
Moderate Wednesday, 1st November 2017, A New Pair of Boots, 8.5mile / 13.7km
Moderate Sunday, 5th November 2017, Wetton & Grindon area, 10.5mile / 16.9km
Moderate Sunday, 12th November 2017, Froghall, Ipstones, Consall Wood & Kingsley, 11mile / 17.7km
Leisurely Sunday, 12th November 2017, Sandiacre to Stanton & Risley, 5mile / 8.1km
Moderate Wednesday, 15th November 2017, Mystery Tour, 8mile / 12.9km
Moderate Sunday, 19th November 2017, Thorpe area, 10mile / 16.1km
Moderate Sunday, 26th November 2017, Ilam area, 10mile / 16.1km
Leisurely Sunday, 26th November 2017, Denby area, 5mile / 8.1km
Moderate Wednesday, 29th November 2017, Park and Woods, 9mile / 14.5km
Moderate Sunday, 3rd December 2017, Okeover, Swinscoe & Stanton, 10mile / 16.1km
Moderate Wednesday, 6th December 2017, Xmas Lunch, 5mile / 8.1km
Moderate Sunday, 10th December 2017, Cromford area, 11mile / 17.7km
Leisurely Sunday, 10th December 2017, Trent Lock all-weather walk, 5mile / 8.1km
Moderate Wednesday, 13th December 2017, Bee Wall, 7.5mile / 12.1km
Moderate Sunday, 17th December 2017, Netherseal, Lullington & Coton in the Elms, 10mile / 16.1km
Moderate Wednesday, 27th December 2017, Soup and a Roll, 5mile / 8.1km
Moderate Sunday, 31st December 2017, Allestree area, 10mile / 16.1km
Moderate Sunday, 28th January 2018, post-Xmas walks & lunch: two walks, 7m & 5m, followed by lunch (booking essential - contact Tony or Sue)), 7mile / 11.3km
Moderate Sunday, 25th February 2018, Winster & Aldwark, 12mile / 19.3km
Moderate Sunday, 4th March 2018, Ashover area, 10mile / 16.1km
Moderate Sunday, 18th March 2018, Longnor area, 11mile / 17.7km
Moderate Sunday, 25th March 2018, Gradbach, The Roaches & Lud’s Church, 10mile / 16.1km
Moderate Sunday, 1st April 2018, Ticknall, Repton & Foremark, 10mile / 16.1km
Moderate Sunday, 8th April 2018, Peak Forest & Peter Dale, 10.5mile / 16.9km
Moderate Sunday, 22nd April 2018, Parwich area, 10.5mile / 16.9km
Moderate Sunday, 29th April 2018, Rangemore area bluebell walk, 10.5mile / 16.9km
Moderate Sunday, 20th May 2018, Beating the bounds of Calke Estate, part of the National Forest Walking Festival, 9mile / 14.5km
Moderate Sunday, 3rd June 2018, Fernilee, Windgather, Shining Tor & Goyt’s Moss, 11mile / 17.7km
Moderate Sunday, 10th June 2018, Mapleton, Okeover, Blore, Thorpe & Callow Hall, 11mile / 17.7km
Moderate Sunday, 17th June 2018, Gratton Dale & Long Dale, 10.5mile / 16.9km
Moderate Sunday, 24th June 2018, Burbage Bridge, Stanage Edge, Surprise View., 11mile / 17.7km

Thursday, October 19, 2017