The latest stable version with various applications of the slideshow is here.
The latest trunk is up and (probably) running here.
You can invoke a slideshow by either placing a specially formatted
string into any page or post, or from your theme templates with a call
to DGE_SlideShow function. For both methods, the arguments are the
same, but the call is different.
Both methods of invokation require: * a unique id * a url to fetch * options
The id must be unique for each slideshow, and must be a valid javascript variable name, with the exception that it may start with a number. So it must not contain spaces or dashes, for example.
When you activate the plugin, it installs a content filter into
wordpress. This filter looks for strings beginning with !slideshow!,
followed by the 2 required parameters, and a list of options. Each of
these parts of the filtered string must be separated by an exclamation
mark. Options must be separated by a semi-colon. If you want to
include more than one slideshow in succession, make sure they are
defined on a new line for each call.
Here's the syntax:
!slideshow!<id>!<url>[!<option1=val>;<option2=val>...]!
Here's a few examples:
!slideshow!ss1!http://beta.zooomr.com/bluenote/feeds:rss/recent/!
!slideshow!ss2!http://beta.zooomr.com/bluenote/feeds:rss/recent/!limit=5!
!slideshow!ss3!http://beta.zooomr.com/bluenote/feeds:rss/recent/!limit=5;reverse!
The DGE_SlideShow function takes three parameters. The first is the
unique id for your slideshow, followed by the url of the desired feed,
followed by an array of optional arguments. The function returns a
string with the necessary javascript and html to set up the slideshow,
so just echo it.
For example:
// From version 0.3 and above
echo DGE_SlideShow('ss1', 'http://beta.zooomr.com/bluenote/feeds:rss/recent/', array('limit'=>5,'reverse'=>1));
limit
preset
reverse
timeout
xslt
html
On the slideshow options page, you can set up presets to save you typing the same options in for different slideshow calls. Just give the preset a name in the left-hand field, and fill in the right-hand field with the desired options in the same format as the filter call. That is, separate each option with a semi-colon.
For example, the name of your preset might be preset1, and you want
to always reverse the feed, and have a timeout of only 1 minute. Fill
in the left-hand field with preset1, and the right hand field with
reverse;timeout=1.
Another example would be to add a shortcut for Zooomr favourites. Put
zooomrfaves as the name, and xslt=dge-slideshow/xsl/zooomrfaves.xsl
in the value field, again omitting the quotes. You could then invoke a
slideshow of a Zooomr set with:
!slideshow!zfaves!http://www.zooomr.com/photos/davee/favorites/!preset=zooomrfaves!
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 License.
xslt parameter to use custom XSL transformations.



