Had to write my own wordpress plugin

The iOS WordPress app includes geotagging. But it refuses to save geotagging info in local drafts. It used to work last summer when I first set up the mapping on this blog, but it broke somewhere along the way. So I tried several other blogging apps that advertise location services, but the best I could find was Blogpress, which only inserts a google maps link. It doesn’t actually set any post metadata for coordinates, meaning it doesn’t work with my nifty map plugin, or any other plugins I could find.

So, being a programmer, I wrote my very own wordpress plugin. All it does is use a regular expression to parse a lat/long out of any google maps link in the body of a post and saves those as metadata. At which point, the real plugin takes over. +1 to WordPress for making that plugin super easy to write, but -1 for having a notoriously buggy iPhone app in the first place.

Anyway, my goal of being able to write and geotag a post from anywhere, and upload it whenever I find a signal later, is back on track. Whew!

Location:Laguna Canyon Rd,Irvine,United States

1 Comment »

  1. wordpress themes Said,

    November 15, 2013 @ 2:38 pm

    Heya i am for the first time in this article. I found this kind of mother board and I to get It truly helpful & it helped me away considerably. I am hoping presenting anything rear along with aid some others just like you made it easier for us.

RSS feed for comments on this post · TrackBack URI

Leave a Comment