CanalPlan Blogs

  • Home
  • Blog
  • Features
  • Privacy Policy
  • Recent Posts
  • Site Search
  • Tags
  • Trips
  • Welcome
The home of Blogs for CanalPlan

← Blogged Routes
Route Maps →

CPRS and General Options

September 4th, 2007 by Admin and tagged CPRS, General Options


Well the CPRS tag has been coded. At the moment it only works on a post that is published as part of a blogged route. When the tag is inserted into a page it looks up the information for that day and inserts the start and end places for the day as CanalPlan AC gazetteer links.

It also puts the distance and the locks worked. The format of the distance (decimal miles, miles and furlongs, miles and yards etc.) is controlled by the Default Distance Format option on the General Options tag on the CanalPlan Options menu.

The tag can be seen on the Blogged Routes for Mintball where it automatically inserts the “From Lords Bridge No 64 to Hunting Bridge No 7 a distance of 24 miles, 72 yards and 6 locks” text at the top of the page.

The General options tag will be growing some more general options which are primarily concerned with the presentation and advanced features (that I’m working on).

So the question is – what to do next. The CPRM tag (which embeds a map into the blog showing the days’ route) seems the most sensible thing to do as most of the code already exists (although I have to do some sneaky stuff to handle multiple maps on a single page) and as Nick is still coding away on the core of V9 of CanalPlan AC it seems that the route importing code will come last.

After the basic CPRM tag is done I’ll add a couple of minor enhancements to it and the CPRS tag, and then I’ll work on the route management stuff as I’m pretty confident that the data structures I’ve built (manually at the moment) are working well.

Category news |



Comments are closed.

  • Active Blogs

    • Steve's Ramblings (139)
    • CanalPlan Blogs (51)
    • Scribblings from the Mintball (40)
    • Canalplan AC Development Blog (15)
  • Site Wide Tags


    3G 93 95 accident accounts Add new tag alcohol allergy advice alone alternator america android animal anniversary apache augusta autherley bank basketball beer Beeston benefits birmingham birthday blogging blogs boat boating Bob Geldof Boscastle boston brakes Braunston brewood BSS Bude builders C cable calendar camsigh canalplan canalplan AC car crash car park cars Cast List casualty Cats Challenger chavs cheese cheltenham Chester Christmas cinco de mayo clearsilver coast code coding cold Computing cooker CPRS crackers curry customer service dead depression diet diy dns e-commerce easter eli stone elvis email enhancement extension facebook favourites fish floods food forums Fraud fridge funding g1 gailey garage garden gas GCHQ General Options geospatial gloucester gnosall gold cup goldstone Goodies google Googlemaps granny buttons graph API grub street guinness hackers hallowell Heathrow holiday holidays home home mooring hoover hotel Importing integration intercontinental internet Internet Explorer irish Javascript jen jewellery Jill Joke json kathy kennebunk kestrel kitchen korea ladykat Last.FM latitude lawn leeching lighthouses linux ll bean lonely longitude lunch maine malvern manage routes maps market drayton maths mexican microsoft midges mintball mobile mooring mortgage MOT moving mozart MP Music mystery Nantwich national hunt netscape new domain new features new server nhs norbury npower ogunquit painting paprika party penkridge petition photos php phpbb pickle plugin Plugins poke in the eye police portland post by email pringles programming pub night pubnight pubs racing rain real ale renault Rick route importing Routes

    Donate

    If you've found anything useful on here and want to say thanks then please feel free:



    WPMUDEV

    WordPress MU, WPMU and BuddyPress plugins, themes and support at WPMU DEV

    Snapshots

    Enhanced with Snapshots
  •  
  • Links

    • Canal World Forums
    • CanalPlan AC
    • Grannybuttons
    • Site Wide Feed
  • Site tools

    • Register
    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
  • Where Am I

    Nearest Canalplan location is :
    Coombe Hill Basin



© 2012 CanalPlan Blogs using Dignity theme by themebox

RSS Entries and RSS Comments.

Provided by WPMU DEV -The WordPress Experts
Hosted by Canalplan Blogs


Server uptime: 12 day(s), 6 hour(s) and 45 minute(s) | Server Load: 0.34, 0.25, 0.29