Matthias<div>Thanks for sharing other ipynb files, I like to know how other people are using it.</div><div><br></div><div>Denis,</div><div>I wrote a little note on how to <a href="http://nbviewer.ipython.org">nbviewer.ipython.org</a> to remind myself</div>
<div><br></div><div><span style="font-family:'Times New Roman'"><br></span></div><div><span style="font-family:'Times New Roman'">Two ways to convert .ipynb to a web page: </span></div><div><p style="margin:0px;font-family:'Times New Roman';font-size:medium">
(1) via GIST ID:</p><ol style="font-family:'Times New Roman';font-size:medium"></ol><ul style="font-family:'Times New Roman';font-size:medium"><li>create a public gist at <a href="http://gist.github.com">http://gist.github.com</a> by uploading a .ipynb file which will generate a gist_id (e.g. 4138271)</li>
<li>enter the gist_id at <a href="http://nbviewer.ipython.org/">http://nbviewer.ipython.org/</a></li><li>notebook is published as HTML at URL= <a href="http://nbviewer.ipython.org/4138271/">http://nbviewer.ipython.org/4138271/</a></li>
</ul><p style="margin:0px;font-family:'Times New Roman';font-size:medium">(2) via public URL</p><ul style="font-family:'Times New Roman';font-size:medium"><li>upload a .ipynb file to DropBox public folder and copy its public URL (e.g. <a href="http://dl.dropbox.com/u/54552252/what-is-time.ipynb">http://dl.dropbox.com/u/54552252/what-is-time.ipynb</a>)</li>
<li>paste the public URL at <a href="http://nbviewer.ipython.org/">http://nbviewer.ipython.org/</a></li><li>notebook is published as HTML at URL=<a href="http://nbviewer.ipython.org/url/dl.dropbox.com/u/54552252/what-is-time.ipynb" style="background-color:white;color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px">http://nbviewer.ipython.org/url/dl.dropbox.com/u/54552252/what-is-time.ipynb</a></li>
</ul><div><font face="Times New Roman" size="3"><br></font></div><div><font face="Times New Roman" size="3">Happy Notebooking</font></div><div><font face="Times New Roman" size="3"><br></font></div><div><font face="Times New Roman" size="3">Wen</font></div>
<br><div class="gmail_quote">On Wed, Nov 28, 2012 at 4:04 PM, Matthias BUSSONNIER <span dir="ltr"><<a href="mailto:bussonniermatthias@gmail.com" target="_blank">bussonniermatthias@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Denis,<br>
<br>
The way nbviewer works is maybe badly advertised.<br>
It does not offer a way to search.<br>
It does not store anything and has no idea of what user see through it.<br>
<br>
The point it just.<br>
-> you give it a url to a ipynb file.<br>
-> It render it as html for you and show it.<br>
<br>
If the file on the url update, the view update (10 min lag because of caching).<br>
<br>
Gist are added as convenience (because we find them great) and can be multi files/ browsable.<br>
<br>
We also have a 'github' version which allows you to browse github repos.<br>
<a href="http://nbviewer-dev.herokuapp.com/ipython/" target="_blank">http://nbviewer-dev.herokuapp.com/ipython/</a><br>
<br>
Of course we plan on improving it, and simplify sharing, but this require resources we do not have.<br>
<br>
Nbviewer started as a week-end hack, a post on the ML for a proof of concept, and hasn't much changed since then,<br>
except by the fact that people use it.<br>
<br>
One of the other reason nbviewer is stagnating is because it rely on modify version nbconvert, and I refuse myself to work<br>
on nbviewer as long as nbconvert is not usable as-is for nbviewer.<br>
<br>
As a consolation, here are the list of the most requested url in the last 2 weeks (xxx) = nrequest<br>
<br>
(641) <a href="http://nbviewer.ipython.org/urls/raw.github.com/fperez/nipy-notebooks/master/exploring_r_formula.ipynb" target="_blank">http://nbviewer.ipython.org/urls/raw.github.com/fperez/nipy-notebooks/master/exploring_r_formula.ipynb</a><br>
(461) <a href="http://nbviewer.ipython.org/url/jakevdp.github.com/downloads/notebooks/XKCD_plots.ipynb" target="_blank">http://nbviewer.ipython.org/url/jakevdp.github.com/downloads/notebooks/XKCD_plots.ipynb</a><br>
(416) <a href="http://nbviewer.ipython.org/urls/raw.github.com/ipython/ipython/master/docs/examples/notebooks/00_notebook_tour.ipynb" target="_blank">http://nbviewer.ipython.org/urls/raw.github.com/ipython/ipython/master/docs/examples/notebooks/00_notebook_tour.ipynb</a><br>
(242) <a href="http://nbviewer.ipython.org/urls/raw.github.com/swcarpentry/2012-11-scripps/master/python/testing-with-nose.ipynb" target="_blank">http://nbviewer.ipython.org/urls/raw.github.com/swcarpentry/2012-11-scripps/master/python/testing-with-nose.ipynb</a><br>
(210) <a href="http://nbviewer.ipython.org/urls/raw.github.com/changhiskhan/talks/master/pydata2012/pandas_timeseries.ipynb" target="_blank">http://nbviewer.ipython.org/urls/raw.github.com/changhiskhan/talks/master/pydata2012/pandas_timeseries.ipynb</a><br>
(197) <a href="http://nbviewer.ipython.org/3962843" target="_blank">http://nbviewer.ipython.org/3962843</a><br>
(175) <a href="http://nbviewer.ipython.org/3835181" target="_blank">http://nbviewer.ipython.org/3835181</a><br>
(164) <a href="http://nbviewer.ipython.org/urls/raw.github.com/fperez/blog/master/120907-Blogging" target="_blank">http://nbviewer.ipython.org/urls/raw.github.com/fperez/blog/master/120907-Blogging</a> with the IPython Notebook.ipynb<br>
(163) <a href="http://nbviewer.ipython.org/2352771" target="_blank">http://nbviewer.ipython.org/2352771</a><br>
(106) <a href="http://nbviewer.ipython.org/4042018" target="_blank">http://nbviewer.ipython.org/4042018</a><br>
(99) <a href="http://nbviewer.ipython.org/url/epi.whoi.edu/esr/GIS_GRASS-R_Example.ipynb" target="_blank">http://nbviewer.ipython.org/url/epi.whoi.edu/esr/GIS_GRASS-R_Example.ipynb</a><br>
(98) <a href="http://nbviewer.ipython.org/4121857" target="_blank">http://nbviewer.ipython.org/4121857</a><br>
(92) <a href="http://nbviewer.ipython.org/urls/raw.github.com/ipython/ipython/3607712653c66d63e0d7f13f073bde8c0f209ba8/docs/examples/notebooks/cython_extension.ipynb" target="_blank">http://nbviewer.ipython.org/urls/raw.github.com/ipython/ipython/3607712653c66d63e0d7f13f073bde8c0f209ba8/docs/examples/notebooks/cython_extension.ipynb</a><br>
(88) <a href="http://nbviewer.ipython.org/urls/raw.github.com/jrjohansson/qutip-lectures/master/Lecture-1-Jaynes-Cumming-model.ipynb" target="_blank">http://nbviewer.ipython.org/urls/raw.github.com/jrjohansson/qutip-lectures/master/Lecture-1-Jaynes-Cumming-model.ipynb</a><br>
(86) <a href="http://nbviewer.ipython.org/urls/raw.github.com/jiffyclub/dc-python-meetup-nov-2012/master/TideDataDemo.ipynb" target="_blank">http://nbviewer.ipython.org/urls/raw.github.com/jiffyclub/dc-python-meetup-nov-2012/master/TideDataDemo.ipynb</a><br>
(73) <a href="http://nbviewer.ipython.org/urls/raw.github.com/ipython/ipython/master/docs/examples/notebooks/sympy.ipynb" target="_blank">http://nbviewer.ipython.org/urls/raw.github.com/ipython/ipython/master/docs/examples/notebooks/sympy.ipynb</a><br>
(73) <a href="http://nbviewer.ipython.org/urls/raw.github.com/jiffyclub/dc-python-meetup-nov-2012/master/DataCleanup.ipynb" target="_blank">http://nbviewer.ipython.org/urls/raw.github.com/jiffyclub/dc-python-meetup-nov-2012/master/DataCleanup.ipynb</a><br>
(68) <a href="http://nbviewer.ipython.org/3914904" target="_blank">http://nbviewer.ipython.org/3914904</a><br>
(65) <a href="http://nbviewer.ipython.org/urls/raw.github.com/ipython/ipython/3607712653c66d63e0d7f13f073bde8c0f209ba8/docs/examples/notebooks/rmagic_extension.ipynb" target="_blank">http://nbviewer.ipython.org/urls/raw.github.com/ipython/ipython/3607712653c66d63e0d7f13f073bde8c0f209ba8/docs/examples/notebooks/rmagic_extension.ipynb</a><br>
(64) <a href="http://nbviewer.ipython.org/4052828" target="_blank">http://nbviewer.ipython.org/4052828</a><br>
<br>
Thanks.<br>
<span class="HOEnZb"><font color="#888888">--<br>
Matthias<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Le 28 nov. 2012 à 21:30, Dennis Daniels a écrit :<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> I just found out about <a href="http://nbviewer.ipython.org/" target="_blank">http://nbviewer.ipython.org/</a><br>
><br>
> It says I can browse notebooks but the search requires a URL or gist number... makes it kind of hard to browse if I don't know what is inside...<br>
><br>
> Searches for things like<br>
> -tutorial<br>
> -lesson<br>
> -how to<br>
> -for loops<br>
> -scipy<br>
> failed ...<br>
><br>
> I love the idea of sharing the NBs but... the site doesn't offer much in the way for casual users to see the NB coolness without knowing exactly where NBs are located.<br>
><br>
><br>
> Further, it says I can upload my own NBs ... but I don't see an upload option.<br>
><br>
><br>
> Are there plans for making the <a href="http://nbviewer.ipython.org/" target="_blank">http://nbviewer.ipython.org/</a> a little more like a library and less like a lock box(insert key/url here)?<br>
><br>
> many thanks<br>
> Dennis<br>
> lost and found:<br>
><br>
> 0018586833669 (google)<br>
> GoogleTalk: dennisgdaniels<br>
><br>
> skype: dennisdaniels<br>
><br>
> 0015047227525 (only emergencies)<br>
><br>
><br>
> EOF<br>
><br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> IPython-User mailing list<br>
> <a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
> <a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
<br>
_______________________________________________<br>
IPython-User mailing list<br>
<a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><br></div><div>Thanks,</div><div><br></div>- Wen<br><br><br><br><br>
</div>