head 1.4; access; symbols; locks; strict; comment @# @; 1.4 date 2007.01.16.04.12.04; author TWikiContributor; state Exp; branches; next 1.3; 1.3 date 2006.02.01.12.01.23; author TWikiContributor; state Exp; branches; next 1.2; 1.2 date 2004.03.21.08.59.46; author PeterThoeny; state Exp; branches; next 1.1; 1.1 date 2003.12.12.08.29.00; author PeterThoeny; state Exp; branches; next ; desc @none @ 1.4 log @buildrelease @ text @%META:TOPICINFO{author="TWikiContributor" date="1163993253" format="1.0" version="4"}% ---+!! Slide Show Plugin This Plugin converts a topic with headings into a slide show. %TOC% ---++ Introduction There is already a defacto standard for presentations, why this Plugin? This Plugin makes sense for organizations that do already have lots of content in TWiki: It is easy to create a web based presentation that contains many links to related content. The Plugin does not try to compete with the bells and whistles of the other presentation program, but the markup of TWiki and other Plugins like TWiki:Plugins/ChartPlugin, TWiki:Plugins/GaugePlugin, TWiki:Plugins/SpreadSheetPlugin, TWiki:Plugins/TWikiDrawPlugin can be used to create an appealing presentation. Any topic with headings can be converted into a slide show. Each slide starts with a ="---++"= heading. There are two modes to view a topic: * Normal topic view mode: Headings and text is shown in the usual TWiki rendering, representing the outline of the slide show. This mode is useful to print handouts. * Presentation mode: Each heading with text is shown as a slide; the format is based on a slide template. Navigation buttons are added to go to the "First", "Previous", and "Next" slide. Slide navigation is quick because it is done with anchor jumps to the same page. You can start the presentation by clicking on the "Start presentation" button. ---++ Syntax Rules ---+++ How to Create a Slide Show * Start with =%SLIDESHOWSTART%= * Use the optional =template= parameter to specify your own slide template topic, e.g. =%SLIDESHOWSTART{ template="MyOwnSlideTemplate" }%= * Create the slides. Start each slide with a ="---++"= heading and add text like paragraphs, bullets, tables and images. * __Hint:__ Make sure to keep each slide short enough so that you do not need to scroll to see all text of a slide during the presentation. * __Note:__ You can use any heading level you like, but use the same for all slides. * End your slide show with =%SLIDESHOWEND%= ---+++ How to Create Your own Slide Template To create your own template topic, copy the "Default Slide Template" section below into your own slide template topic and customize it to your needs. It can be activated as the default template in the Plugin's =TEMPLATE= setting, or per slide show with the =%SLIDESHOWSTART{ template="MyOwnSlideTemplate" }%= setting. * Use an HTML table that defines a slide. For example, create one row for the slide title, another one for the slide text. * These keywords can be used: | *Keyword* | *What it means* | | =%SLIDETITLE%= | The heading of the slide | | =%SLIDETEXT%= | The text of the slide | | =%SLIDECOMMENT%= | The comment of the slide (optional; appended to slide of missing) | | =%SLIDENUM%= | The current slide number | | =%SLIDEMAX%= | The last slide number | | =%SLIDENAV%= | The navigation buttons for "First", "Previous", "Next" slide | | =%SLIDENAVALL%= | The navigation buttons for "First", "Previous", "Next", "Last" slide | | =%SLIDENAVFIRST%= | The navigation button for "First slide" | | =%SLIDENAVPREV%= | The navigation button for "Previous slide" | | =%SLIDENAVNEXT%= | The navigation button for "Next slide" | | =%SLIDENAVLAST%= | The navigation button for "Last slide" | * Only text between =%STARTINCLUDE%= and =%STOPINCLUDE%= is used for the template. ---++ Example This is a short example of a slide show. You should see a "Start presentation" button if this Plugin is installed: %SLIDESHOWSTART% ---+++ Silly Sample Slide Show %BR%
By TWiki:Main/PeterThoeny San Jose, 17 Nov 2002
---+++ Agenda * Silly Introduction * Silly Feature * Silly Conclusion ---+++ Silly Introduction * why foo bar * blah blah ---++++ Comments * This text is not shown in the slide if HIDECOMMENTS is set to on. ---+++ Silly Feature * it's foo bar * more foo bar ---+++ Silly Conclusion * foo is bar * bar is foo %SLIDESHOWEND% This text is not part of the slide show ---++ %TOPIC% Global Settings Plugin settings are stored as preferences variables. To reference a plugin setting write ==%<plugin>_<setting>%==, i.e. ==%SLIDESHOWPLUGIN_SHORTDESCRIPTION%== * One line description, is shown in the %TWIKIWEB%.TextFormattingRules topic: * Set SHORTDESCRIPTION = Create web based presentations based on topics with headings. * Debug plugin: (See output in =data/debug.txt=) * Set DEBUG = 0 * Default template for slides: * Set TEMPLATE = SlideShowPlugin * Hide text starting with a =---+++ Comments= heading: * Set HIDECOMMENTS = on ---++ Default Slide Template The part between the rulers defines the default format of a slide: ----- %STARTINCLUDE%
TWiki Slide Show %SLIDETITLE% %SLIDENAVNEXT%
%BR% %SLIDETEXT%
%SLIDENAVALL%  Slide %SLIDENUM% of %SLIDEMAX% COPYRIGHT © %SERVERTIME{$year}% by the contributing authors
%STOPINCLUDE% ----- ---++ Plugin Installation Instructions __Note:__ You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running. * Download the ZIP file from the Plugin web (see below) * Unzip ==%TOPIC%.zip== in your twiki installation directory. Content: | *File:* | *Description:* | | ==data/TWiki/%TOPIC%.txt== | Plugin topic | | ==lib/TWiki/Plugins/%TOPIC%.pm== | Plugin Perl module | | ==lib/TWiki/Plugins/%TOPIC%/SlideShow.pm== | Plugin Perl module | | ==pub/TWiki/*.gif== | Various button image files | * TWiki 4.0 and up: Run the [[%SCRIPTURL%/configure%SCRIPTSUFFIX%][configure]] script, and enable the plugin in the {Plugins} section. * Test above example if the installation was successful. ---++ Plugin Info | Plugin Author: | TWiki:Main/PeterThoeny | | Copyright: | © 2006, [[http://www.structuredwikis.com/peter/][Peter Thoeny]] | | License: | GPL ([[http://www.gnu.org/copyleft/gpl.html][GNU General Public License]]) | | Plugin Version: | 12011 | | Change History: |   | | 19 Nov 2006: | 12011: Preserve URL parameters in slideshow (suggested by TWiki:Main/ThomasWeigert); changed logo in default template to T-logo; fixed warning errors introduced by 1.005 | | 16 Mar 2005: | 1.005 Crawford Currie prepped for Dakar, and fixed multiple evaluation bug | | 21 Nov 2004: | 1.004 Added support for =%SLIDECOMMENT%= template keyword (TWiki:Main/ArthurClemens); added benchmarks | | 21 Mar 2004: | Internal change: Fixed unofficial function call | | 14 Dec 2002: | Added =%SLIDENAVALL%= template keyword; added HIDECOMMENTS setting | | 23 Nov 2002: | Added =%SLIDENAVLAST%= template keyword; using print Skin for presentation mode | | 19 Nov 2002: | Added "Start presentation" and "End presentation" buttons; added =%SLIDENAVFIRST%=, =%SLIDENAVPREV%=, =%SLIDENAVNEXT%= template keywords | | 17 Nov 2002: | Initial version | | CPAN Dependencies: | none | | Other Dependencies: | none | | Perl Version: | 5.005 | | TWiki:Plugins/Benchmark: | %TWIKIWEB%.GoodStyle 98%, %TWIKIWEB%.FormattedSearch 99%, SlideShowPlugin 99% | | Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC% | | Feedback: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev | | Appraisal: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Appraisal | __Related Topics:__ %TWIKIWEB%.TWikiPreferences, %TWIKIWEB%.TWikiPlugins %META:FILEATTACHMENT{name="next.gif" attr="h" comment="Next button" date="1037510613" path="C:\Data\next.gif" size="993" user="TWikiContributor" version="1.2"}% %META:FILEATTACHMENT{name="prev.gif" attr="h" comment="Prev button" date="1037510599" path="C:\Data\prev.gif" size="993" user="TWikiContributor" version="1.2"}% %META:FILEATTACHMENT{name="clearpixel.gif" attr="h" comment="Clear pixel for spacing" date="1037523452" path="C:\Data\clearpixel.gif" size="807" user="TWikiContributor" version="1.1"}% %META:FILEATTACHMENT{name="startpres.gif" attr="h" comment="Start Presentation button" date="1037759933" path="C:\Data\MyTWiki\Plugins\SlideShowPlugin\pub\TWiki\SlideShowPlugin\startpres.gif" size="2065" user="TWikiContributor" version="1.1"}% %META:FILEATTACHMENT{name="endpres.gif" attr="h" comment="End Presentation button" date="1037759950" path="C:\Data\MyTWiki\Plugins\SlideShowPlugin\pub\TWiki\SlideShowPlugin\endpres.gif" size="2066" user="TWikiContributor" version="1.1"}% %META:FILEATTACHMENT{name="logo.gif" attr="h" comment="Logo for slide template" date="1037760048" path="C:\Data\MyTWiki\Plugins\SlideShowPlugin\pub\TWiki\SlideShowPlugin\logo.gif" size="2877" user="TWikiContributor" version="1.1"}% %META:FILEATTACHMENT{name="first.gif" attr="h" comment="First slide button" date="1037951064" path="C:\Data\MyTWiki\Plugins\SlideShowPlugin\pub\TWiki\SlideShowPlugin\first.gif" size="1010" user="TWikiContributor" version="1.1"}% %META:FILEATTACHMENT{name="last.gif" attr="h" comment="Last slide button" date="1037951080" path="C:\Data\MyTWiki\Plugins\SlideShowPlugin\pub\TWiki\SlideShowPlugin\last.gif" size="1014" user="TWikiContributor" version="1.1"}% @ 1.3 log @buildrelease @ text @d1 1 a1 3 %META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="3"}% d105 1 a105 1 d107 1 a107 1 TWiki Slide Show  d111 1 a111 1 %SLIDENAVNEXT%  a141 1 | ==data/TWiki/%TOPIC%.txt,v== | Plugin topic repository | d143 1 d145 1 a145 1 * (Dakar) Visit =configure= in your TWiki installation, and enable the plugin in the {Plugins} section. d151 3 a153 1 | Plugin Version: | 1.005 | d155 1 d173 8 a180 10 %META:FILEATTACHMENT{name="next.gif" attr="" comment="Next button" date="1037510613" path="C:\Data\next.gif" size="993" user="TWikiContributor" version="1.2"}% %META:FILEATTACHMENT{name="prev.gif" attr="" comment="Prev button" date="1037510599" path="C:\Data\prev.gif" size="993" user="TWikiContributor" version="1.2"}% %META:FILEATTACHMENT{name="clearpixel.gif" attr="" comment="Clear pixel for spacing" date="1037523452" path="C:\Data\clearpixel.gif" size="807" user="TWikiContributor" version="1.1"}% %META:FILEATTACHMENT{name="startpres.gif" attr="" comment="Start Presentation button" date="1037759933" path="C:\Data\MyTWiki\Plugins\SlideShowPlugin\pub\TWiki\SlideShowPlugin\startpres.gif" size="2065" user="TWikiContributor" version="1.1"}% %META:FILEATTACHMENT{name="endpres.gif" attr="" comment="End Presentation button" date="1037759950" path="C:\Data\MyTWiki\Plugins\SlideShowPlugin\pub\TWiki\SlideShowPlugin\endpres.gif" size="2066" user="TWikiContributor" version="1.1"}% %META:FILEATTACHMENT{name="logo.gif" attr="" comment="Logo for slide template" date="1037760048" path="C:\Data\MyTWiki\Plugins\SlideShowPlugin\pub\TWiki\SlideShowPlugin\logo.gif" size="2877" user="TWikiContributor" version="1.1"}% %META:FILEATTACHMENT{name="first.gif" attr="" comment="First slide button" date="1037951064" path="C:\Data\MyTWiki\Plugins\SlideShowPlugin\pub\TWiki\SlideShowPlugin\first.gif" size="1010" user="TWikiContributor" version="1.1"}% %META:FILEATTACHMENT{name="last.gif" attr="" comment="Last slide button" date="1037951080" path="C:\Data\MyTWiki\Plugins\SlideShowPlugin\pub\TWiki\SlideShowPlugin\last.gif" size="1014" user="TWikiContributor" version="1.1"}% @ 1.2 log @none @ text @d1 181 a181 172 %META:TOPICINFO{author="PeterThoeny" date="1079859586" format="1.0" version="1.2"}% ---+!! Slide Show Plugin This Plugin converts a topic with headings into a slide show. %TOC% ---++ Introduction There is already a defacto standard for presentations, why this Plugin? This Plugin makes sense for organizations that do already have lots of content in TWiki: It is easy to create a web based presentation that contains many links to related content. The Plugin does not try to compete with the bells and whistles of the other presentation program, but the markup of TWiki and other Plugins like TWiki:Plugins/ChartPlugin, TWiki:Plugins/GaugePlugin, TWiki:Plugins/SpreadSheetPlugin, TWiki:Plugins/TWikiDrawPlugin can be used to create an appealing presentation. Any topic with headings can be converted into a slide show. Each slide starts with a ="---++"= heading. There are two modes to view a topic: * Normal topic view mode: Headings and text is shown in the usual TWiki rendering, representing the outline of the slide show. This mode is useful to print handouts. * Presentation mode: Each heading with text is shown as a slide; the format is based on a slide template. Navigation buttons are added to go to the "First", "Previous", and "Next" slide. Slide navigation is quick because it is done with anchor jumps to the same page. You can start the presentation by clicking on the "Start presentation" button. ---++ Syntax Rules ---+++ How to Create a Slide Show * Start with =%SLIDESHOWSTART%= * Use the optional =template= parameter to specify your own slide template topic, e.g. =%SLIDESHOWSTART{ template="MyOwnSlideTemplate" }%= * Create the slides. Start each slide with a ="---++"= heading and add text like paragraphs, bullets, tables and images. * __Hint:__ Make sure to keep each slide short enough so that you do not need to scroll to see all text of a slide during the presentation. * __Note:__ You can use any heading level you like, but use the same for all slides. * End your slide show with =%SLIDESHOWEND%= ---+++ How to Create Your own Slide Template To create your own template topic, copy the "Default Slide Template" section below into your own slide template topic and customize it to your needs. It can be activated as the default template in the Plugin's =TEMPLATE= setting, or per slide show with the =%SLIDESHOWSTART{ template="MyOwnSlideTemplate" }%= setting. * Use an HTML table that defines a slide. For example, create one row for the slide title, another one for the slide text. * These keywords can be used: | *Keyword* | *What it means* | | =%SLIDETITLE%= | The heading of the slide | | =%SLIDETEXT%= | The text of the slide | | =%SLIDENUM%= | The current slide number | | =%SLIDEMAX%= | The last slide number | | =%SLIDENAV%= | The navigation buttons for "First", "Previous", "Next" slide | | =%SLIDENAVALL%= | The navigation buttons for "First", "Previous", "Next", "Last" slide | | =%SLIDENAVFIRST%= | The navigation button for "First slide" | | =%SLIDENAVPREV%= | The navigation button for "Previous slide" | | =%SLIDENAVNEXT%= | The navigation button for "Next slide" | | =%SLIDENAVLAST%= | The navigation button for "Last slide" | * Only text between =%STARTINCLUDE%= and =%STOPINCLUDE%= is used for the template. ---++ Example This is a short example of a slide show. You should see a "Start presentation" button if this Plugin is installed: %SLIDESHOWSTART% ---+++ Silly Sample Slide Show %BR%
By TWiki:Main/PeterThoeny San Jose, 17 Nov 2002
---+++ Agenda * Silly Introduction * Silly Feature * Silly Conclusion ---+++ Silly Introduction * why foo bar * blah blah ---++++ Comments * This text is not shown in the slide if HIDECOMMENTS is set to on. ---+++ Silly Feature * it's foo bar * more foo bar ---+++ Silly Conclusion * foo is bar * bar is foo %SLIDESHOWEND% This text is not part of the slide show ---++ %TOPIC% Global Settings Plugin settings are stored as preferences variables. To reference a plugin setting write ==%<plugin>_<setting>%==, i.e. ==%SLIDESHOWPLUGIN_SHORTDESCRIPTION%== * One line description, is shown in the %TWIKIWEB%.TextFormattingRules topic: * Set SHORTDESCRIPTION = Create web based presentations based on topics with headings. * Debug plugin: (See output in =data/debug.txt=) * Set DEBUG = 0 * Default template for slides: * Set TEMPLATE = SlideShowPlugin * Hide text starting with a =---+++ Comments= heading: * Set HIDECOMMENTS = on ---++ Default Slide Template The part between the rulers defines the default format of a slide: ----- %STARTINCLUDE%
TWiki Slide Show  %SLIDETITLE% %SLIDENAVNEXT% 
%BR% %SLIDETEXT%
%SLIDENAVALL%  Slide %SLIDENUM% of %SLIDEMAX% COPYRIGHT © %SERVERTIME{$year}% by the contributing authors
%STOPINCLUDE% ----- ---++ Plugin Installation Instructions __Note:__ You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running. * Download the ZIP file from the Plugin web (see below) * Unzip ==%TOPIC%.zip== in your twiki installation directory. Content: | *File:* | *Description:* | | ==data/TWiki/%TOPIC%.txt== | Plugin topic | | ==data/TWiki/%TOPIC%.txt,v== | Plugin topic repository | | ==lib/TWiki/Plugins/%TOPIC%.pm== | Plugin Perl module | | ==pub/TWiki/*.gif== | Various button image files | * Test above example if the installation was successful. ---++ Plugin Info | Plugin Author: | TWiki:Main/PeterThoeny | | Plugin Version: | 21 Mar 2004 (V1.003) | | Change History: |   | | 21 Mar 2004: | Internal change: Fixed inofficial function call | | 14 Dec 2002: | Added =%SLIDENAVALL%= template keyword; added HIDECOMMENTS setting | | 23 Nov 2002: | Added =%SLIDENAVLAST%= template keyword; using print Skin for presentation mode | | 19 Nov 2002: | Added "Start presentation" and "End presentation" buttons; added =%SLIDENAVFIRST%=, =%SLIDENAVPREV%=, =%SLIDENAVNEXT%= template keywords | | 17 Nov 2002: | Initial version | | CPAN Dependencies: | none | | Other Dependencies: | none | | Perl Version: | 5.005 | | Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC% | | Feedback: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev | __Related Topics:__ %TWIKIWEB%.TWikiPreferences, %TWIKIWEB%.TWikiPlugins -- TWiki:Main.PeterThoeny - 21 Mar 2004 %META:FILEATTACHMENT{name="clearpixel.gif" attr="" comment="Clear pixel for spacing" date="1071216910" path="C:\Data\MyTWiki\Plugins\SlideShowPlugin\pub\TWiki\SlideShowPlugin\clearpixel.gif" size="807" user="PeterThoeny" version="1.1"}% %META:FILEATTACHMENT{name="startpres.gif" attr="" comment="Start Presentation button" date="1071217038" path="C:\Data\MyTWiki\Plugins\SlideShowPlugin\pub\TWiki\SlideShowPlugin\startpres.gif" size="2065" user="PeterThoeny" version="1.1"}% %META:FILEATTACHMENT{name="endpres.gif" attr="" comment="End Presentation button" date="1071217056" path="C:\Data\MyTWiki\Plugins\SlideShowPlugin\pub\TWiki\SlideShowPlugin\endpres.gif" size="2066" user="PeterThoeny" version="1.1"}% %META:FILEATTACHMENT{name="logo.gif" attr="" comment="Logo for slide template" date="1071217079" path="C:\Data\MyTWiki\Plugins\SlideShowPlugin\pub\TWiki\SlideShowPlugin\logo.gif" size="2877" user="PeterThoeny" version="1.1"}% %META:FILEATTACHMENT{name="first.gif" attr="" comment="First slide button" date="1071217098" path="C:\Data\MyTWiki\Plugins\SlideShowPlugin\pub\TWiki\SlideShowPlugin\first.gif" size="1010" user="PeterThoeny" version="1.1"}% %META:FILEATTACHMENT{name="last.gif" attr="" comment="Last slide button" date="1071217111" path="C:\Data\MyTWiki\Plugins\SlideShowPlugin\pub\TWiki\SlideShowPlugin\last.gif" size="1014" user="PeterThoeny" version="1.1"}% %META:FILEATTACHMENT{name="next.gif" attr="" comment="Next button" date="1071217145" path="C:\Data\MyTWiki\Plugins\SlideShowPlugin\pub\TWiki\SlideShowPlugin\next.gif" size="993" user="PeterThoeny" version="1.1"}% %META:FILEATTACHMENT{name="prev.gif" attr="" comment="Prev button" date="1071217162" path="C:\Data\MyTWiki\Plugins\SlideShowPlugin\pub\TWiki\SlideShowPlugin\prev.gif" size="993" user="PeterThoeny" version="1.1"}% @ 1.1 log @none @ text @d1 1 a1 1 %META:TOPICINFO{author="PeterThoeny" date="1071217740" format="1.0" version="1.1"}% d116 1 a116 1 d149 1 a149 1 | Plugin Version: | 24 Dec 2002 (V1.003) | d151 1 d164 1 a164 1 -- Main.PeterThoeny - 14 Dec 2002 @