Obtaining a Calais Document Identifier
Submitted by FranSan on Thu, 06/25/2009 - 14:11.
Obtaining Calais Document Identifier
The Calais document identifier is a URI that can be accessed to retrieve processed content. This identifier is in the format of http://d.opencalais.com/dochash-1/guid. Here is short description and example of where the identifier appears in different output formats.
In RDF Output
The document identifier is the subject of the first node. Here is an example:
<rdf:Description
c:allowDistribution="true" ... rdf:about="http://d.opencalais.com/dochash-1/5db44db4-a5b0-3ce7-858e-59c8332ad99e">
<rdf:type rdf:resource="http://s.opencalais.com/1/type/sys/DocInfo"/>
...
<c:docDate>2009-04-2100:00:00</c:docDate>
<c:externalMetadata c:caller="calaisbridge"/>
</c:submitter>calaisbridge</csubmitter>
</rdf:Description>In Microformat Output
The document identifier is the value of <about> element under <Description> section. Here is an example:
<Description>
<calaisRequestID>836dd2bc-6a79-6c1c6</calaisRequestID>
<id>http://id.opencalais.com/YC0VdlDP5KWK9Ld8TS3FvQ</id>
<about>http://d.opencalais.com/dochash-1/a37579e2-7300-384-2</about>
<docTitle/>
<docDate>2009-06-02</docDate>
</rdf:Description> 