Wordpress - Google Maps Geocoder

Written by admin on October 24, 2008 in: Uncategorized, Wordpress | Tags: , , , ,


Okay, I couldn’t find a plugin that would easily Geocode my posts. So here it is, plugin # 3,181 on Wordpress.org, and one very dear to my heart.

WPGMG

Why, GeoCode to custom fields?

1. Google only allows 10,000 geocodes per URL per day.
2. Calculate distances based on lattitude and longitude.

Anyhow, this is version 0.1. Simply replaces the XXXXXXXX’s with your Google Maps API key and your ready to role. I guess you want to know how to make it work?

Just released, WPGMG ver 0.2. I’ve noticed people are actually downloading the plugin from Wordpress.org, so I added a settings menu to make it easier to input your Google Maps API Key, and enable/disable the plugin.

WPGMG looks for four custom field keys:
street, city,state, zip

WPGMG queries Google Maps API for the latitude and longitude, from that it will create 2 new custom fields for that post:
lat & lng

‘lat’ obviously being Latitude and ‘lng’ being Longitude.

You will need a Google Maps API Key, you can get here:
http://code.google.com/apis/maps/signup.html

As you can see the code is very simple, and easily manipulated. It’s licensed under DWIWYW (Do with it what you will). I hope this helps you as much as it could have helped me if someone would have done it first. Please feel free to leave any suggestions or complaints, a donation would be greatly appreciated by my wife. (Paypal me @ kkevilus at yahoo com)

Download WPGMG

BanditTrackerArkansas.com Launched

Written by admin on October 16, 2008 in: Uncategorized |

BanditTrackerArkansas.com launched yesterday.

Grand Canyon Trip (October 2001)

Written by admin on October 2, 2008 in: Uncategorized | Tags: , , ,

A quick look at our Grand Canyon backpacking trip in October 2001.

Ouch.. not my ribeye

Written by admin on September 27, 2008 in: Quotes, diet, health |

Nothing will benefit human health and increase chances for survival of life on Earth as much as the evolution to a vegetarian diet.

-Albert Einstein

I would just like to remind everyone that Einstein was not a nutrionist.

Views of God

Written by admin on September 22, 2008 in: Quotes | Tags: , ,

“My religion consists of a humble admiration of the illimitable superior spirit who reveals himself in the slight details we are able to perceive with our frail and feeble mind.”

-Albert Einstein

Josh Groban Singing at the Emmy’s

Written by admin on in: Uncategorized |

After listening to Paulson and Greenspan the last 72 hours I needed some joy in my life.

At least I got a smile out of this one:

Intelligence

Written by admin on September 19, 2008 in: Quotes |

“Intelligence without ambition is a bird without wings.”  - Salvador Dali

Jon Gibson

Written by admin on September 17, 2008 in: Uncategorized |

I love Jon Gibson’s music.  It seems to me he’s been working on this last album for way to long though.

Jon, we’re ready already.

Democrats vs Republicans

Written by admin on September 11, 2008 in: News, Politics, Quotes |

“O God, make the bad people good, and the good people nice”

-Prayer of a little English Girl (From ‘What’s so Amazing about Grace?’ by Philip Yancey)

Liberal has become such a negative word. From dictionary.com:

1. favorable to progress or reform

Anybody who wouldn’t want ‘progress’ is foolish. Let’s face it, the United States was founded on ‘progress and reform’. The reality is that ‘liberal’ has taken on a new meaning. An almost ‘if it feels good, do it’ mind-frame. I’m reminded of the recurring theme in Judges “In those days there was no king in Israel; everyone did what was right in his own eyes.” It’s the ‘liberals’ support of pro-choice and so called ‘gay-rights’ that have fundamentalist Christians so radically against so-called ‘liberals’.

Then we have those who claim to be a ’social-liberal and fiscal-conservative’. This is sort of the easy way out of a discussion, but fundamentally impossible. You can’t support social programs without paying for them. If you’re a social-liberal you have to be willing to open you wallet.

If you’re pro-life, be pro-life. Being anti-abortion and pro-death penalty is not pro-life, it’s anti-abortion. Starting wars based on lies and fear is another issue altogether, I’m not even going to get into here.

Churches get to work, if you were fulfilling the call of Christ there would be no need for the social welfare programs in this country.

“The world is sleeping in the dark, that the church just can’t fight, ’cause it’s asleep in the light’ - (Asleep in the Light, by Keith Green)

“O God please, make the Democrats good, and the Republicans nice”

Evolution

Written by admin on September 10, 2008 in: Quotes |

“When Nature has work to be done, 
she creates a genius to do it.”

Attributed to both -Ralph Waldo Emerson and -Leonardo Da Vinci

Powered by WordPress | Webdesign by TheBuckmaker.com