Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Ruby (http://www.velocityreviews.com/forums/f66-ruby.html)
-   -   [ANN] Slide Show (S9) Gem V0.6 - New and Improved Support for UsingYour Own Slide Show Templates (http://www.velocityreviews.com/forums/t852530-ann-slide-show-s9-gem-v0-6-new-and-improved-support-for-usingyour-own-slide-show-templates.html)

Gerald Bauer 08-26-2008 08:12 PM

[ANN] Slide Show (S9) Gem V0.6 - New and Improved Support for UsingYour Own Slide Show Templates
 
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



All times are GMT. The time now is 04:45 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.