MaisonBisson.com

  • Home
  • About
    • About Casey
    • Contact
  • Nest
    • Cocktails
    • Food
    • Making House
  • Dead Letter Box
    • Emails
    • Photos
    • Videos
  • OSS4Lib
    • About
    • Contents
  • Projects
    • bSuite 4
      • Shortcodes
      • Widgets
    • Hot Dog Menu
    • New Hampshire RSA Search
    • Phonepedia
    • The Google Economy
    • September 11th Pager Texts Archive
    • Scriblio
    • wpSMS
    • wpCAS
  • Comments · Explore
  • Find Us On Facebook

  • Related Posts

    • bsuite Features: The Photo Spread
    • bsuite Bug Fixes (release b2v7)
    • bsuite_innerindex WordPress Plugin
    • bsuite Bug Fixes (release b2v6)
    • WordPress Plugin: Add To del.icio.us
    • Google Geo News
    • bsuite Bug Fixes (release b2b)
« Bar Hosts 81 Burglaries In 12 Years  |   It’s Been AHAH All This Time? »

bsuite_geocode Plugin For WordPress

I’m a big fan of the WP Geo plugin, but I want more.

My biggest complaint is that I want to insert coordinates using Google Maps or MultiMap URLs, rather than insert them in the modified story editor. So I wrote a bit of code that reads through the URLs in a post, finds the “maps.google” or “multimap.com” URLs, fishes the latitude and longitude out of them, and adds some geocoding tags to the body of the post.

Take a look at how it works with these posts in my archive…

You should see one or more blocks of links like the following (from my Osceola Weekend post):

geolocation: geo:lat=44.006336, geo:lon=-71.547260, geotagged, geolocation:44.006336,-71.547260 geobloggers

Go ahead and click the “geobloggers” link. I could have added these links using the old Geo plugin, but I still would have had to insert the coordinates separately. Actually, that brings up a good point: my code also inserts post metadata in the same format the Geo plugin uses, so I can take advantage of all the good functions it has, like the one that inserts the “<meta name=“ICBM” content=“44.006336, -71.547260” />” tag in the header of this post (caveat: I had to disable the add_action code in Geo that feeds the postmeta table, as it was conflicting my code).

I’m releasing this now, to start some public discussion, but please recognize that it’s a very early beta.

Download: bsuite_geocode.zip
Install: place unzipped “bsuite_geocode.php” file in your wp-content/plugins folder and activate it via the WP control panel. See the WordPress Codex for more detail.
Use: write posts as usual, adding links to Google Maps or MultiMap as appropriate. Links to those sites that have latitude and longitude components will be used to geocode the post.

Example of a working URL:

http://maps.google.com/maps?ll=19.355507,-155.072365&spn=.191780,.318003&t=k&hl=en

Example of a URL that won’t work (note how there’s no “ll=”):

http://maps.google.com/maps?q=decker+canyon+rd,+malibu+california&spn=0.019857,0.039750&hl=en

I’ve got a lot of features and uses in mind, so consider this only a start. Please post bugs and suggestions in the comments.

Also, see these previous posts on geolocating the news or geolocating everything or just search the archives to understand why I’m so excited about things like this.

tags: beta, blog, blogmap, blogmaps, blog gis, geo, geocoding, geolocation, geotagging, gis, google maps, lat, latitude and longitude, lon, map, maps, mapping, metadata, multimap, plugin, plugins, wordpress, wordpress plugin, wp plugin

Posted on Monday, September 26th, 2005 at 5:57 pm in Technology   |  RSS feed

Tags: beta, blog, blog gis, blogmap, blogmaps, geo, geocoding, geolocation, geotagging, gis, google maps, lat, latitude and longitude, lon, map, mapping, maps, metadata, multimap, plugin, plugins, wordpress, wordpress plugin, WordPress Plugins, wp plugin

8 Responses to “bsuite_geocode Plugin For WordPress”

    
  1. Nick
    October 15, 2005 at 5:06 am

    Nice blog.I like this.
    Nick
    http://www.yahoo.com

  2. jorge
    December 10, 2005 at 10:33 am

    I am interested in gps information

  3. Robert Buzink
    April 25, 2007 at 7:37 am

    Good idea. I implemented it i my geo-plugin, called wikimap. let me now what you think!

