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

		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
								 ('#thisDOI#', <cfqueryparam value="#d.Filecontent#" cfsqltype="cf_sql_clob">,'#jmc.fileContent#','crossref',sysdate)
							</cfquery>
							<cfset rfs=jmc.fileContent>
						</cfif>
					</cfif>
