This post originated from an RSS feed registered with Ruby Buzz
by Michael Neumann.
Original Post: A Web-based Presentation Maker
Feed Title: Mike's Weblog
Feed URL: http://www.ntecs.de/blog-old/index.rss?cat=ruby&count=7
Feed Description: Blogging about Ruby and other interesting stuff.
Yesterday, I spent the time to create a web-based presentation maker (yes,
in less than one day!). It’s a web application written in Wee
and Ruby, with which you can edit slides (change, add, remove, reorder) and
view a presentation inside a browser. Let’s look at a screenshot
first (click on it to see it in full size):
The screenshot shows the edit mode. If you click on ‘Back’,
then the left pane is hidden and you can proceed with presenting. If you
click with the mouse on the title, the next overlay (or slide, if
we’re on the last overlay) is shown. I want to add keyboard
navigation, too, but I couldn’t get the JavaScript working. Note that
the whole application is in no way JavaScript-driven, I only need
JavaScript to trigger an "open(url)" call, so that Wee will
display a new page. It would work completely without JavaScript if I would
display anchor links for "next overlay" and so on.
Features
The presentations file format uses Ruby’s documentation markup
(RDoc), which is a very easy markup language (nearly plain text). So you
even don’t need the web-based editor to create the presentation, you
could also use your favourit editor (vim of course ;-)
It’s easy to display colorized source code. Just insert:
!!colorize:ruby
def this_method
end
You can start applications from within the presentation by clicking on a
link. Note that the application is started on the server-side, which is
intended, as you’ll run the presentation maker application from your
very own machine. Example (the execute button in the screenshot):
!!exec:hidden
cd $HOME/Dev/svn/public/ForSys && ruby test_lout.rb
You can create Postscript and PDF output for printing. A Table of Content
is included, and in the PDF version all links are clickable (of course all
images are included, too).