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

Moderate
Moderate:
Wednesday, 23rd August 2017, The Warslow Square, 9mile / 14.5km
Moderate
Moderate:
Sunday, 27th August 2017, Earl Sterndale, 10.5mile / 16.9km
Moderate
Moderate:
Sunday, 3rd September 2017, Jaggers Clough & Jacobs Ladder, 12.6mile / 20.3km
Leisurely
Leisurely:
Sunday, 3rd September 2017, Beating the bounds of Overseal, 5.5mile / 8.8km
Moderate
Moderate:
Wednesday, 6th September 2017, The Hope Valley, 8.5mile / 13.7km
Moderate
Moderate:
Sunday, 10th September 2017, Patterdale: 4 days walking 10-13m, TBA, car-shares from hotel, 11mile / 17.7km
Moderate
Moderate:
Sunday, 17th September 2017, Dunstall, Yoxall Lodge & Rangemore, 10mile / 16.1km
Leisurely
Leisurely:
Sunday, 17th September 2017, Staunton Harold walk, 5.6mile / 9km
Moderate
Moderate:
Wednesday, 20th September 2017, Airy Walk, 9mile / 14.5km
Moderate
Moderate:
Sunday, 24th September 2017, Hathersage & Grindleford area, 10.5mile / 16.9km
Moderate
Moderate:
Sunday, 1st October 2017, Alport Heights, Kirk Ireton & Biggin, 10.5mile / 16.9km
Leisurely
Leisurely:
Sunday, 1st October 2017, Awsworth to Babbington, 5.3mile / 8.5km
Moderate
Moderate:
Wednesday, 4th October 2017, Calton and Mere Hill, 8.5mile / 13.7km
Moderate
Moderate:
Sunday, 8th October 2017, Grindleford, Millstone & Stanage, 10.6mile / 17km
Moderate
Moderate:
Sunday, 15th October 2017, Area Get-Together, 12mile / 19.3km
Moderate
Moderate:
Wednesday, 18th October 2017, Over to Oakover, 9mile / 14.5km
Moderate
Moderate:
Sunday, 22nd October 2017, Tissington, Milldale & Alsop en le Moor, 10mile / 16.1km
Moderate
Moderate:
Sunday, 29th October 2017, Brackenfield, Crich & South Wingfield, 11mile / 17.7km
Leisurely
Leisurely:
Sunday, 29th October 2017, Heage & farmland to the south & east, 4.9mile / 7.9km
Moderate
Moderate:
Wednesday, 1st November 2017, A New Pair of Boots, 8.5mile / 13.7km
Moderate
Moderate:
Sunday, 5th November 2017, Wetton & Grindon area, 10.5mile / 16.9km
Moderate
Moderate:
Sunday, 12th November 2017, Froghall, Ipstones, Consall Wood & Kingsley, 11mile / 17.7km
Leisurely
Leisurely:
Sunday, 12th November 2017, Sandiacre to Stanton & Risley, 5mile / 8.1km
Moderate
Moderate:
Wednesday, 15th November 2017, Mystery Tour, 8mile / 12.9km
Moderate
Moderate:
Sunday, 19th November 2017, Thorpe area, 10mile / 16.1km
Moderate
Moderate:
Sunday, 26th November 2017, Ilam area, 10mile / 16.1km
Leisurely
Leisurely:
Sunday, 26th November 2017, Denby area, 5mile / 8.1km
Moderate
Moderate:
Wednesday, 29th November 2017, Park and Woods, 9mile / 14.5km
Moderate
Moderate:
Sunday, 3rd December 2017, Okeover, Swinscoe & Stanton, 10mile / 16.1km
Moderate
Moderate:
Wednesday, 6th December 2017, Xmas Lunch, 5mile / 8.1km
Moderate
Moderate:
Sunday, 10th December 2017, Cromford area, 11mile / 17.7km
Leisurely
Leisurely:
Sunday, 10th December 2017, Trent Lock all-weather walk, 5mile / 8.1km
Moderate
Moderate:
Wednesday, 13th December 2017, Bee Wall, 7.5mile / 12.1km
Moderate
Moderate:
Sunday, 17th December 2017, Netherseal, Lullington & Coton in the Elms, 10mile / 16.1km
Moderate
Moderate:
Wednesday, 27th December 2017, Soup and a Roll, 5mile / 8.1km
Moderate
Moderate:
Sunday, 31st December 2017, Allestree area, 10mile / 16.1km
Moderate
Moderate:
Sunday, 13th May 2018, Calton, Manifold Valley & Rushley, 10mile / 16.1km

Wednesday, August 23, 2017