Difference between revisions of "WikiChem:ChemCOinS"

From WikiChem
Jump to: navigation, search
(Created page with ''''ChemCOinS''' is a method of allowing the automatic recognition of information related to chemical substances on the World Wide Web. It works by embedding ContextObjects th…')
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
'''ChemCOinS''' is a method of allowing the automatic recognition of information related to chemical substances on the World Wide Web. It works by embedding [[ContextObject]]s that identify a particular chemical substance into the HTML code of a webpage. The ContextObjects are encoded using the KEV format and placed as the title of an empty HTML span with the class <code>chemcoins</code>.
 
'''ChemCOinS''' is a method of allowing the automatic recognition of information related to chemical substances on the World Wide Web. It works by embedding [[ContextObject]]s that identify a particular chemical substance into the HTML code of a webpage. The ContextObjects are encoded using the KEV format and placed as the title of an empty HTML span with the class <code>chemcoins</code>.
  
ChemCOinS was developed by Nigel Wheatley for WikiChem: the current version is 0.5-2009. The name is derived from "ContextObjects in Spans" and the COinS system used to encode bibliographic metadata.
+
ChemCOinS was developed by Nigel Wheatley for WikiChem: the current version is 1.0-2009. The name is derived from "ContextObjects in Spans" and the COinS system used to encode bibliographic metadata.
  
On WikiChem, ChemCOinS tags are inserted by the {{Substance identification}} template.
+
On WikiChem, ChemCOinS tags are inserted by the {{tl|Substance identification}} template and by the {{tl|Chembox Identifiers}} module of the chembox.
  
 
==Fields==
 
==Fields==
Each field is separated by <code>&amp;amp;</code>
+
Each field is separated by <code>&amp;</code>
*<code>ctx_ver=Z39.88-2004<code>
+
*<code>ctx_ver=Z39.88-2004</code>
 
::a reference to ANSI/NSO standard Z39.88 (2004)
 
::a reference to ANSI/NSO standard Z39.88 (2004)
*<code>rft_val_fmt=</code>
+
*<code>rft_val_fmt=http%3A%2F%2Fpluto.potsdam.edu%2Fwikichem%2Findex.php%2FWikiChem%3AChemCOinS</code>
 
::''to be completed''
 
::''to be completed''
 
*<code>rft_id=</code>
 
*<code>rft_id=</code>
::the hashed version of the standard InChI
+
::the hashed version of the standard [[InChI]]
 
*<code>rft_key=</code>
 
*<code>rft_key=</code>
::the hashed version of the version 1.0 InChI
+
::the hashed version of the version 1.0 [[InChI]]
 
*<code>rft_cas=</code>
 
*<code>rft_cas=</code>
::the CAS registry number
+
::the [[CAS registry number]]
 +
*<code>rft_ec</code>
 +
::the [[EC number (chemistry)|EC number]]
 +
A valid ChemCOinS ContextObject must contain the <code>ctx_ver</code> and <code>rft_val_fmt</code> fields and at least one of the other fields.
  
 
==Example==
 
==Example==
 
The ChemCOinS tag for [[caesium bromide]] is:
 
The ChemCOinS tag for [[caesium bromide]] is:
{{quotation|<code>&lt;span class="chemcoins" title="ctx_ver=Z39.88-2004&amp;amp;rft_val_fmt=&amp;amp;rft_id=LYQFWZFBNBDLEO-UHFFFAOYSA-M&amp;amp;rft_key=LYQFWZFBNBDLEO-REWHXWOFAA&amp;amp;rft_cas=7787-69-1"&gt;&lt;/span>}}
+
{{quotation|1=<code>&lt;span class="chemcoins" title="ctx_ver=Z39.88-2004&rft_val_fmt=http%3A%2F%2Fpluto.potsdam.edu%2Fwikichem%2Findex.php%2FWikiChem%3AChemCOinS&rft_id=LYQFWZFBNBDLEO-UHFFFAOYSA-M&rft_key=LYQFWZFBNBDLEO-REWHXWOFAA&rft_cas=7787-69-1&rft_ec=232-130-0"&gt;&lt;/span></code>}}
  
 
[[Category:Project pages|{{PAGENAME}}]]
 
[[Category:Project pages|{{PAGENAME}}]]
  
 
{{CC-BY-3.0}}
 
{{CC-BY-3.0}}

Latest revision as of 11:58, 15 August 2009

ChemCOinS is a method of allowing the automatic recognition of information related to chemical substances on the World Wide Web. It works by embedding ContextObjects that identify a particular chemical substance into the HTML code of a webpage. The ContextObjects are encoded using the KEV format and placed as the title of an empty HTML span with the class chemcoins.

ChemCOinS was developed by Nigel Wheatley for WikiChem: the current version is 1.0-2009. The name is derived from "ContextObjects in Spans" and the COinS system used to encode bibliographic metadata.

On WikiChem, ChemCOinS tags are inserted by the {{Substance identification}} template and by the {{Chembox Identifiers}} module of the chembox.

Fields

Each field is separated by &

  • ctx_ver=Z39.88-2004
a reference to ANSI/NSO standard Z39.88 (2004)
  • rft_val_fmt=http%3A%2F%2Fpluto.potsdam.edu%2Fwikichem%2Findex.php%2FWikiChem%3AChemCOinS
to be completed
  • rft_id=
the hashed version of the standard InChI
  • rft_key=
the hashed version of the version 1.0 InChI
  • rft_cas=
the CAS registry number
  • rft_ec
the EC number

A valid ChemCOinS ContextObject must contain the ctx_ver and rft_val_fmt fields and at least one of the other fields.

Example

The ChemCOinS tag for caesium bromide is:

<span class="chemcoins" title="ctx_ver=Z39.88-2004&rft_val_fmt=http%3A%2F%2Fpluto.potsdam.edu%2Fwikichem%2Findex.php%2FWikiChem%3AChemCOinS&rft_id=LYQFWZFBNBDLEO-UHFFFAOYSA-M&rft_key=LYQFWZFBNBDLEO-REWHXWOFAA&rft_cas=7787-69-1&rft_ec=232-130-0"></span>

Error creating thumbnail: Unable to save thumbnail to destination
This project page is currently licensed under the Creative Commons Attribution 3.0 Unported license and any later versions of that license.