Bug 138299 - New port: www/mod_flickr, Apache module for accessing Flickr API
Summary: New port: www/mod_flickr, Apache module for accessing Flickr API
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-29 08:00 UTC by Venky Shankar
Modified: 2009-09-13 13:40 UTC (History)
0 users

See Also:


Attachments
file.shar (2.40 KB, text/plain)
2009-08-29 08:00 UTC, Venky Shankar
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Venky Shankar 2009-08-29 08:00:08 UTC
New port: www/mod_flickr

mod_flickr is a apache module (for apache 2.0 and above) that makes call to
flickr via flickr API's to get a users (configured in httpd.conf) public photo
sets, photos in sets and recent photos uploaded in flickr etc...

Currently only 4 api calls have been implmeneted (all are GET calls). These
API's return data in XML format although work is in progress to return the data as JSON and/or as a HTML markup (which can be called from a iframe tag in frontend code)

Users (for whome flickr data has to be accesses) can be configured in apache's configuration file. Configuration involves setting the Flickr API key, secret and auth token which can be obtained from: http://www.flickr.com/services/api/

Sample API calls: (assuming SetHandler has been set to flickr-handler for Location /flickr)

* http://<hostname>/flickr/vshankar/getMyPhotos/<page_no>/<number_of_pics>
  eg: http://www.whatsoever.com/flickr/vshankar/getMyPhotos/1/10

* http://<hostname>/flickr/vshankar/getMySets/

* http://<hostname>/flickr/vshankar/getPhotosInSet/<set_no>/<Page_no>/<no_of_pics>
  eg: http://www.whatsoever.com/flickr/vshankar/getPhotosInSet/123456/1/20

* http://<hostname>/flickr/vshankar/getRecentPhotos/<page_no>/<no_of_pics>
  eg: http://www.whatsoever.com/flickr/vshankar/getRecentPhotos/1/50

Code repository: http://github.com/vshankar/mod_flickr/
Homepage: http://www.vshank.com/code/mod_flickr/

Fix: Patch attached with submission follows:
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2009-09-13 13:34:17 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2009-09-13 13:34:39 UTC
miwi        2009-09-13 12:34:31 UTC

  FreeBSD ports repository

  Modified files:
    www                  Makefile 
  Added files:
    www/mod_flickr       Makefile distinfo pkg-descr 
  Log:
  mod_flickr is a apache module (for apache 2.0 and above) that makes call to
  flickr via flickr API's to get a users (configured in httpd.conf) public photo
  sets, photos in sets and recent photos uploaded in flickr etc...
  
  Currently only 4 api calls have been implmeneted (all are GET calls). These
  API's return data in XML format. The XML can then be parsed by the calling code
  (e.g. front end Javascript/php) to display thumbnails of the images say in a
  scrollbar. (Code for front end is not distributed as yet)
  
  This module can be used by web developers who want to show their photos/albums
  uploaded in flickr on their website and/or access to metadata of their photos
  for their own needs/purposes.
  
  WWW: http://www.vshank.com/code/mod_flickr
  
  PR:             ports/138299
  Submitted by:   vshankar
  
  Revision  Changes    Path
  1.2436    +1 -0      ports/www/Makefile
  1.1       +34 -0     ports/www/mod_flickr/Makefile (new)
  1.1       +3 -0      ports/www/mod_flickr/distinfo (new)
  1.1       +14 -0     ports/www/mod_flickr/pkg-descr (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"