How can I convert an IPython notebook to HTML for use in a Google Blogger blog?
There is an answer here:
IPython notebook to html for blog post?
and I have read the associated blog from fperez, but -f blogger-html
does not seem to be an option with nbconvert
anymore (Is that right?).
I can convert my notebook to HTML, but Google doesn't seem to like that. If I use the --template basic
option, the headers disappear, and the LaTex rendering of mathematical expressions is lost. Also, Google seems to generate errors when saving/publishing, so I can't save it.
Anyone have any info on the updated process?
You can bypass the nvconvert conversion by using your browsers file->"save (page) as" feature. it would download all associated files. It just catches the IPython Notebook UI at the top as well as the data. So with some simple editing it can be done. But I miss that option as well.
Fernando recently posted a slight update to his post about blogging with the notebook.
Update (May 2014): Please note that these instructions are outdated. while it is still possible (and in fact easier) to blog with the Notebook, the exact process has changed now that IPython has an official conversion framework. However, Blogger isn't the ideal platform for that (though it can be made to work). If you are interested in using the Notebook as a tool for technical blogging, I recommend looking at Jake van der Plas' Pelican support or Damián Avila's support in Nikola.
Update: made full github repo for blog-as-notebooks, and updated instructions on how to more easily configure everything and use the newest nbconvert for a more streamlined workflow.
Maybe those two links can help you figure it out.