|
This extension adds a button in the full record display (left to the Send to button) to export the record directly to RefWorks. It will also allow exporting multiple selected records from eShelf to RefWorks with a single click from the "Save or send checked records" dialog. Today the functionality can be viewed simply as a shortcut to the now built-in save function in MetaLib (which this extension predates).
Installation
- Download the package and extract it somewhere (tar -xf <filename>).
- Copy refworks_export.cgi to m4_x/apache/htdocs/cgi-bin (create cgi-bin directory if it doesn't exist) and make it executable (chmod +x refworks_export.cgi). Verify that cgi-bin is readable and executable by all (e.g. chmod 755 cgi-bin).
- Modify perl path on the first line of refworks_export.cgi if your MetaLib installation isn't in m4_3.
- Modify the settings in refworks_export.cgi.
- Copy refworks.gif to m4_x/insxx/icon_lng (where lng is the language code, repeat for all languages).
- Open the attached diff file in any text viewer/editor that doesn't wrap the lines and add the lines marked with a plus sign to the html templates. (+++ line tells the file, @@ tells the line (approximately) and + denotes added lines)
 | The file is a unified diff file created with the diff command. It should be possible to apply it automatically by saving it to a file, entering www_v_lng directory and using the following command:
/bin/patch -u < patchfile
Patch will report successful and failed changes. The following command can be used to revert the changes:
/bin/patch -u -R < patchfile |
- You may also need to widen buttonContainerExtraWide in metalib.css (we have 18em) to make the buttons in the "Save or send checked records" dialog align nicely.
- The RefWorksExport css class can be used in consortium-wide deployment to hide the button in a single user interface instance by adding the following to metalib.css:
Download
Version 1.1
|
See also:
|