• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » WordPress Plugin to Include Jupyter Notebooks in Posts Pages

By Abhishek Ghosh May 25, 2018 9:46 am Updated on May 25, 2018

WordPress Plugin to Include Jupyter Notebooks in Posts Pages

Advertisement

It is extremely difficult work to include Jupyter Notebooks within WordPress posts. Recently, One Clever WordPress Plugin to Include Jupyter Notebooks in Posts Pages Developed, Which May Help Many Who Publishes Data Science Related Blog Posts. We have not tested yet, partially because we are currently testing compatibility of various software with new release of Ubuntu LTS. You can see our Percona MySQL and Apache2 guides for Ubuntu 18 LTS to have some sympathy for giving a clause of not testing but publishing an article. We noticed the plugin and thought to let others know about it. Also, it will work as self-reminder.

 

WordPress Plugin to Include Jupyter Notebooks

 

Earlier we published article on how to install WordPress Plugin, Themes from Github. That is, via a WordPress plugin named WP Pusher. To use the plugin we are talking about, you’ll need that plugin to be installed too.

Here is the official repository of the WordPress plugin :

Advertisement

---

Vim
1
https://github.com/ghandic/nbconvert

The code from the plugin talk about the clever trick :

Vim
1
2
3
4
5
6
7
8
9
10
11
...
function nbconvert_function($atts) {
//process plugin
extract(shortcode_atts(array(
        'url' => "",
     ), $atts));
  $clean_url = preg_replace('#^https?://#', '', rtrim($url,'/'));
  $html = file_get_contents("https://nbviewer.jupyter.org/url/" . $clean_url);
  $nb_output = getHTMLByID('notebook-container', $html);
  $last_update_date_time = get_most_recent_git_change_for_file_from_api($url);
...

Actually, unlike before we had to use Nbviewer :

Vim
1
http://nbviewer.jupyter.org/github/jrjohansson/qutip-lectures/blob/master/Lecture-16-Gallery-of-Wigner-functions.ipynb

Github itself can render Jupyter Notebooks :

Vim
1
https://github.com/jrjohansson/qutip-lectures/blob/master/Lecture-16-Gallery-of-Wigner-functions.ipynb

The difference also discussed on Github’s documentation :

Vim
1
https://help.github.com/articles/working-with-jupyter-notebook-files-on-github/

WordPress Plugin to Include Jupyter Notebooks in Posts Pages

If you look at my this FAQ :

Vim
1
http://nbviewer.jupyter.org/faq#can-i-access-notebook-viewer-over-https

They are saying – “If you need to embed an html notebook on another site, please use local export with nbconvert.”
That simply can mean, Rackspace has set a limit of number of GET requests from one domain.

In simple word, if your article has huge traffic and it pulls others server too much, you probably should self host all parts – Gitlab to nbviewer. It is not fully safe to rely on matters which are part of the post. Like, we paste part of snippet and also publish on Github.

The plugin definitely great, specially for the medium traffic websites. In last 2 decades we saw many free web services to get discontinued.

Tagged With installing jupyter nbviewer on wordpress , jupyter notebook file wordpress , jupyter notebook plugin , jupyter wordpress , nbviewer to your wordpress blog , wordpress iot ju , wordpress notebook plugin , wordpress plugin jupyter

This Article Has Been Shared 294 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to WordPress Plugin to Include Jupyter Notebooks in Posts Pages

  • Managed Cloud Services : Five Points You Must Know

    Managed Cloud Services are one of the major growth areas of the industries related to Internet. There are some must know points about Managed Cloud Services.

  • Cloud Hosting, WordPress and Fate of Traditional Servers

    Cloud Hosting and WordPress and has relationship with fate of Traditional Servers as both cloud and WordPress represent inflection point in the history of IT.

  • Adding Schema.org Structured Data in Genesis Theme

    Adding Schema.org Structured Data in Genesis Theme without using any plugin is quite easy as Genesis has great documentation and has excellent existing markups.

  • LinkedIn Profile Badge using LinkedIn API Guide

    LinkedIn Profile Badge can be created using LinkedIn API . Here is step by step guide with tools needed for troubleshooting for successfully creating the badge.

  • Best Tools For Web Server Log Processing & Statistics Running WordPress

    Commonly We Run One Server One WordPress Website Setup. Here Are Some Best Tools For Web Server Log Processing & Statistics Running WordPress Which Are Self-Hosted.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (22.1K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • The Future Of Serverless: The Load-Intensive Workload Case May 25, 2022
  • Cutting Out The Coding: Serverless Computing In Action May 24, 2022
  • Types of Blackjack Variants: Discover the Different Versions of the Game May 23, 2022
  • How Cloud, Robotics And Sensor Technologies Are Changing The Business Landscape May 23, 2022
  • Modernizing Your Business With a Hybrid Cloud Strategy May 22, 2022

About This Article

Cite this article as: Abhishek Ghosh, "WordPress Plugin to Include Jupyter Notebooks in Posts Pages," in The Customize Windows, May 25, 2018, May 25, 2022, https://thecustomizewindows.com/2018/05/wordpress-plugin-to-include-jupyter-notebooks-in-posts-pages/.

Source:The Customize Windows, JiMA.in

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Privacy Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2022 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy