May 04, 2007

Updated the Flickr Contacts Organiser Script Again

Ive updated the script again, this time i added "Recent photos featuring this user" and "Interesting photos featuring this user" filters. These do a search for the following tags: "me,selfportrait,flickr:user=username" on the users photostream, and return either the most recent or most interesting matching photos depending on the filter you choose.

Added recent+interesting "Photos tagged with..." filters, which works similar to the previous addition, except with this one you can choose the tag/s you want to search for.

I also fixed the "testimonials they wrote" filter and the intermittent stream duplication bugs.

All my flickr greasemonkey scripts can be obtained here and they are mirrored here

April 28, 2007

Flickr Contacts Organiser and Groups Organiser Greasemonkey scripts Updated

Ive updated both my Flickr Contacts Organiser and Flickr Groups Organiser greasemonkey scripts. They can now both save their data (tags) to and restore from the users flickr mail account. These features are available from the Firefox Tools/Greasemonkey/User Commands menu.

Ive also fixed a few bugs in both of them, for instance the bug where the datastore got corrupted for no apparent reason. BTW if you suffered this problem, the new version of the script will detect certain problems and try and fix them. Ive also disallowed the use of quote marks in tags, as this was causing a problem for some people. If you put quotes in a tag, the script will just simply strip them out.

One interesting thing that the backup and restore feature opens up is the ability to transfer your tag datastore to another computer or even another user via flickrmail. At present when you import a tags datastore, it completely wipes out the old one, but in future versions you may be able to merge datastores. Transferring contact tags datastores to another user isnt so problematic as transferring a group tags datastore, as with contacts organiser you dont need to be a have a user as a contact to be able to tag them, but with groups organiser you do need to be a member of a group before you can tag it. So if the users sharing their tags datastore arent members of the same groups, there will be problems. Of course one solution would be to automatically ask the user if they want to join the groups that are tagged and they arent members of. Anyway maybe thats a feature for another day.

You can get the updated versions of the scripts as usual from here: http://steeev.freehostia.com/flickr

Tagging flickr photos to indicate flickr users are appearing in them

Theres a new way to tag your Flickr photos to indicate flickr users are appearing in them.

Quite a few users have already started doing it. The way it works is to use the following "machine tag" notation, for each flickr user in the photo
"flickr:user=[flickr-username]"
(replacing [flickr-username] with the username of the person in the photo)

e.g. if there were 2 flickr users in my photo, lets say their flickr usernames were fred11 and joe44 you would add the following 2 tags to the photo: flickr:user=fred11 and flickr:user=joe44

I made an rss feed of the flickr:user=* tags, which you can access here: feeds.feedburner.com/FlickrUsersInPhotos
to list the photos with flickr users in them. The feed is GeoRSS enabled, which means it adds the latitude and longitude values to the item, if the photo has been geotagged. And lets you do things like viewing the feed on google maps. I also just found a GeoRSS to KML converter, so heres a KML version of the feed, for the Google Earth fans.

if you wish to be notified when you are added to anyones photos, you can simply subscribe the flickr provided RSS feed for the flickr:user=yourusername tag in your news reader application.

theres also a greasemonkey script written by jacobd with some additional code from me, that detects these tags, when you are viewing photos on flickr, and adds user icons, usernames and links for each tagged user in the photo, next to the photo. It also activates the buddy menus for the icons and adds a simple way of adding the user tags, via a select box populated by your contacts list.

You can get the script here: flickr.users.in.this.photo.user.js

Theres more discussion on this topic in flickr central.

Technorati Tags: , , , , ,

August 20, 2005

A roundup of the GreaseMonkey scripts I've written for Flickr.com

I thought i would write a roundup of the GreaseMonkey scripts I've written for the Flickr.com website recently, which Flickr users might find useful.

