# Ruby/erb S5 Helper?

**URL:** <https://www.ruby-forum.com/t/ruby-erb-s5-helper/87443>\
**Category:** Ruby\
**Created:** [March 2, 2007, 5:11pm UTC](https://www.ruby-forum.com/t/ruby-erb-s5-helper/87443 "2007-03-02T17:11:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mat\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ce7236/32.png) [@Mat\_S](https://www.ruby-forum.com/u/Mat_S)\
**Post date:** [March 2, 2007, 5:11pm UTC](https://www.ruby-forum.com/t/ruby-erb-s5-helper/87443/1 "2007-03-02T17:11:47Z")

</div>

I had a thought today about trying to create a ruby DSL for  
generating S5 presentations. Granted, S5 is fairly simple. But I  
think we could do better and have more functionality by using a  
combination of Rake and Erb to generate the slides from templates. I  
already got code highlighting in slides that looks like this:

\<% highlight :ruby do %\>  
Locale.set ‘en-US’  
“Welcome”.t # =\> “Welcome”  
\<% end %\>

Which I think is pretty cool.

Anyone know of a project like this or should I strike off and start  
something?  
-Mat

---

<div class="post-metadata">

**Author:** ![Mat\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ce7236/32.png) [@Mat\_S](https://www.ruby-forum.com/u/Mat_S)\
**Post date:** [March 2, 2007, 5:24pm UTC](https://www.ruby-forum.com/t/ruby-erb-s5-helper/87443/2 "2007-03-02T17:24:49Z")

</div>

On 3/2/07, Mat S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> \<% end %\>
> 
> Which I think is pretty cool.
> 
> Anyone know of a project like this or should I strike off and start  
> something?  
> -Mat

S5 is compatible with XOXO a microformat for doing presentations. (I  
think  
XOXO is basically a subset of S5).

There is a Ruby XOXO parser and generator which was a port of the Python  
implementation.  
You might be able to get some ideas or functionality from it.

The email discussing it is here

[http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/177355](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/177355)

PS. Keep me posted of your progress or if you create a mailing list, I  
like  
to use S5 myself for presentations.

Blessings,

Jeff

---

<div class="post-metadata">

**Author:** ![Mat\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ce7236/32.png) [@Mat\_S](https://www.ruby-forum.com/u/Mat_S)\
**Post date:** [March 2, 2007, 5:31pm UTC](https://www.ruby-forum.com/t/ruby-erb-s5-helper/87443/3 "2007-03-02T17:31:49Z")

</div>

On 3/2/07, Mat S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Which I think is pretty cool.
> 
> Anyone know of a project like this or should I strike off and start  
> something?  
> -Mat

Hi, I have this camping app that can do kind of what you want:  
[http://metacampsite.com/svn/presenter/](http://metacampsite.com/svn/presenter/)

---

<div class="post-metadata">

**Author:** ![Mat\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ce7236/32.png) [@Mat\_S](https://www.ruby-forum.com/u/Mat_S)\
**Post date:** [March 2, 2007, 5:57pm UTC](https://www.ruby-forum.com/t/ruby-erb-s5-helper/87443/4 "2007-03-02T17:57:51Z")

</div>

Cool, good advice so far. I’m still not seeing quite what I’m  
looking for. XOXO is good, but I feel like a presentation should be  
more than just an outline. And I’d also like to do this as something  
that you could email around, rather than a web app.

Also, does anyone know of a good ruby theme for S5?  
-Mat

---

<div class="post-metadata">

**Author:** ![Mat\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ce7236/32.png) [@Mat\_S](https://www.ruby-forum.com/u/Mat_S)\
**Post date:** [March 5, 2007, 11:34am UTC](https://www.ruby-forum.com/t/ruby-erb-s5-helper/87443/5 "2007-03-05T11:34:06Z")

</div>

On 2 Mar 2007, at 16:57, Mat S. wrote:

> Cool, good advice so far. I’m still not seeing quite what I’m  
> looking for. XOXO is good, but I feel like a presentation should  
> be more than just an outline. And I’d also like to do this as  
> something that you could email around, rather than a web app.

Paul B. wrote a “Rake-driven text-to-S5 workflow” to simplify  
the preparation of a talk he gave. You can find it here, mentioned  
towards the end of the article:

> **[Ten things I hate about Rails](https://po-ru.com/2006/11/15/ten-things-i-hate-about-rails)**
>
> I went to Munich the weekend before last for my third Euruko (European Ruby Conference). It’s something of an unconference in that the schedule is decided on the day and anyone who wants to speak can do so. A lot of people were using what can most...

Regards,  
Andy S.
