Feature Ideas/Flickr Import: Difference between revisions

From GNU MediaGoblin Wiki
Jump to navigation Jump to search
(initial draft)
 
(Added link to FlickrDownload)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''[http://issues.mediagoblin.org/ticket/229 Relevant Bug in Bug Tracker]'''

= Importing photos/media from flickr =
= Importing photos/media from flickr =


Line 19: Line 21:
* Record any groups the photo/video has been added to
* Record any groups the photo/video has been added to
** The group "display name" along with the group URL
** The group "display name" along with the group URL
* record "social" information added to the picture, e.g.
* Record the number of people who have "favorited" the photo/video?
** comments
** number of people who have "favorited" the photo/video


The last step is, of course, to add the photo/video to the user's account and inject all of the relevant info into the db. It might be wise to not delete any of the collected information even if MediaGoblin doesn't yet suppport its use/display (you never know when the information might disappear from flickr).
The last step is, of course, to add the photo/video to the user's account and inject all of the relevant info into the db. It might be wise to not delete any of the collected information even if MediaGoblin doesn't yet suppport its use/display (you never know when the information might disappear from flickr).
Line 41: Line 45:
* [https://github.com/tonyduckles/flickrtouchr flickrtouchr]
* [https://github.com/tonyduckles/flickrtouchr flickrtouchr]
** does not download metadata
** does not download metadata
* [[OpenPhoto]] has a [https://github.com/openphoto/export-flickr Flickr export tool], written in Python ([[SamatJain]] is a committer). It backs up all metadata, except (at the moment) comment and number of favorites, groupings (sets, collections).
* [http://packages.qa.debian.org/f/flickrbackup.html flickrbackup] (although Offlickr seems strictly more powerful)
* [http://www.onstation.org/flickrdownload/ FlickrDownload] - downloads all photo metadata. Does not download comments.
* do you know of others?
* do you know of others?

Latest revision as of 14:30, 21 May 2013

Relevant Bug in Bug Tracker

Importing photos/media from flickr

There is going to be a common situation: a current flickr user wants to switch over to MediaGoblin but not lose all of their photographic/video history. What can we do to help them?

Import of Photos/Videos

The import of photos from a user's flickr account has multiple parts/steps.

  • Download all versions/qualities (eg: small, medium, large, original for photos and non-HD and HD for videos) of each photo they have in flickr.
    • With each version, record the URL where it lived on flickr's servers.
  • Retrieve all user-added metadata.
    • title
    • description
    • tags
    • geolocation
    • sets
    • collections
    • Copyright/License
  • Record any groups the photo/video has been added to
    • The group "display name" along with the group URL
  • record "social" information added to the picture, e.g.
    • comments
    • number of people who have "favorited" the photo/video

The last step is, of course, to add the photo/video to the user's account and inject all of the relevant info into the db. It might be wise to not delete any of the collected information even if MediaGoblin doesn't yet suppport its use/display (you never know when the information might disappear from flickr).

Connecting MediaGoblin version to flickr version

Because some people will not completely delete their flickr account (or may be simply testing out MediaGoblin) we want to make user freedom of choice as strong as possible. Thus, displaying cross site information on MediaGoblin is one way of not inflicting lockin-like behavior.

Some ways of connecting the MediaGobline version to the flickr version include:

  • displaying an "Also on flickr" text link/button to the photo on flickr
  • displaying an "In X groups on flickr" text link/button
  • displaying a "Favorited X times on flickr" text link/button

Tools of the trade

There are many tools in use that attempt to backup users flickr accounts. There are even a few that are written in python and thus might be good reference implementations for this feature.

  • offlickr
    • backs up photos and at least some metadata
    • uses the flickrapi python module
  • flickrtouchr
    • does not download metadata
  • OpenPhoto has a Flickr export tool, written in Python (SamatJain is a committer). It backs up all metadata, except (at the moment) comment and number of favorites, groupings (sets, collections).
  • flickrbackup (although Offlickr seems strictly more powerful)
  • FlickrDownload - downloads all photo metadata. Does not download comments.
  • do you know of others?