• H2GD Part 7: Multiple geocodings for 41 Redhill Rd

    I’m writing some new code for oik including a new plugin that will enable people to pay for and then download files…

    41 Redhill Rd PO9 6DE

    There are already a few plugins that will accept payment for a download file then let you download the file BUT they don’t implement lazy smart shortcodes AND it appears that most of the FREE WordPress plugins that deal with PayPal either use fsockopen() or the CURL extension to interface with PayPal.

    I thought I’d implement a solution using WordPress HTTP functions instead.

    But first I decided I’d hone my skills by adding code into oik to automatically determine your Latitude and Longitude ( as shown using  [bw_geo] – e.g.

    Lat.50.887856 Long.-0.965113

    ) and as used in [bw_directions] and [bw_show_googlemap] from your address.

    I have to decide what sort of response I want,  JSON or XML but more importantly, how to decide which is the correct result.

    For the following query

    http://maps.google.com/maps/api/geocode/xml?sensor=false&address=+41+redhill+road I got 11 results, two of which are mine

    41 Redhill Rd, Arnold, Nottinghamshire NG5, UK
    41 Redhill Rd, Dromore, Lisburn BT25 1RL, UK
    41 Redhill Rd, Durban South 4094, South Africa
    41 Redhill Rd, Hitchin, Hertfordshire SG5 2NL, UK
    41 Redhill Rd, Kooringal NSW 2650, Australia
    41 Redhill Rd, Newport, PA 17074, USA
    41 Redhill Rd, Northfield, Birmingham, West Midlands B31 3JS, UK
    41 Redhill Rd, Red Hill, Papakura 2110, New Zealand
    41 Redhill Rd, Rowland's Castle, Hampshire PO9 6DE, UK
    41 Redhill Rd, Rowland's Castle, Hampshire PO9, UK
    41 Redhill Rd, Stockton-on-Tees, TS19 9BX
    

    So “hello” to the 5 other locations in the UK and Howdy, G’Day or Howzit to the rest


    ,

    Published:

    Last updated:

    May 14, 2015

Today’s word is this:

Wednesday

Food-le.com

crisp

Foodlewordle.io

refry

Categories

Tide times from tidetimes.org.uk

Tide Times & Heights for Langstone Harbour on
19th June 2024
03:24 Low Tide ( 1.69m )
10:37 High Tide ( 4.22m )
15:43 Low Tide ( 1.68m )
22:54 High Tide ( 4.48m )

Tide times from tidetimes.org.uk

Tide Times & Heights for Northney on
19th June 2024
03:36 Low Tide ( 1.39m )
10:40 High Tide ( 3.91m )
15:40 Low Tide ( 1.45m )
22:54 High Tide ( 4.16m )