El dia dj 18 jul 2013 20:07:44 CEST, Javier Távara va escriure:
Does anyone know how to implement an option to export items to
RefWorks? I have seen this in many repositories like this
http://demo.openrepository.com/demo/handle/2384/238591

I'm using DSpace 3.1 and XMLUI.

Thank you so much.


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk


_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Hi Javier,

Assuming you have already applied the patch for JSPUI [1], you just have to apply the attached patch. Then change "example.com" with your DSpace host name and add the image "/images/refworks-export.png" to your theme.

Cheers,
Àlex

[1] http://dspace.2283337.n4.nabble.com/Refworks-on-Dspace-tp3285733p3285734.html
=== modified file 'dspace/modules/xmlui/src/main/webapp/themes/UdL/lib/xsl/aspect/artifactbrowser/item-view.xsl'
--- dspace/modules/xmlui/src/main/webapp/themes/UdL/lib/xsl/aspect/artifactbrowser/item-view.xsl	2011-06-02 07:31:19 +0000
+++ dspace/modules/xmlui/src/main/webapp/themes/UdL/lib/xsl/aspect/artifactbrowser/item-view.xsl	2011-06-17 11:13:51 +0000
@@ -73,6 +73,7 @@
         <!-- Generate the Creative Commons license information from the file section (DSpace deposit license hidden by default)-->
         <xsl:apply-templates select="./mets:fileSec/mets:fileGrp[@USE='CC-LICENSE']"/>
 
+        <xsl:call-template name="refworks-link" />
     </xsl:template>
 
 
@@ -481,4 +482,16 @@
 
     </xsl:template>
 
+    <xsl:template name="refworks-link">
+        <xsl:variable name="handle" select="substring-after(/mets:METS/@OBJID, '/handle/')" />
+        <xsl:variable name="url-parameter" select="concat(
+                        'http://example.com/jspui/refworks-export?handle=',
+                        $handle)" />
+        <p>
+            <a href="http://www.refworks.com/express/ExpressImport.asp?filter=Refworks%20Tagged%20Format&amp;vendor=MINDS%40UW&amp;url={$url-parameter}"; target="RefWorksMain">
+                <img src="{concat($theme-path, '/images/refworks-export.png')}" alt="Refworks Export" />
+            </a>
+        </p>
+    </xsl:template>
+
 </xsl:stylesheet>

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to