Mail Enhancements:
---------------------

  • PM - Adds quicklinks for sending mail to that user, to their profile, to their photo archive and also to add them as a contact, next to usernames in forums/groups
  • Multi Mailer - Lets you send Flickr mail to multiple recipients
  • Mail Manager - Adds tools for managing your Flick Mail inbox
  • Mail To - Adds a quick way of mailing the link to a Flickr page via Flickr Mail or regular email

    Group Tools:
    ---------------

  • Multi Group Sender - Lets you send your images to multiple groups simultaneously
  • Group Promotion Tool - Lets you quickly add prewritten comments inviting users to join your groups and add their images to the group
  • Group List Sorter - Lets you sort your list of groups alphabetically or numerically
  • Quoter - Lets you easily quote people in the flickr forums/groups.
  • Group Invitations Hider - Hides the list of group invitations on your groups page

    Miscellaneous:
    ----------------

  • Publish your faves - Lets you publish your list of most popular photos (by views/interestingness/comments/faves on your website
  • Shades - Lets you change the Flickr website colour scheme
  • Titles+Descriptions Batch Tools - Adds tools for easier batch editing of photos Titles and Descriptions
  • Photobox export to Flickr Lets you quickly export your photos from photobox.co.uk or any photobox associate site (carphonewarehouse,NTL,Tiscali etc) to your Flickr account.
  • Yahoo Login Bypass - Bypasses the "choose to login with Flickr or Yahoo" and goes straight to the Flickr login screen

    I will update this list, with more detailed descriptions and links etc when i get time.

    In the meantime, you can find all these scripts along with descriptions and also some of my other Flickr Projects here: http://steeev.freehostia.com/flickr

    You can also find a whole load more greasemonkey scripts at the greasemonkey script repository here: http://www.userscripts.org

    Tags: | | | | |

  • July 27, 2005

    GeoTagging Flickr via Google Earth - New GreaseMonkey Script

    I've written some code that lets you GeoTag your Flickr images via Google Earth, heres the instructions on how to do it.

    Requirements:

    * Google Earth (An amazingly cool free program that displays the whole world via satellite imagery and lets you zoom right in and fly all round the world, seeing some wonderful sights)

    * Firefox Web Browser (you need to enable cookies and you also need to set Firefox as the default web browser in Firefox Tools/options/general menu)

    * GreaseMonkey Firefox Extension

    * You also need an account on Flickr.com with some uploaded photos in it (the photos need to be publically viewable, the process wont work with photos marked as Private.)

    * You also need the following script: GeoTagging Flickr via Google Earth GreaseMonkey Script


    Setup Instructions:

    1) In order for this script to work properly, you first need to install Google Earth. Once installed you need to go into the Tools/Options/Preferences menu and make sure the box that says "Show web results in external browser" is ticked.

    2) If you are running any of my other GeoTagging GM scripts ( i.e "geotag.flickr", "geotag.flickr.streetmapuk", "geotag.flickr.multimap" ) and wish to try this script out, you should disable them in the Tools/Manage User Scripts window. If you wish to go back to using one of the other GM scripts at some point, you need to disable this one, then re-enable the previously disabled script.

    3) Open Google Earth, then goto the Places window on the left, right click "My Places" and then select "New Network Link" For the name enter "Flick'rin GeoTagger" and For the location enter the following URL:
    http://steeev.freehostia.com/flickr/gearth.php?user=[Put Your Flickr Username Here]

    eg if you were me you would use the following URL: http://steeev.freehostia.com/flickr/gearth.php?user=steeev

    4) Set "View Based Refresh" to "On Request" and leave all the other options in their default settings then click OK.

    5) Now Install this GreaseMonkey script ( Either "Right Click" on the link and select "Install User Script" or click the link and then goto the firefox menu "Tools/Install User Script" ) and you will now have a new link on your Flickr photo pages and batch edit pages called "Add GeoTags"

    Usage Instructions

    1) Click the "Add GeoTags" link and an input box will be displayed. Enter the address of where the photo/s were taken, then click submit.

    2) You will then be sent a KML file (KML=Google Earth XML file format) to your browser.

    3) You need to open the KML file with Google Earth, FireFox should automatically popup a window asking what to do with the KML file, and the default option will be to open it in Google Earth. (Tip: If you click the checkbox to always open KML files with Google Earth, you wont need to worry about this step again)

    4) Once you have opened the KML file, if Google Earth has found the address you entered, it will display a marker showing the approximate location of the area you wish to GeoTag. If Google Earth did not find the address you entered, you can try a new address search using Google Earth's search search box, until you find the place, or alternatively you can just find the location by rotating and zooming the globe.

    5) You now need to move to the exact spot you wish to GeoTag, once you have identified the right location, you should zoom right in on it, so its right at the center of the screeen. You should also ensure that your view point is not tilted, you can do this by clicking the "reset tilt" button.

    6) Now right click on the "Flick'rin GeoTagger" network link in the Places window and select "Refresh". A new placemarker will now be displayed at the point you just specified, click the placemarkers icon, and it will pop up a HTML window, now simply click the "Add GeoTags" link in that window and the geotags will be added to your image/s.

    7) You then need to either add the "GeoTagged" link to the description or if its not your image, to the comments. So just click the appropriate button. You can also add a link to "Fly to that location in Google Earth" See RobRoyAus's post on the subject for more info.

    Adding The GeoTagged link is useful for 2 reasons; Clicking it the first time adds your images location to the geobloggers.com database, and subsequent clicks on it will display the location of the image overlaid on a map. Once its in the geobloggers database, you will be able to view it in Google Earth and other people will be able to find it by searching by location etc on the geobloggers site.

    While it might seem like a lot of steps, you should only need to do the steps in the Setup section the first time you use the script, after that you would just use the steps listed under the "Usage Instructions" heading :)

    If you have any ideas or suggestions on how to improve the process, please let me know.

    Cheers,

    steeev

    Tags: | | | | | | | | | |

    June 21, 2005

    GeoTagging Photos WorldWide with MultiMap and Flickr

    Ive written another Greasemonkey / GeoTagging / Flickr script. This script utilises multimap.com which currently has much better worldwide map coverage than maps.google.com

    If you have either of my geotagging with google maps or the geotagging with streetmap.co.uk scripts installed and you wish to try this new script out, you should first disable them before trying out the new multimap.com script.

    You can get the new script here:

    geotag.flickr.multimap.user.js

    To install this script you need Firefox + Greasemonkey to be installed.

    The only major difference between this script and the older ones is when you click the "Add GeoTags" link on the flickr photo page, instead of being presented with an input box to enter the location data, you are instead redirected to the multimap.com site. When you get to the site, you should select the country you wish to search in and then enter the location data into the form, and from there locate the position that you would like to geotag the image with. Once you have pinpointed the location, just click the "Add GeoTags" link which should then be located beneath the map. And from there the procedure is the same as with the other GeoTagging scripts ive written.

    As well as adding the geotags this script also adds a tag for the country name.

    UPDATE 14/7/05 I've updated the script to fix a couple of bugs,
    1) country names with more than one word in them are no longer split into separate tags for each word
    2) the bug where the "add geotags" link wasnt showing up directly after doing a post/zipcode search, is now fixed too.

    If you've got the old version of the script installed, you should reinstall it from the link above.

    Here is a list of the main countries multimap.com covers:
    Australia, Austria, Bosnia & Herzegovina, Belgium, Belarus, Canada, Croatia, Czech Republic, Denmark, Estonia, Finland, France, Germany, Great Britain & NI, Greece, Hungary, Republic of Ireland, Italy, Latvia, Lithuania, Luxembourg, Macedonia, Moldova, Montenegro, Netherlands, Northern Ireland, Norway, New Zealand, Poland, Portugal, Romania, Serbia, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey, Ukraine, United States

    Technorati Tags: | | | | | | | | |

    June 09, 2005

    GeoTagging the UK with Flickr + StreetMap.co.uk + Greasemonkey

    Google Maps coverage of the UK is not as complete as it could be, and a few people asked me to write a geotagging script that utilised StreetMap.co.uk instead of google maps, for adding geotags to Flickr images. So I did, and here they are:

    If you have got my geotagging with google maps greasemonkey scripts already installed, you will need to go into the "Tools/Manage User Scripts" menu and disable them before installing/using the geotagging streetmap scripts. If at some point you want to go back to using the geotagging google scripts, you can just disable the streetmap script and reenable the google maps ones.

    GeoTagging Flickr via Streetmap.co.uk Script:
    Geotag Flickr via streetmap.couk User Script

    To install the script, just click the link and select "Tools/Install User Script" from the Firefox menu.

    The geotagging process is pretty much the same for this script as with geotagging via google maps. Let me know how you get on, cheers.

    N.B This streetmapuk script is only of use for people geotagging the UK. People in other countries should stick with the Google Maps scripts. UPDATE or alternatively i've also written scripts that utilise multimap.com, so people in countries not covered by google maps can also start geotagging :)

    And PS, you should all thank Knautia, who gave me an incentive to write the scripts :)

    Technorati Tags: | | | | | | | | |

    May 08, 2005

    Geotagging Flickr with Google Maps and Greasemonkey Part 2

    UPDATE: Please note, this method no longer works

    Ive come up with a method, that makes adding GeoTags to your Flickr images, and then submitting the images to the geobloggers.com site a slightly more automated process.

    if anyone wants to try it out heres what you need to do:

    Automated(ish) GeoTagging Flickr Images Process

    1) Firstly if you havent already, you need to install the Firefox web browser.

    2) Secondly you need the Firefox Greasemonkey extension installed.
    (N.B The scripts have now (27/5/05) been updated to be compatible with GM 0.3.3 thanks to Matthew Weymar! :) )

    3) Install this greasemonkey script, which is for the maps.google.com site. (Installing GreaseMonkey scripts is as simple as clicking the link then going to Firefox's tools menu and selecting "Install User Script". Then accept the default options and click ok.)

    4) Install this greasemonkey script, which is for flickr.com

    5) Go to the image on the flickr.com website that you want to add GeoTags to.

    6) You should see a new link next to the "add tags" link on the right, called "add GeoTags", click that link, and an input box will be displayed.

    7) Enter the placename, streetname or postcode or zipcode or a combination, where you took the image (or any other location identification info that Google Maps will recognise) then click submit. Remember though that Google Maps only covers USA, Canada,UK + Republic of Ireland in great detail at present. (for people in areas not covered by google maps at present, ive created a new script) that utilises multimap.com

    8) You should now be redirected to a page with the Google Maps interface embedded in it.

    9) Locate the position on the map you wish to get the geotag coordinates from, you can do this by any of the normal means, i.e searching with the search box, or dragging, zooming and scrolling the map. Also worth noting is "double clicking" anywhere on the map will recenter the map.

    10) Once you have located the position you wish to GeoTag your image with, click the link on the right hand side that says "Add GeoTags to your flickr image"

    11) You will then see a page with 2 buttons. below that should be a message saying "rsp: stat ok", if it says that, that means the geo tags have been added to your image successfully.

    12) You can now choose whether to add the "GeoTagged" link to the images description, or as a comment. You can only add the link to the description if you are the images owner though, if you arent the owner, you can only add the link as a comment. Choose which method you want to use and click the appropriate button.

    13) You should now be redirected back to your image page, and you can now check the tags etc have been added properly.

    14) Finally click the "GeoTagged" link in the images description / comments, and then you are done, the geobloggers site should add your images location to its database.

    Any Bug reports, suggestions and ideas on improving the process flow are most welcome.

    Cheers :)

    Steeev

    UPDATE Christopher and Dave have discovered that this method will not work unless you set the browser to accept "third party cookies". Thanks Guys.

    FURTHER UPDATE: A guy called Mark has created a lovely visual step by step walkthrough of the process of adding GeoTags via this method.


    *Yet another update* You can geotag the rest of the world, even though Google doent have the detailed maps, they do have a satellite view of the whole world, just not high resolution for anywhere apart from USA+Canada. If you want to geotag somewhere not covered in detail by Google Maps, try zooming all the way out from the map, and changing to satellite view, you should now be able to see the whole world if you move the map about.

    Further Update At present MultiMap.com have greater worldwide map coverage than google has, so I wrote some geotagging with MultiMap.com scripts for people in countries not currently covered by google maps. You can get the multimap.com geotagging scripts here.

    Further Further Update 27-Jul-05 Ive written yet another new GeoTagging Flickr script, this one utilises the fabulous Google Earth. You can read about it here.

    A GeoTagging Flickr Group has been started, for anyone wanting to discuss geotagging/geoblogging stuff.

    Technorati Tags: | | | | | | | | | |

    May 04, 2005

    Geotagging Flickr photos, with GoogleMaps via a cool Greasemonkey script and bookmarklet

    A guy called revdancatt created a cool new website called GeoBloggers that lets you "geotag" your flickr photos, geotagging means adding longitude and latitude coordinates to the tags for the image. Then his website pulls in the images and overlays them on google maps, its very cool! and will be even cooler for us in the UK when google maps adds the sattelite images for the UK.

    I wrote a couple of scripts to help out, making the process a bit easier, one is a Greasemonkey script, that adds 2 links to the google maps page/s.

    • The first link, when clicked, redirects you to the geoblogging website for that location, where all the images tagged with the local coordinates will be listed on the map.
    • The second link, when clicked, displays the longitude and latitude coordinates on the map, which is useful for people who want find the coordinates of where they took their images so they can add the required tags to their flickr images.

    Heres the GreaseMonkey Script: GeoTag.Gmaps.Flickr.User.js
    UPDATE: Ive updated the greasemonkey script/s you can get the new ones here:

    The second script is a javascript bookmarklet, which should work on both Firefox and Internet Explorer. The bookmarklet works the same way as the first link mentioned above, ie when you click the bookmarklet whilst on a google maps page you will be redirected to the associated page on the geoblogging site.

    Here the bookmarklet: (*UPDATE* I dont think the bookmarklets below work any more.)

    javascript:latlong = _m.map.getCenterLatLng(); latlong += ""; latlong = latlong.replace(/\)/g,""); latlong = latlong.replace(/\(/g,""); latlongarr = latlong.split(', '); location.href = 'http:\/\/geobloggers.com?lat=' + latlongarr[1] +'&lon=' + latlongarr[0];

    To get the bookmarklet to work just create a new bookmark/favourite and copy and paste the above code in for the URL. then to use it just hit the bookmark when you are browsing google maps, and you should be redirected to the geoblogging site for that location.

    I also wrote another bookmarklet that is based on one listed at http://libgmail.sourceforge.net This one when selected on a google maps page, will display the longitude and latitude coordinates of the current location on the page. Unlike the other version, this one doesnt autoupdate all the time, so its a bit quicker to run, though the downside is the center of the map isnt marked so its harder to get an accurate position for your geotags.

    javascript:ll=_m.map.getCenterLatLng();ll +="";ll=ll.replace(/\)/g,"");ll=ll.replace(/\(/g,"");llarr=ll.split(', ');void(document.getElementsByClassName('title')[0].innerHTML='geo:lat='+ llarr[1] + ' ' + 'geo:lon=' + llarr[0]);


    UPDATE Ive updated the GreaseMonkey scripts, see GeoTagging Flickr with GoogleMaps PART 2 for more details.

    Links
    Sites that are tickling my fancy at the mo
    Torn Out Magazine
    Jesus Lives
    Overheard Tube Gossip
    Something Awful
    B3ta
    Fark
    BoingBoing
    MoneySavingExpert

    SMS / Communications
    SmartMobs
    Textually (SMS News)
    Gizmodo
    EnGadget
    Mobitopia
    The Register
    Slashdot

    Web Development
    F2o.org
    SitePoint
    Bookmarklets
    SquareFree Bookmarklets
    Syndicate this site (XML)
    Powered by
    Movable Type 2.661