Perl scripts for flickr
Perl Emacs Lisp Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
documentation
Make.kaplice
Makefile
My-flickr-upld.el
My-get-GPX.sh
My-gps-reduce-track.sh
My-photo-sync.sh
README
README.PL
clonegeotags.sh
exif_datetime.pl
flick-aggr-totals.pl
flick-graph-views.pl
flick-report-views.pl
flick-store-manip.pl
flick-store-views.pl
flick-total-views.pl
flick-update-views.sh
flick2flickr.pl
flick_auth
flick_get_lastphoto.pl
flick_get_lastphotos.pl
flick_get_user.pl
flickr.apis
flickr_deletephoto.pl
flickr_getAllContexts.pl
flickr_getInfo.pl
flickr_getTags.pl
flickr_get_authToken.pl
flickr_get_photolist.pl
flickr_getalltags.pl
flickr_getgroups.pl
flickr_getlastphoto.pl
flickr_getlocation.pl
flickr_getphotolist.pl
flickr_getsets.pl
flickr_getsetsinfo.pl
flickr_getsnaps.pl
flickr_gettags.pl
flickr_getuser.pl
flickr_insert_thumbs.pl
flickr_photoURL.pl
flickr_photo_gsearch.pl
flickr_photo_recent.pl
flickr_photo_urls.pl
flickr_photo_view_counts.pl
flickr_repTags.pl
flickr_rotate.pl
flickr_setGT.pl
flickr_setGeoLoc.pl
flickr_setGeoLoc.pl8
flickr_setTag.pl
flickr_setgeoloc.pl
flickr_setlocation.pl
flickr_settag.pl
flickr_test.pl
flickr_test_login.pl
flickr_testlogin.pl
flickr_update_kb
flickr_upld.pl
flickr_utils.rc
flickr_xload.pl
flickr_xml2el.pl
flickrrc
gps_print_to_photo.pl
kaplice.xml
kml-adjust-urls.pl
login2flickr.rc
mk_kml.pl
opis.txt
photoURLs.sh
photo_exif.pl
photo_thumb.pl
photo_thumb.sh
rand_time.pl
store_flickr_photo_details.pl
store_flickr_photo_xdetails.pl
tags2rep.xml
upload-corr-2.log
upload-corr.log

README

Installation: My-flickr-upld.el
-------------------------------

[1]
Add  flickr_xload.pl, flickr_upld.pl, flickr_getsets.pl, flickr_getalltags.pl, 
  flickr_getgroups.pl, flickr_xml2el.pl 
to your site_perl directory

Modify flickr_upld.pl if directory containing flickr_xload.pl differs:
my $perl_site_dir = '/usr/local/lib/perl5/site_perl';

[2]
Initialize the tags/sets/pools databases. For that purpose one can 
adapt the following bash script:

#!/bin/bash
echo "Refreshing information on tags/sets/geolocs/pools"

perl flickr_getsets && perl flickr_getalltags && perl flickr_getgroups && \
perl flickr_xml2el > ~/.flickr/hr.icio.el 
#--

[3]
Copy script photo_thumb.sh (used to generate thumbnails)
to /usr/local/bin or similar directory (directory where your
system looks for executables) ; 

Modify My-flickr-upld.el if directory containing flickr_upld.pl  differs:
(setq perl-prog-name "/usr/local/lib/perl5/site_perl/flickr_upld.pl --script")

Copy My-flickr-upld.el to your site-lisp directory. Add the following
to .emacs file:

(autoload 'My-flickr-images-init "My-flickr-upld"
  "Mode for describing/uploading photos" t )
(autoload 'My-flickr-images-edit "My-flickr-upld"
  "Mode for describing/uploading photos" t )

[4] 
Copy photos to some directory. Run My-flickr-images-init and when prompted for directory 
name provide one with your photos. The buffer flickr-list.dir will be created.
Add descriptions to photos and save the buffer.
Run My-flickr-buffer-upload command to upload photos.


The installation instructions of My-flickr-upld.el end here. The rest of
this files describes installation of other (unrelated to My-flickr-upld.el) stuff...

==============================================================================

Installation:  flick-graph-views.pl, flick-report-views.pl, flick-store-manip.pl and
flick-store-views.pl:
--------------------

The scripts stores/aggregates/displays information on view counts on individual photos.

*** Note 9/2008: NO LONGER WORKS AS LOGIN PROCEDURE WAS CHANGEG at Flickr.com ***

flick-store-views.pl:
 This script login to www.flickr.com with $my_login/$my_passwd and downloads
 photostream (main) pages from user's album the pages are scanned for the information 
 regarding page view counts. The information is saved in the database.
 (cf. the script comments for more information)

flick-report-views.pl:
 Print some usage stats for individual pages at flickr.com. The database created by
 flick-store-views.pl script is used.

flick-graph-views.pl:
 Generate line graph of total views/photos viewed for individual pages
 The database created by flick-store-views.pl script is used.

flick-store-manip.pl
 Manipulate the database created by flick-store-views.pl script.

To install flick-store-views.pl Perl HTTP::Request::Common, LWP::UserAgent and
Storable modules are required. 
Additionaly flick-graph-views.pl requites GD::Graph::lines

To install add the scripts to your site_perl directory.

==============================================================================
t.przechlewski, 12.12.2007