Unfortunately I don't have the time to try this out right now but it looks very interesting! Can anyone give it a try and let us know how well it works? Making a smoother path to presentation materials from notebooks is high on our todo list, and this sounds like a good first step in that direction. If it woks, we should definitely try to streamline the process as much as possible. +Wes McKinney, have you had a look at it yet?
How to embed IPython notebook in a html5 slideshow.

Some days ago, Wes McKinney (@wesmckinn) said in twitter: You know what would be awesome? An HTML5 slideshow where each slide contains an IPython notebook cell or two #python

To provide some help, I sent him a link (http://code.google.com/p/html5slides) where you can download a html5 slideshow template. But, this was a very little help, and he is working very hard in Pandas (http://pandas.sourceforge.net), so I proposed to me to achieve what he needs.

This morning I took my breakfast time to figure out one way to do this (disclaimer: maybe this is not the more elegant way to resolve the problem but I achieved the goal, jeje!)

1- You have to download this presentation [1] in html5 (modified from http://code.google.com/p/html5slides, thanks for your work!)

If you look at the code, you will see this block:

<article class='nobackground'>
IPython embedded + title

<iframe src='URI_obtained_from_your_IPython_notebook_running'></iframe>

Keep in mind this, we come back here soon!

2- You have to run a IPython notebook and, in the dashboard page, create a new notebook or load a previous one.

When the new page (with your notebook) opens, you have to seek and copy the URI provided in the address bar (IMPORTANT NOTE: take in mind that this URI is different each time you run IPython, so before you begin with your presentation, be sure that run your IPython notebook to get the properly URI) and paste it in the code of your presentation. Where? In 'URI_obtained_from_your_IPython_notebook_running', you know where it is (see the step 1 again if you don't get it).

3- Enjoy you presentation!!!

Here is a image of IPython notebook embedded in the presentation you downloaded before [1].

I hope you can find this useful.
See you!

[1] http://www.fileserve.com/file/vswyEsj/IPython_embedded.zip
Shared publiclyView activity