 		select * from cache_publication_sdata where source='opencitations' and doi='#doi#' and last_date > sysdate-30
 	</cfquery>
 	<cfif c.recordcount gt 0>
-		<br>got cache
 		<cfset x=DeserializeJSON(c.json_data)>
 	<cfelse>
 		<cfhttp result="d" method="get" url="http://opencitations.net/index/coci/api/v1/citations/#doi#">

			insert into cache_publication_sdata (doi,json_data,jmamm_citation,source,last_date) values
			 ('#doi#', <cfqueryparam value="#d.Filecontent#" cfsqltype="cf_sql_clob">,'#jmc.fileContent#','opencitations',sysdate)
		</cfquery>
		<br>added to cache
		<cfset x=DeserializeJSON(d.Filecontent)>
	</cfif>


						select * from cache_publication_sdata where source='crossref' and doi='#thisDOI#' and last_date > sysdate-30
					</cfquery>
					<cfif c.recordcount gt 0>
						<cfset rfs=c.jmamm_citation>
					<cfelse>
						<cfhttp result="d" method="get" url="https://api.crossref.org/v1/works/http://dx.doi.org/#thisDOI#">
