[IPython-dev] Command line tool to publish a notebook on a wordpress blog

Doug Blank doug.blank at gmail.com
Tue Jul 29 08:07:07 EDT 2014


On Tue, Jul 29, 2014 at 4:07 AM, Kiko <kikocorreoso at gmail.com> wrote:

> Hi all,
>
> I made a small script to publish a notebook directly on a wordpress blog.
> The repo can be found here:
> https://github.com/Pybonacci/ipy2wp
>
> It uses nbconvert to convert the notebook to html (maybe I should explore
> a conversion to markdown instead of html). I use this to publish on
> http://pybonacci.org and it works great with simple notebooks (I have to
> check notebooks with more complex structure). It creates a draft on your
> wordpress blog so you can check the post before publishing.
>
> If someone uses the script please provide some feedback to improve the
> tool. If someone experience any problem, please, open an issue in the repo.
> If someone has something similar and want to share it would be great to see
> how others are solving that.
>
> If your wordpress blog is older than v 3.5 please check this link:
> http://codex.wordpress.org/XML-RPC_Support
>
> Kind regards.
>

Very useful!

Do you have any suggestions regarding how to get IPython's /static etc.
installed so that everything needed (eg, javascript) will load?

Also, looks like some HTML is being injected into <script> areas (note the
<p> tag and >):

<script>
...
google.load('visualization', '1.0', {'callback': drawChart,
'packages':['corechart']});
        });</p>
<p>// ]]></script></p>

Thanks for making this available!

-Doug


> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140729/8ab973c2/attachment.html>


More information about the IPython-dev mailing list