Trackbacks

  1. Keep The Rubber Side Down News » Blog Archive » Geo test
    September 29, 2005 at 2:28 pm
  2.   Wordpress Plugin: bsuite_geocode by Blogging Pro
    October 6, 2005 at 9:10 am
  3. » Blog Archive » New Google Maps Plugin For Wordpress
    January 10, 2006 at 5:54 pm
  4. spiralbound.net » Geo Dive Blogging 101
    March 29, 2007 at 11:08 am
  5. Sunny Easter | Why Dont You Blog?
    April 8, 2007 at 6:07 pm
    

User contributed tags for this post:

Related Posts

  • bSuite 4 beta 2
  • bSuite 4 Public Beta
  • bsuite Bug Fixes (release b2v7)
  • bsuite Bug Fixes (release b2v6)
  • Google Geo News
  • WordPress Plugin: Add To del.icio.us
  • bsuite Bug Fixes (release b2v3)
loading external resource {"source":"http:\/\/maisonbisson.com\/oss4lib\/wijax\/22a09551cfcc2ff6028d0d95c1224809","varname":"wijax_7e2862b85b84299f4131f540c6edddd8","title_element":"h2","title_class":"","title_before":"%3Ch2%3E","title_after":"%3C%2Fh2%3E%3Cdiv%20class%3D%22line%22%3E%3C%2Fdiv%3E"}

Recently Commented

  • Steve Jobs On Apple vs. Adobe and iPhone vs. Flash
  • Improving P2 — Order Posts By Last Comment Date
  • College Students Use, Love, Are Aware Of The Limitations Of Wikipedia
  • Connect-a-Desk Looks Ridiculous (though I may secretly want one)
  • Addressing Hateful And Libelous Internet Speech In The Post Juicy Campus Era
  • I’ll Stop The World and Melt With You
  • Valentine’s Rose (O’Keefe View)
loading external resource {"source":"http:\/\/maisonbisson.com\/nest\/wijax\/22a09551cfcc2ff6028d0d95c1224809","varname":"wijax_ca29dee224562d25c361aa66a968f78d","title_element":"h2","title_class":"","title_before":"%3Ch2%3E","title_after":"%3C%2Fh2%3E%3Cdiv%20class%3D%22line%22%3E%3C%2Fdiv%3E"}
loading external resource {"source":"http:\/\/DrunkenDial.Us\/wijax\/c60dd0bd0908d447e490e0efe458c5b9","varname":"wijax_67db8f09c5eed6319af74e887ce7c6fc","title_element":"h2","title_class":"","title_before":"%3Ch2%3E","title_after":"%3C%2Fh2%3E%3Cdiv%20class%3D%22line%22%3E%3C%2Fdiv%3E"}

Tags

apple blog blogging bsuite bush copyfight education flickr food funny future libraries future of library catalogs george w bush google google economy hack internet iphone ipod lib20 libraries library library 2.0 library catalogs mac os X movie music mysql opac open source performance photo photography php plugin social software video web 2.0 web applications web design web development WordCamp wordpress wordpress plugin WordPress Plugins
loading external resource {"source":"http:\/\/musictotakeyourclothesoffto.com\/wijax\/22a09551cfcc2ff6028d0d95c1224809","varname":"wijax_5df337a812da2923bb4b126afc75234e","title_element":"h2","title_class":"","title_before":"%3Ch2%3E","title_after":"%3C%2Fh2%3E%3Cdiv%20class%3D%22line%22%3E%3C%2Fdiv%3E"}
loading external resource {"source":"http:\/\/becomingdonnareed.com\/wijax\/6c67c5dde121f50e789efc8646d8facd","varname":"wijax_dd2cc597c58c010e92b6d7867680d6e4","title_element":"h2","title_class":"","title_before":"%3Ch2%3E","title_after":"%3C%2Fh2%3E%3Cdiv%20class%3D%22line%22%3E%3C%2Fdiv%3E"}

Around MaisonBisson

  • Home
  • About
    • About Casey
    • Contact
  • Nest
    • Cocktails
    • Food
    • Making House
  • Dead Letter Box
    • Emails
    • Photos
    • Videos
  • OSS4Lib
    • About
    • Contents
  • Projects
    • bSuite 4
      • Shortcodes
      • Widgets
    • Hot Dog Menu
    • New Hampshire RSA Search
    • Phonepedia
    • The Google Economy
    • September 11th Pager Texts Archive
    • Scriblio
    • wpSMS
    • wpCAS
Get a free blog at WordPress.com | Theme: Under the Influence by spaceperson.