This extension contains functions for embeding tagged pictures from Flickr.  Related Links: Extension Overview, DekiScript Overview, Extension Demos.

Assembly: mindtouch.deki.services
SID: http://services.mindtouch.com/deki/draft/2007/06/flickr

This service requires Deki Wiki 1.8.2 or later.

To enable this extension, follow these steps:

  1. Go to Service management in the Control Panel of your wiki.
  2. Under Add Service, click on Local, and select type Extension.
  3. Enter a description and the extension SID: http://services.mindtouch.com/deki/draft/2007/06/flickr
  4. Add any additional configuration settings that are required by the extension (see below).
  5. Click on add service.

Functions:

  1. flickr.badge
  2. flickr.slideshow

flickr.badge(tags : str) : xml

Embed Flicker badge.

Parameters:

Name Type Description
tags str Comma separated list of tags.

Samples:


Output

To embed a Flickr badge using images tagged with 'mindtouch':

{{ flickr.badge("mindtouch") }} 
./FlickrBadge.JPG


flickr.slideshow(tags : str, width : num, height : num, uri : uri) : xml

Embed Flickr slideshow.

Parameters:

Name Type Description
tags str Optional.  Comma separated list of tags (default: nil)
width num Optional.  Slideshow width (default: 450)
height num Optional.  Slideshow height (default: 400)
uri uri Optional.  URI to user, set, or group page (default: nil)

Samples: 


Output

To Embed a Flickr slideshow showing images tagged with 'mindtouch':

{{ flickr.slideshow("mindtouch") }}
./FlickrSlideshow.JPG

To embed a 800 by 600 Flickr slideshow showing images tagged with 'mindtouch':

{{ flickr.slideshow("mindtouch", 800, 600) }}  
./BigFlickrSlideshow.JPG

To embed a Flickr slideshow for a group:

{{ flickr.slideshow{ uri: "http://flickr.com/photos/eamon/sets/72157594526998899/" } }}
./FlickrGroupSlideshow.JPG

Flickr slideshow for a particular user:

{{ flickr.slideshow{uri:"http://www.flickr.com/photos/roebot/"} }}

Slideshow of a particular user's particular tag:

{{ flickr.slideshow{ uri: "http://www.flickr.com/photos/roebot/", tags: "MindTouch" } }} 




Tag page
Viewing 4 of 4 comments: view all
How can I embed a Flickr slideshow for the certain tag, sorted by interestingness? Is it possible?
Posted 01:23, 15 Feb 2008
Looking at the current set of parameters, the answer would be "no" you cannot sort by "interestingness"? Instead I would suggest modifying you tags to better pin point the images you want. Flickr results will vary, but for the most part I am pleased with the results. I use the feature on almost every page of one of my Deki Wiki sites: http://youknowyouarefrom.wik.is, where I have slide shows for various countries, states and cities and I just use the page.title parameter for most pages within a template I created. Sometimes I have to edit the tags. I also take full advantage of the Google extensions.
Posted 14:07, 15 Feb 2008
{{ flickr.slideshow("tag1,tag2") }} is working, but why is this not working with the option badge?
{{ flickr.badge("tag1,tag2") }}
Posted 02:09, 1 Mar 2008
Can you have multiple tags for a slideshow that will search as an & vs or?

For example, {{ flickr.slideshow("tag1,tag2") }} this appears to default to any images with tag1 or tag2. I would like only images with both tag1&tag2?
Posted 21:58, 27 Mar 2008
Viewing 4 of 4 comments: view all
You must login to post a comment.