public
Description: A Flickr Uploadr extension for geotagging photos with Dopplr trips.
Home | Edit | New

Patch from Paul Mison

Here’s a patch Paul Mison submitted to add another machine tag he’d like to use. I’m all for that!

(See commit 998583c6550f2bdd79cfd450b2b5a3931890f715.)

Here's a patch for the dopplr:woeid machine tag I suggested in the comment
on your blog post this morning. Sorry it's not in my github fork: I'd like to figure it out
but it seemed expedient to just send this instead.

It is untested, but looks like it should work.

Thanks.

diff --git a/content/overlay.js b/content/overlay.js
index 7c2e5ec..88aeda8 100755
--- a/content/overlay.js
+++ b/content/overlay.js
@@ -57,6 +57,7 @@ extension.after_thumb.add(function(id) {
         var tags = [
             c.name.toLowerCase().replace(/\s/g, ''),
             'woe:id=' + c.woeid,
+            'dopplr:woeid=' + c.woeid,
             'geonames:locality=' + c.geoname_id
         ];
         if (c.region) {

-- 
Paul Mison
http://husk.org/
Last edited by rcrowley, Tue Sep 23 19:12:20 -0700 2008
Home | Edit | New
Versions: