Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > [ANN] Slide Show (S9) Gem V0.6 - New and Improved Support for UsingYour Own Slide Show Templates

Reply
Thread Tools

[ANN] Slide Show (S9) Gem V0.6 - New and Improved Support for UsingYour Own Slide Show Templates

 
 
Gerald Bauer
Guest
Posts: n/a
 
      08-26-2008
Hello,

I've added two new options to make it easier to use your own slide
show templates (to change lets say the encoding in the template).

The new -g/--generate option lets you generate the slide show
templates (using the slide show templates packaged with the gem) e.g.
Use:

slideshow -g

Resulting in:

Slide Show (S9) Version: 0.6 on Ruby 1.8.6
Copying 'templates/s6/header.html.erb' to 'header.html.erb'
Copying 'templates/s6/footer.html.erb' to 'footer.html.erb'
Copying 'templates/s6/style.css.erb' to 'style.css.erb'
Copying 'templates/gradient.svg.erb' to 'gradient.svg.erb'
Done.

Note, by default S9 generates S6 templates. If you want to generate
S5 or FullerScreen templates add the -s5 or -f/--fullerscreen switch
e.g.

slideshow -g -s5
slideshow -g -f

To use your own slide show templates instead of the built-in use the
new load path -i/--include option e.g. Use:

slideshow -i . microformats
slideshow -i ~/s9/summer microformats

The slideshow gem will use the slide show templates in your working folder.

Slide Show (S9) Version: 0.6 on Ruby 1.8.6
Loading custom template ./header.html.erb...
Loading custom template ./footer.html.erb...
Loading custom template ./style.css.erb...
Loading custom template ./gradient.svg.erb...
Preparing slideshow theme 'microformats.svg'...
Preparing slideshow 'microformats.html'...
Preparing slideshow stylesheet 'microformats.css'...
Done.


That's it. Questions and comments welcome. Send them along to the S5,
S6, S9 and friends web slide show forum/mailing list @
http://groups.google.com/group/webslideshow

Cheers.

PS: What's Slide Show (S9)?

A Ruby gem that lets you create slide shows and author slides in
plain text using a wiki-style markup language that's easy-to-write and
easy-to-read. The Slide Show (S9) project also collects and welcomes
themes and ships "out-of-the-gem" with built-in support for
"loss-free" gradient vector graphics themes. More @
http://slideshow.rubyforge.org

--
Gerald Bauer - Internet Professional - http://rubybook.ca

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANN] Slide Show (S9) Gem Updated (v0.7.5) - SupportsPlugins/Helpers; New Built-in Helpers Include content_for, include and More Gerald Bauer Ruby 0 02-25-2009 07:58 AM
[ANN] Slide Show (S9) Gem Now Includes S5 Support (IncludingBuilt-In Gradient Themes) Gerald Bauer Ruby 14 07-06-2008 08:37 PM
RubyGems 0.9.1 calling a gem with gem '<gem>' Austin 7873 Ruby 5 01-27-2007 10:05 PM
ANN: SCons.0.96 adds Fortran 90/95 support, better Qt support,platform-independent file system actions, improved debugging, lots more Steven Knight Python 0 08-18-2004 03:57 PM
Templates templates templates JKop C++ 3 07-21-2004 11:44 AM



Advertisments