Dear All, I noticed that although I specifically set altmetrics.field = dc.identifier.doi in altmetrics.cfg, it is still using data-handle instead of data-doi in item-view.xsl. I can see that the logic in item-view is that if no doi exist, it will use the handle instead. Looking at the global-variables.xsl, the variables for doi and handle is defined here:
<xsl:variable name='identifier_doi' select='//dri:meta/dri:pageMeta/dri:metadata[@element="identifier" and @qualifier="doi"]'/> <xsl:variable name='identifier_handle' select='//dri:meta/dri:pageMeta/dri:metadata[@element="identifier" and @qualifier="handle"]'/> My question is why is it that the metadata for dc.identifier.doi is not available in the pageMeta? My assumption is this is the reason why it is always using data-handle since no doi is exposed in the pageMeta even though I have stored the doi in dc.identifier.doi. Am I missing something here? On the other hand, if I set the variable identifier_doi to use citation_doi (ie //dri:meta/dri:pageMeta/dri:metadata[@element="citation_doi" and not(@qualifier)]), it is correctly using the data-doi instead of data-handle if a doi exist for that item. Thanks in advance and regards, euler -- View this message in context: http://dspace.2283337.n4.nabble.com/Altmetrics-always-using-handle-tp4678591.html Sent from the DSpace - Tech mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette