{
  "version": "https://jsonfeed.org/version/1.1",
  "title": "chem-bla-ics",
  "description": "Chemblaics (pronounced chem-bla-ics) is the science that uses open science and computers to solve problems in chemistry, biochemistry and related fields.",
  "home_page_url": "https://chem-bla-ics.linkedchemistry.info/",
  "feed_url": "https://chem-bla-ics.linkedchemistry.info/2006/12/19/chemistry-in-html-greasemonkey-again.json",
  "icon": "https://chem-bla-ics.linkedchemistry.info/assets/images/chem-bla-ics_logo.png",
  "language": "en",
  "authors": [
    {
      "name": "Egon Willighagen",
      "url": "https://orcid.org/0000-0001-7542-0286",
      "_orcid": "0000-0001-7542-0286"
    }
  ],
  "items": [

    {
      "id": "https://doi.org/10.59350/qwtr4-v2q49",
      "url": "https://chem-bla-ics.linkedchemistry.info/2006/12/19/chemistry-in-html-greasemonkey-again.html",
      "title": "Chemistry in HTML: Greasemonkey again",
      "content_html": "<p>Here’s a quick update on my blog about <a href=\"https://chem-bla-ics.linkedchemistry.info/2006/12/17/smiles-cas-and-inchi-in-blogs.html\">SMILES, CAS and InChI in blogs: Greasemonkey <i class=\"fa-solid fa-recycle fa-xs\"></i></a>\nlast sunday. The original download was messed up :( You can download a new version at <a href=\"http://userscripts.org/scripts/show/6807\">userscripts.org</a>.</p>\n\n<p>This new version also supports <code class=\"language-plaintext highlighter-rouge\">chem:compound</code>, for any chemical. For example:</p>\n\n<ul>\n  <li><span class=\"chem:compound\">isopropyl alcohol</span></li>\n</ul>\n\n<p>Remember that it only works for properly marked up content, as described in <a href=\"https://chem-bla-ics.linkedchemistry.info/2006/12/10/including-smiles-cml-and-inchi-in.html\">Including SMILES, CML and InChI in blogs <i class=\"fa-solid fa-recycle fa-xs\"></i></a>.\nThe HTML source code of the above example looks like (in RDFa):</p>\n\n<div class=\"language-html highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code><span class=\"nt\">&lt;ul&gt;&lt;li&gt;</span>\n<span class=\"nt\">&lt;span</span> <span class=\"na\">xmlns:chem=</span><span class=\"s\">\"http://www.blueobelisk.org/chemistryblogs/\"</span>\n      <span class=\"na\">class=</span><span class=\"s\">\"chem:compound\"</span><span class=\"nt\">&gt;</span>isopropyl alcohol<span class=\"nt\">&lt;/span&gt;</span>\n<span class=\"nt\">&lt;/li&gt;&lt;/ul&gt;</span>\n</code></pre></div></div>\n\n<p>The current script only adds search links to <a href=\"http://pubchem.ncbi.nlm.nih.gov/\">PubChem</a> and\n<a href=\"http://google.com/\">Google</a>, but the possibilities are endless, and potentially very powerfull.\nHere are some future ideas.</p>\n\n<h2 id=\"a-link-to-predict-nmr-spectra-using-nmrshiftdborg\">A link to predict NMR spectra using NMRShiftDB.org:</h2>\n\n<p>Making a link to the <a href=\"http://www.nmrshiftdb.org/\">NMRShiftDB.org</a> website to predict <sup>13</sup>C or\n<sup>1</sup>H NMR from a SMILES, and InChI likely too, is easy, if the website provides a URL to do this.\n(I will discuss this with Stefan.)</p>\n\n<h2 id=\"a-popup-window-with-the-3d-structure-in-jmol\">A popup window with the 3D structure in Jmol:</h2>\n\n<p>This would involve some more work, but this most certainly possible too, given that we actually have\na website around which allows downloading 3D coordinates given a SMILES or InChI. While a simple approach\nwould be to make a popup with <a href=\"http://www.jmol.org/\">Jmol</a> that takes the URL to that 3D coordinate website,\nit could be extended using Ajax to query the 3D structure first, and depending on success, show\nJmol or a message “Could not find 3D coordinates”.</p>\n\n<h2 id=\"summarize-molecular-details-hidden-in-cml\">Summarize molecular details hidden in CML:</h2>\n\n<p>This is likely the most exiting possibility. I blogged about CMLRSS <a href=\"http://search.blogger.com/?as_q=CMLRSS&amp;ie=UTF-8&amp;ui=blg&amp;bl_url=chem-bla-ics.blogspot.com&amp;x=0&amp;y=0\">many times</a> <!-- keep link -->\nnow (check the AVI, the <a href=\"https://doi.org/10.1021/ci034244p\">article</a>, etc), and combining these two\ntechnologies will take the semantic, chemistry internet to the next level. CMLRSS describes how CML\ncan be embedded in blog items (e.g. <a href=\"https://chem-bla-ics.linkedchemistry.info/2006/02/18/blogging-chemistry-on-blogspotcom.html\">Blogging chemistry on blogspot.com <i class=\"fa-solid fa-recycle fa-xs\"></i></a>),\nbut really works for any <a href=\"http://www.w3.org/TR/xhtml1/\">XHTML</a>.</p>\n\n<p>Consider this mockup: add CML content to your blog item, containing molecular properties, such as its\nNMR peaks, elemental analysis, etc. This will not show up in your blog item, so that the user is not\nbothered with implementation details. Now, a userscript will now about the CML content, as it has access\nto the whole content of the page. The visible text will mention the molecule for which CML contains\nexperimental or other details. Using the <code class=\"language-plaintext highlighter-rouge\">&lt;span class=\"chem:compound\"/&gt;</code> technology shown above, it is\npossible to link that compound to this CML bit (details to follow in this blog in January 2007). The\nuserscript will then on the fly create a popup for the compound name in the visible text to show those\nexperimental details.</p>\n\n<p>How about that? Comments and other ideas are more than welcome!</p>\n\n<h2 id=\"server-side-scripts\">Server side scripts:</h2>\n\n<p>Greasemonkey allows users to decide which scripts to run on a website, and which not. If you, as blogger\nor XHTML editor, want to force a script like the above to be run, that should be possible too.\nGreasemonkey scripts are written in JavaScript, so including them on the server side should be\npossible too. I might explore this option soon too.</p>\n\n<h4>References</h4>\n<div class=\"csl-bib-body\">\n    <div class=\"csl-entry\">Murray-Rust, P., Rzepa, H. S., Williamson, M. J., &#38; Willighagen, E. L. (2004). Chemical Markup, XML, and the World Wide Web. 5. Applications of Chemical Metadata in RSS Aggregators. <i>Journal of Chemical Information and Computer Sciences</i>, <i>44</i>(2), 462–469. https://doi.org/10.1021/ci034244p <a href=\"https://doi.org/10.1021/CI034244P\">CrossRef</a> <a href=\"https://qlever.scholia.wiki/doi/10.1021/CI034244P\">Scholia</a></div>\n  </div>",
      "summary": "Here’s a quick update on my blog about SMILES, CAS and InChI in blogs: Greasemonkey last sunday. The original download was messed up :( You can download a new version at userscripts.org.",
      
      "date_published": "2006-12-19T00:00:00+00:00",
      "date_modified": "2025-02-15T00:00:00+00:00",
      "tags": ["userscript","html","rdf","nmrshiftdb","rdfa"],
      "_references": [
        
          
          
            { "url": "https://doi.org/10.1021/CI034244P", "doi": "10.1021/CI034244P"
             }
            
          
        ],
      
      
      
      
      
      
        "authors": [ { "name": "Egon Willighagen", "url": "https://orcid.org/0000-0001-7542-0286" } ]
      
    }

  ]
}
