• My recent posts and dive log entries about my trip to the Socorro Islands have gotten a lot of people asking about how I create the map with post excerpts on this website. I’ve been slow about writing it up because quite frankly the process has been changing over the past week or so. I started doing this as a way of logging my dives, which I have not done since I was a teenager. When people ask how many dives I have, I honestly have to answer that I don’t know because I stopped logging just after dive number 200. Since dive log book had no real value to me, I found no reason to continue using them. Lately, however, I began asking myself how I might log my dives in a way that could be valuable to both me, and others as well.

    I had a few requirements.

    • First, I wanted to use this blog as my dive log book.
    • Secondly, I wanted to record and display the GPS coordinates of the dive site. I also wanted to leverage the Google Maps API to display these sites on a map.
    • Finally, I wanted to record and display the information that I believe is important about the dive. For instance, I don’t care to record the water temperature and whether or not I wore a hood, but I did want to record and display information about gas choice, max depth and bottom time. I also wanted to record and present information about deco schedule.

    The first phase, and the only one that I have completed thus far is to record and present GPS information about the dive site. When I first implemented this, a total of three WordPress plugins were required. “Geo Mashup” was used to create the map page with the post excerpts, “Geo” was used to enter the GPS coordinates into the “wp_postmeta” table, and “bsuite-geocode” was used to search the post text for links to Google Maps, strip out the GPS coordinates and enter them into “wp_postmets” if they exist. It also created a “Location” link to the post excerpt on the map page.

    This was all before the final release of Geo Mashup 1.0, however. This is now the ONLY plugin that is required to create the map with post excerpts. In fact, running either “Geo” or “bsuite-geocode” will prevent “Geo Mashup” from working correctly after version 1.0.

    Version 1.0.1 of the Geo Mashup plugin creates a nice little Google Map in your “Edit Post” or “Write Post” window that can easily be used to enter GPS data about the post. The only downside is that there is no way to display a link to the map from your post without adding the following code to the loop in your theme:

    < ?php GeoMashup::show_on_map_link('link_text') ?>

    Sadly, the “bsuite” plugin I use to create the “Tags” and “Related” stories section at the end of my posts takes over the bottom of the post entirely, meaning that map link would need to go below that. Since I think the “Related” section ends the post nicely, I have not incorporated this code into my theme yet. I have brought this up with Casey, who says he will allow the user to control where the bsuite functions display in the next version, which is soon to come out.

    Clearly I still have some work to do with respect to displaying dive information and deco graphs, but that should be coming soon. Hopefully I will be able to release a DiveLog WordPress plugin once I get it all hammered out. Stay tuned.

    This entry was posted on Thursday, March 29th, 2007 at 11:07 am and is filed under Data and Technology. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
  • 0 Comments

    Take a look at some of the responses we've had to this article.

  • Leave a Reply

    Let us know what you thought.

  • Name (required):

    Email (required):

    Website:

    Message:

Visitors have tagged this post: about (22) - t (22) - wordpress diving theme (16) - iphone dive log (11) - dive log iphone (9) - diving layouts (9) - wordpress dive theme (7) - wordpress theme diving (7) - iphone divelog (6) - wordpress dive (6) - www partition 101 net (5) - iphone dive logbook (5) - divelog iphone (5) - dive log book (5) - wordpress diving (5) - diving wordpress theme (5) - wordpress dive log (5) - iphone dive (4) - wordpress diving log plugin (4) - diving wordpress themes (4) - "geo-dive" (3) - show_on_map_link (3) - books on geo mapping (3) - diving logbook iphone (3) - dive log for iphone (3) - blogging (3) - diving logbook for iphone (3) - wordpress plugin diving (3) - DIVE THEME (2) - sample example scuba log book page (2) - diving theme wordpress (2) - iPhone google coordinates entry (2) - dive logbook for iphone (2) - GPS Coordinate Log Book (2) - dive layouts (2) - WWW.PARTITION 101.NET (2) - www.partition-101.net (2) - diving log book sample (2) - wordpress scuba theme (2) - iphone google maps entering coordinates (2) - socorro dive blogs (2) - geo mashup wordpress (2) - GPS dive log (2) - wordpress geo mashup tutorial example (2) - i dont have my dive log book (2) - dive theme iphone (2) - GeoMashup (2) - sample dive log page (2) - entering coordinates on iphone (2) - diving logbook page (2) - record log entry gps coordinates definition (2) - google map of my dives (2) - dive wordpress themes (2) - dive logbook iphone (2) - diving logbook sample (2) - diving google maps (2) - iPhone display coordinates (2) - dive iPhone (2) - dive log book template (2) - bsuite related posts (2) - theme iphone diving (2) - wordpress dive log plugin (2) - dive log google earth (2) - wordpress themes + diving (2) - iphone diving (2) - wordpress themes diving (1) - enter coordinates into iphone (1) - dive log book for iphone (1) - Geo Mashup plugin tutorial (1) - geo mashup plugin how to (1) - dive logbook sample page, (1) - dive log book page (1) - wordpress diving themes (1) - wordpress scuba log (1) - plugins dive log on wordpress (1) - scuba google map mashup (1) - funny dive log sample (1) - enter gps coordinates google maps (1) - sample dive site maps (1) - partition 101 net (1) - technical diving logbook (1) - diving log books (1) - geo mashup change theme (1) - logbook diving iphone (1) - entering coordinates in iphone maps (1) - geo wordpress themes (1) - PA coordinates diving (1) - scuba theme wordpress (1) - diving iphone (1) - geo wordpress iPhone (1) - logbook diving linux (1) - divign log for iPhone (1) - my location iphone maps mashup blog (1) - list of map google geo plugins for wordpress (1) - wordpress diver theme (1) - spencer tunick experience (1) - example divelog (1) - geomashup coordinates in post (1) - iphone map coordinates (1) - enter gps coordinates into google maps iphone (1) - DIVE LOG PAGE (1) - Scuba Dive log book page samples (1) - scuba theme iphone (1) - wordpress scuba divelog plugin (1) - dive iphone log (1) - www.google .com partitions 101 (1) - How to key in coordinate in iphone maps (1) - coordinates on iphone (1) - wordpress geo iphone (1) - Geo Mashup tutorial (1) - dive logs on iphone (1) - Google Map iPHone sample (1) - mapping iphone gps coordinates on google map (1) - tutorial geo mashup in wordpress (1) - diving log book from iphone (1) - scuba diving google mashup (1) - display coordinates on google map (1) - diving log book pages sample (1) - Geo Mashup Plugin iphone (1) - iphone gps api sample (1) - coordinance into iphone map (1) - map coordinates on iphone (1) - how do I plug in coordinates into the iphone (1) - geo mashup iphone (1) - scuba theme for iphone (1) - picking coordinates google maps (1) - GEOMASHUP TUTO (1) - iphone gps geo logger (1) - diving logbook samples (1) - pick coordinates on google map (1) - GPS coordinates Map coordinates on iPhone (1) - tech diving wordpress theme (1) - wordpress scuba (1) - wordpress templates diver (1) - geo mashup post excerpt format tag (1) - iphone mapping coordinates (1) - dive logbook page sample (1) - GPS coordinate plugin iphone (1) - google partition-101 (1) - logbook dive iphone (1) - iphone display gps coordinate (1) - google maps entering GPS coordinates (1) - record GPS coordinates in iPhone (1) - entering coordinates into google maps (1) - iphone copy display coordinates (1) - skydive log book iphone (1) - www.partition101.net/partition/ (1) - iPhone display GPS coordinates (1) - geomashup tutorial (1) - iphone scuba logbook (1) -