Version 1.0
Creates Client Pull Slideshow. Sample Output: Normal Output & Frames Output
Description
Use slideshow to create a client pull slideshow of html documents. One particular use may be: Let's say you download a bunch of pictures from alt.binaries.pictures.erotica.fetish.mitsubishi.eclipse and you want to have your hands free to... take notes while you view the pictures. Use gif2html to create an html file for each graphic in a particular directory and then use slideshow to link each together in a self advancing slideshow.
Now you have the option of displaying the filenames as HREFs in one frame and the pictures in another, so you don't have to watch the show in a linear fashion.
Other sites using slideshow
Command Line Switches
These switches over ride their user configurable variable counterparts. There must be no spaces around the equal signs.
- -f
- Frames mode. Output to frameset.
- -h
- Help.
- -v
- Verbose.
- -BASEREF=URL
- Base URL for each slide. Default=./
- -DELAY=#
- Delay between slides in seconds. Default=60
- -FINAL_PAGE=URL
- URL to load when slideshow is complete. Default=My page
- -FRAMESET=filename
- Name of file to write frameset to. Default=index.html
- -INDEX_FRAME=filename
- Name of file to write index frame to. Also name of index frame.
- -INDEX_WIDTH=#
- Width of frame which lists files.
- -ORIENTATION=ROWS
- Display frames side by side or stacked. ROWS or COLS.
- -PICTURE_FRAME=string
- Name of frame which pictures display in. Default=picture-frame
- -PICTURE_WIDTH=#
- Width of frame which pictures display in.
- -STOP_PAGE=URL
- URL to load on slideshow abort. Default=$BASEREF
User Configurable Variables
You may modify these variables to your heart's content. These may also be specified on the command line.
- $DELAY = 60;
- Delay, in seconds, between slides.
- $BASEREF = "./";
- Where are the html files? You can get by with this being blank. If you don't understand it, just leave it as the default "./".
- $FINAL_PAGE = "http://www.bewley.net/perl/";
- URL to load when slideshow is complete.
- $FRAMESET = "index.html";
- Name of file to write frameset to.
- $INDEX_FRAME = "index-frame.html";
- Name of file to write index frame to. Also name of index frame.
- $INDEX_WIDTH = "10%";
- Width of frame which lists files.
- $ORIENTATION = "ROWS";
- Display frames side by side or stacked. ROWS or COLS.
- $PICTURE_FRAME = "picture-frame";
- Name of frame which pictures display in.
- $PICTURE_WIDTH = "90%";
- Width of frame which pictures display in.
- $STOP_PAGE = "$BASEREF";
- Where you go to when you click on Stop Slideshow
Planned Improvements
- Clean it up and make it a little more modular.
- Incorporate gif2html.
- Maybe incorporate a little JavaScript in the output.
- Re-do the docs in POD.
- Make CGI'able?
- Allow for dynamic adjustment of delays.
Bewley Internet Solutions perl page