|
Project Information
|
Create offline browseable Galleries from flickr photosThis package started out as a backup script I ran regularly to recover my photos stored on flickr. ./backup.py --cfg=/path/to/config will crawl flickr for all sets and photos within sets in one account. As a first extension, I created html pages to browse the backup. Once the backup grew too big to fit on one cd, I had to come up with some scripts to create configurable portions of the backup. This is what this software does. ./gallery.py --cfg=/path/to/config --tags=skitour+karwendel --output=/tmp/skitour will select all sets having at least one photo tagged with both "skitour" and "karwendel", copy the relevant photos to /tmp/skitour, and create pages to navigate the gallery. RequirementsThe scripts require python >= 2.5, sqlalchemy >= 0.4 and one of the following xslt processors (to create galleries from the backup):
Note: The backup script does not require an xslt processor. You need a flickr api key to use the flickr api client. InstallationCurrently, you may only run the scripts from a svn checkout of the repository. ConfigurationThe configuration file should look as follows: [system] base_dir=/path/to/backup/dir sqlite_db=/path/to/sqlite_db [flickr] user_name= user_id= api_key= email= password= OutputA screenshot of a page for a flickr set can be found here. ThanxThe following libraries come bundled with this package:
|