{"id":12607,"date":"2014-06-08T09:47:46","date_gmt":"2014-06-08T08:47:46","guid":{"rendered":"http:\/\/www.ch.imperial.ac.uk\/rzepa\/blog\/?p=12607"},"modified":"2015-09-19T11:08:45","modified_gmt":"2015-09-19T10:08:45","slug":"12607","status":"publish","type":"post","link":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=12607","title":{"rendered":"Test of JSmol in WordPress: the background story."},"content":{"rendered":"<div class=\"kcite-section\" kcite-section-id=\"12607\">\n<p>A word of explanation about this test page for experimenting with JSmol. Many moons ago <a title=\"Jmol and WordPress: Loading 3D molecular models, molecular isosurfaces and molecular vibrations into a blog\" href=\"http:\/\/www.ch.imperial.ac.uk\/rzepa\/blog\/?p=8\" target=\"_blank\">I posted <\/a>about how to include a generated 3D molecular model in a blog post, and have used that method on many posts here ever since. It relied on Java as the underlying software (first introduced in 1996), or almost 20 years ago. Like most software technologies, much has changed, and Java itself\u00a0(as a compiled language) has had to move to improve its underlying security. In the last year, the Java code itself (in this case Jmol) has needed to be digitally signed in a standard manner, and this meant that many an old site that used unsigned older versions has started to throw up increasingly alarming messages.<\/p>\n<p>To continue to experience the intended effect of eg Jmol, the user in turn has had to increasingly accept or tinker with their local Java settings; this has indeed become increasingly intrusive. And less experienced users often do not wish to engage with any of this activity. About two years ago, the Jmol community started having concerted\u00a0discussions about what to do regarding Java, and they also started to converge with other developers and communities about a solution based on Javascript (which despite the name operates in an entirely different way from Java).\u00a0Some of this early activity I tried to capture in a datument written during the summer of 2012<span id=\"cite_ITEM-12607-0\" name=\"citation\"><a href=\"#ITEM-12607-0\">[1]<\/a><\/span>. The magnitude of the problem was considerable, how to refactor tens of thousands of Java-Code into JavaScript. The story of how this miracle was accomplished must be written by people like <a href=\"http:\/\/wiki.jmol.org\/index.php\/Jmol_JavaScript_Object\" target=\"_blank\">Bob Hanson<\/a> and <a href=\"\u00a0http:\/\/webglmol.sourceforge.jp\/index-en.html\" target=\"_blank\">Takanori Nakane<\/a>\u00a0and perhaps some day they will. However, inserting all this wonderful technology into eg a WordPress blog still needed doing, and this task was undertaken by <a href=\"https:\/\/github.com\/jimhu-tamu\/wordpress\/tree\/master\/\" target=\"_blank\">Jim Hu<\/a>\u00a0(and there are many others that are part of this effort, they all need to be thanked).<\/p>\n<p>I volunteered to test, but so that Jim could see the effects of this testing, this (public) test page was created. Behind the scenes, the bugs have been winkled out, although much still remains to be done. This page will no doubt continue to evolve as this is done, and when it all works, I will no doubt add a postscript. So keep watching this space. It has two examples, each of which should produce a box with a molecule, as per <a href=\"http:\/\/www.rzepa.net\/blog\/?p=14272\" target=\"_blank\">this blog post<\/a>.<\/p>\n<ol>\n<li> [jsmol pdb=&#8217;1PRC&#8217; caption=&#8217;Load 1PRC&#8217; commands=&#8221; id=&#8217;a1&#8242; debug=&#8217;true&#8217;]<\/li>\n<li>[jsmol caption=&#8217;Load local file&#8217; fileurl=&#8217;http:\/\/rzepa.net\/blog\/wp-content\/uploads\/2014\/06\/test2.pdb&#8217; id=&#8217;a2&#8242; commands=&#8217;=spacefill 23%;wireframe 0.15;color cpk;&#8217; debug=&#8217;true&#8217;]\n<\/li>\n<\/ol>\n<h2>References<\/h2>\n    <ol class=\"kcite-bibliography csl-bib-body\"><li id=\"ITEM-12607-0\">H.S. Rzepa, \"Chemical datuments as scientific enablers\", <i>Journal of Cheminformatics<\/i>, vol. 5, 2013. <a href=\"https:\/\/doi.org\/10.1186\/1758-2946-5-6\">https:\/\/doi.org\/10.1186\/1758-2946-5-6<\/a>\n\n<\/li>\n<\/ol>\n\n<\/div> <!-- kcite-section 12607 -->","protected":false},"excerpt":{"rendered":"<p>A word of explanation about this test page for experimenting with JSmol. Many moons ago I posted about how to include a generated 3D molecular model in a blog post, and have used that method on many posts here ever since. It relied on Java as the underlying software (first introduced in 1996), or almost [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":5,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[2],"tags":[839,487,490,1231,1229,1232,1230],"ppma_author":[2661],"class_list":["post-12607","post","type-post","status-publish","format-standard","hentry","category-chemical-it","tag-bob-hanson","tag-java","tag-javascript","tag-jim-hu","tag-software-technologies","tag-takanori-nakane","tag-wonderful-technology"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Test of JSmol in Wordpress: the background story. - Henry Rzepa&#039;s Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=12607\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Test of JSmol in Wordpress: the background story. - Henry Rzepa&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"A word of explanation about this test page for experimenting with JSmol. Many moons ago I posted about how to include a generated 3D molecular model in a blog post, and have used that method on many posts here ever since. It relied on Java as the underlying software (first introduced in 1996), or almost [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=12607\" \/>\n<meta property=\"og:site_name\" content=\"Henry Rzepa&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2014-06-08T08:47:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-09-19T10:08:45+00:00\" \/>\n<meta name=\"author\" content=\"Henry Rzepa\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Henry Rzepa\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Test of JSmol in Wordpress: the background story. - Henry Rzepa&#039;s Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=12607","og_locale":"en_GB","og_type":"article","og_title":"Test of JSmol in Wordpress: the background story. - Henry Rzepa&#039;s Blog","og_description":"A word of explanation about this test page for experimenting with JSmol. Many moons ago I posted about how to include a generated 3D molecular model in a blog post, and have used that method on many posts here ever since. It relied on Java as the underlying software (first introduced in 1996), or almost [&hellip;]","og_url":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=12607","og_site_name":"Henry Rzepa&#039;s Blog","article_published_time":"2014-06-08T08:47:46+00:00","article_modified_time":"2015-09-19T10:08:45+00:00","author":"Henry Rzepa","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Henry Rzepa","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=12607#article","isPartOf":{"@id":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=12607"},"author":{"name":"Henry Rzepa","@id":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/#\/schema\/person\/2b40f7b9c872a4dc1547e040a11b6281"},"headline":"Test of JSmol in WordPress: the background story.","datePublished":"2014-06-08T08:47:46+00:00","dateModified":"2015-09-19T10:08:45+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=12607"},"wordCount":445,"commentCount":1,"keywords":["Bob Hanson","Java","JavaScript","Jim Hu","software technologies","Takanori Nakane","wonderful technology"],"articleSection":["Chemical IT"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=12607#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=12607","url":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=12607","name":"Test of JSmol in Wordpress: the background story. - Henry Rzepa&#039;s Blog","isPartOf":{"@id":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/#website"},"datePublished":"2014-06-08T08:47:46+00:00","dateModified":"2015-09-19T10:08:45+00:00","author":{"@id":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/#\/schema\/person\/2b40f7b9c872a4dc1547e040a11b6281"},"breadcrumb":{"@id":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=12607#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=12607"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=12607#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog"},{"@type":"ListItem","position":2,"name":"Test of JSmol in WordPress: the background story."}]},{"@type":"WebSite","@id":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/#website","url":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/","name":"Henry Rzepa&#039;s Blog","description":"Chemistry with a twist","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/#\/schema\/person\/2b40f7b9c872a4dc1547e040a11b6281","name":"Henry Rzepa","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/897b6740f7f599bca7942cdf7d7914af5988937ae0e3869ab09aebb87f26a731?s=96&d=blank&r=g370be3a7397865e4fd161aefeb0a5a85","url":"https:\/\/secure.gravatar.com\/avatar\/897b6740f7f599bca7942cdf7d7914af5988937ae0e3869ab09aebb87f26a731?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/897b6740f7f599bca7942cdf7d7914af5988937ae0e3869ab09aebb87f26a731?s=96&d=blank&r=g","caption":"Henry Rzepa"},"description":"Henry Rzepa is Emeritus Professor of Computational Chemistry at Imperial College London.","sameAs":["https:\/\/orcid.org\/0000-0002-8635-8390"],"url":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?author=1"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/sDef7-12607","jetpack-related-posts":[{"id":19697,"url":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=19697","url_meta":{"origin":12607,"position":0},"title":"Ten years on: Jmol and WordPress.","author":"Henry Rzepa","date":"May 16, 2018","format":false,"excerpt":"Ten years are a long time when it comes to (recent) technologies. The first post on this blog was on the topic of how to present chemistry with three intact dimensions. I had in mind molecular models, molecular isosurfaces and molecular vibrations (arguably a further dimension). Here I reflect on\u2026","rel":"","context":"In &quot;Interesting chemistry&quot;","block_context":{"text":"Interesting chemistry","link":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?cat=4"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":18365,"url":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=18365","url_meta":{"origin":12607,"position":1},"title":"Curating a nine year old journal FAIR data table.","author":"Henry Rzepa","date":"May 29, 2017","format":false,"excerpt":"As the Internet and its Web-components age, so early pages start to decay as technology moves on. A few posts ago, I talked about the maintenance of a relatively simple page first hosted some 21 years ago. In my notes on the curation, I wrote the phrase \"Less successful was\u2026","rel":"","context":"In &quot;Chemical IT&quot;","block_context":{"text":"Chemical IT","link":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?cat=2"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11895,"url":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=11895","url_meta":{"origin":12607,"position":2},"title":"3D-rendered molecular models on this blog: an update.","author":"Henry Rzepa","date":"January 16, 2014","format":false,"excerpt":"So much to do, so little time to do it. That is my excuse at least. Right from my first post on this blog in 2008\u00a0I have tried to enhance it using Jmol, a Java-based applet (normally indicated with the caption Click for 3D). This has been pretty stable for\u2026","rel":"","context":"In &quot;General&quot;","block_context":{"text":"General","link":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?cat=1"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":25452,"url":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=25452","url_meta":{"origin":12607,"position":3},"title":"Four stages in the evolution of interactive ESI as part of articles in chemistry journals.","author":"Henry Rzepa","date":"August 25, 2022","format":false,"excerpt":"A previous post was triggered by Peter alerting me that interactive electronic supporting information (IESI) we had submitted to a journal in 2005 appeared to be strangely missing from the article landing page. This set me off recollecting our journey, which had started around 1998, and to explore what the\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":12958,"url":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=12958","url_meta":{"origin":12607,"position":4},"title":"Electronic notebooks: a peek into the future?","author":"Henry Rzepa","date":"September 16, 2014","format":false,"excerpt":"ELNs (electronic laboratory notebooks) have been around for a long time in chemistry, largely of course due to the needs of the pharmaceutical industries. We did our first extensive evaluation probably at least 15 years ago, and nowadays there are many on the commercial market, with a few more coming\u2026","rel":"","context":"In &quot;Chemical IT&quot;","block_context":{"text":"Chemical IT","link":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?cat=2"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":22910,"url":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?p=22910","url_meta":{"origin":12607,"position":5},"title":"Internet Archeology: an example of a revitalised molecular resource  with a new activity now built in.","author":"Henry Rzepa","date":"November 5, 2020","format":false,"excerpt":"In Internet terms, 23 years ago is verging on pre-history. Much of what was happening around 1997 on the Web was still highly experimental and so its worth taking a look at some of this to see how it has survived or whether it can be \"curated\" into a form\u2026","rel":"","context":"In &quot;Historical&quot;","block_context":{"text":"Historical","link":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/?cat=565"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.ch.ic.ac.uk\/rzepa\/blog\/wp-content\/uploads\/2020\/11\/Screenshot-333-1024x879.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":false,"authors":[{"term_id":2661,"user_id":1,"is_guest":0,"slug":"admin","display_name":"Henry Rzepa","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/897b6740f7f599bca7942cdf7d7914af5988937ae0e3869ab09aebb87f26a731?s=96&d=blank&r=g","0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"_links":{"self":[{"href":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12607","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12607"}],"version-history":[{"count":71,"href":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12607\/revisions"}],"predecessor-version":[{"id":14574,"href":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12607\/revisions\/14574"}],"wp:attachment":[{"href":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12607"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12607"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.ch.ic.ac.uk\/rzepa\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fppma_author&post=12607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}