• 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
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

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • How to Include Jupyter Notebooks in WordPress Posts

    How to Include Jupyter Notebooks in WordPress Posts? There Are Several Ways. It Depends on What Exactly Your Blogs Are About.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • Jupyter Notebook Tutorial : Part 1

    Jupyter has notebook that let us to write and execute code, analyze data and do more. Here is How To Install Jupyter Notebook Tutorial.

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 (24.3K 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

  • What is Hardware Security Module (HSM)September 30, 2023
  • Transducer Technologies of HeadphonesSeptember 28, 2023
  • What is Analog-to-Digital Converter (ADC)September 27, 2023
  • Comparison of Tube Amplifiers and SemiconductorsSeptember 26, 2023
  • What is a Digital-to-Analog Converter (DAC)September 25, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

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

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