Closed (fixed)
Project:
Flickr Rippr
Version:
6.x-5.x-dev
Component:
Flickr Rippr Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2010 at 18:16 UTC
Updated:
8 Nov 2010 at 16:10 UTC
I'm trying to write a nodeapi hook that will pull in geo data for images as they get ripped, but this module a) saves the node before saving the associated flickr record, meaning hook_nodeapi can't pull the contextual data it needs to work, and b) no relevant data is included in the node, so you can't get to it that way either.
I'm attaching a patch that drops the flickr id in the node. Hoping it, or something like it, gets included in a future release.
| Comment | File | Size | Author |
|---|---|---|---|
| flickrrippr.patch | 318 bytes | phl3tch |
Comments
Comment #1
Shiny commentedi will commit your patch to CVS
I was going to integrate this module with open calais -- What approach are you using? I'd like to add your module to Flickr Rippr if it's something re-usable.
Comment #2
Shiny commentedComment #3
phl3tch commentedDon't know how useful my stuff would be to others, but one never knows. Basically I'm getting the Flickr ID, using it to retrieve geo data (with the help of phpFlickr), and creating a location keyed to the node (via the locations module). Here's the code in case anyone can use it:
Obviously something like this would be easier within the FlickrRippr module itself, since it wouldn't need to go back and get the ID again. It could check for the location module, and if it exists, it could pull the geo data when it pulls the photo. That'd be pretty handy.
Nice work, by the way. We'll be using the module as part of Georgia Tech's virtual tour.