SlideShow

I reworked JimClark's slideshow action

Tested with:

Features

Usage

        #Title Wild horses
        #Agenda 3
        #Author Dschingis Khan
        #Date 01. Jan 2008
        #Logo /path/to/a/image.png
        #Stylesheet projection
        
        = Slide 1 title =
        Slide 1 contents
        
        =  =
        Slide with empty title
        
        = Slide 3 title =
        Slide 3 contents
        ...

Configuration

Unpack the zip in your wiki path.

Add the following lines to your wikiconfig.py if you want to use icons for your navigation:

   1 newsmileys = {
   2                "(slideshow)":   (16, 16, 0, "moin-slide.png"),
   3                "(first)":   (16, 16, 0, "moin-first.png"),
   4                "(next)":   (16, 16, 0, "moin-next.png"),
   5                "(exit)":   (16, 16, 0, "moin-exit.png"),
   6                "(prev)":   (16, 16, 0, "moin-prev.png"),
   7                "(autoplay)":   (16, 16, 0, "moin-play.png"),
   8                "(stop)" :   (16, 16, 0, "moin-stop.png"),
   9                "(edit)" :   (16, 16, 0, "moin-edit.png"),
  10                "(index)" : (16, 16, 0, "moin-index.png"),
  11                "(print)" : (16, 16, 0, "moin-print.png"),
  12                "(goto)" : (16, 16, 0, "moin-goto.png"),
  13                "(info)" : (16, 16, 0, "moin-info.png"),
  14                "(close)" : (16, 16, 0, "moin-cancel.png"),
  15                "(blank)" : (16, 16, 0, "blank.gif"),
  16               }
  17 config.smileys.update( newsmileys )

Screenshots

screen01.png

screen02.png

screen03.png

screen04.png

screen05.png

Download

SlideShow1.4.zip

TO-DO

Requests

I think it would be better to follow the model of s5 approach where the whole slideshow is loaded into a single HTML page and flipped through only with CSS. It's much faster, compared to the approach taken here which requires loading and renderering every page seperatly. -- TheAnarcat 2008-07-05 17:54:13

Comments

I can't get this to work at all. I installed the macro in my actions directory, but it seems I can't configure the smileys properly, because I get this when I run the slideshow action:

KeyError: '(index)'

I tried hooking up the smileys definition in my wikiconfig (it's farmconfig.py here) and there's no "config" object defined in there, nor is there a smileys object defined within the config class itself. To get it to work, i needed to add it to the moin.fcg script itself, after from MoinMoin import config. Then it worked. -- TheAnarcat 2008-07-05 17:54:13

Discussion

I tried to use it and stumbled over some problems:

MoinMoin: RichardFlieger/Ideas/SlideShow (last edited 2009-11-24 16:01:50 by PaulBoddie)