 	DOI is required
 </cfif>
 <cfoutput>
+	<h2>CrossRef Data</h2>
 	<cfhttp method="get" url="https://api.crossref.org/v1/works/http://dx.doi.org/#doi#">
 		<cfhttpparam type = "header" name = "User-Agent" value = "Arctos (https://arctos.database.museum; mailto:dustymc@gmail.com)">
 	</cfhttp>

		</p>
	</cfif>
	<cfif structKeyExists(x.message,"publisher")>

		<p>
			Publisher: #x.message["publisher"]#
		</p>
	</cfif>
	<cfif structKeyExists(x.message,"container-title")>
		<cfset tar=x.message["container-title"]>
		<p>
			Container Title: #tar[1]#
		</p>
	</cfif>
	<cfif structKeyExists(x.message,"issue")>
		<p>
			Issue: #x.message["issue"]#
		</p>
	</cfif>
	<cfif structKeyExists(x.message,"type")>
		<p>
			Type: #x.message["type"]#
		</p>
	</cfif>
	<cfif structKeyExists(x.message,"volume")>
		<p>
			Volume: #x.message["volume"]#
		</p>
	</cfif>
	<cfif structKeyExists(x.message,"page")>
		<p>
			Page: #x.message["page"]#
		</p>
	</cfif>
	<cfif structKeyExists(x.message,"reference-count")>
		<p>
			Reference Count: #x.message["reference-count"]#
		</p>
	</cfif>

	<cfif structKeyExists(x.message,"is-referenced-by-count")>
		<p>
			Referenced By Count: #x.message["is-referenced-by-count"]#
		</p>
	</cfif>


	<p>
		Authors
	</p>
	<cfif structKeyExists(x.message,"author")>
		<cfloop array="#x.message.author#" index="idx">
		    <cfif StructKeyExists(idx, "given")>

		<cfhttpparam type = "header" name = "User-Agent" value = "Arctos (https://arctos.database.museum; mailto:dustymc@gmail.com)">
		<cfhttpparam type = "header" name = "Accept" value = "application/json">
	</cfhttp>
<h3>
Cited By (from http://opencitations.net)
</h3>
	<cfif not isjson(cfhttp.Filecontent)>
		invalid return
		<cfdump var=#cfhttp#>
