It looks like corporate authors are not parsed correctly in the RIS import-export module -- or at least not for RIS files produced by Reference Manager. In Reference Manager, corporate authors (or any author that should be left unchanged regardless of the last name/first name configuration of the chosen output style), are indicated preceded by an "=" sign. When Reference Manager exports a bibliography into RIS format, it includes the "=" sign in the exported data at the start of the author field with the RIS tag A1.
I'm working on some custom edits to the RIS parser, and so I may take a stab at fixing this. I should be able to remove the equal sign and apply such authors to the corporate author "auth_type" easily enough. Has something similar been done in 7.x-dev or in one of the other import-export modules that I could use as a model so that the coding follows more or less the same approach? Regardless, I'll post back here when I have something semi-working.
Phil.
Comments
Comment #1
rjerome commentedNever heard of that "=" sign business, I was working from this documentation... http://www.refman.com/support/direct%20export.zip
Comment #2
pkiff commentedYes, I also noticed that none of the available specification information for the RIS format makes mention of this. Since we are upgrading our institutional software from Reference Manager 9 to Reference Manager 12, I've been trying to pin down all the RIS field definitions in order for us to have a single set of consistent fields that will allow moving citation data back and forth between RefMan 12, Biblio, and Zotero, using the RIS format as the medium for exchange.
One thing I've discovered is that the RIS specification file you reference has a couple differences from the specification detailed in the RefMan 12 User Manual available here:
http://www.refman.com/support/rm12man-terms.asp
(The same file is also available here):
http://library.tmu.edu.tw/eng/files/RM12.pdf
Looking at the most significant difference, for example, the file you've identified lists the tags for Custom/User fields as C1, C2, C3, etc. all the way up to C8. There is no U1 tag in this list. By contrast, the RM12 manual has a section about the RIS Format starting on page 581, and it does not include any C1-C8 tags. Its list of custom/user fields uses U1, U2, U3, up to U5. And in RefMan 12 itself, there are only 5 custom fields available. These U1-U5 tags are the ones that are currently used by the RIS import-export in biblio, and they match the ones listed here:
http://www.refman.com/support/risformat_tags_07.asp
Wikipedia uses the list of tags with the C1-C8 tags:
http://en.wikipedia.org/wiki/RIS_%28file_format%29
I think what has happened is that through their incompetence and their failure to keep anything up-to-date, Adept Scientific and Thomson ISI and their various alternate incarnations have left the specification for the RIS format somewhat in a state of disarray. Both versions would appear to be "official" descriptions of the RIS specification, and both are available from the www.refman.com website.
My current theory is that the the Direct Export RIS file you've identified is actually a rewriting of the RIS format based on how one or more versions of Endnote creates it, whereas the other version is the RIS format based on how Reference Manager exports it.
I was actually thinking that it should be possible to rework the RIS import-export file so that it would manage importing according to either version. But dealing with that can wait for another day...
In the immediate present, I just want to deal with the way that RefMan 9-12 exports its corporate authors. The instruction to use of the "=" sign appears on page 117 of the RM12 manual, though there is no mention of this in the RM12 manual's version of the RIS spec that starts on page 581. Regardless of whether it is in the spec, though, RM9 through RM12 all will include the equal sign in the RIS formatted export, and it is easy enough to remove it.
Comment #3
pkiff commentedFollowing up on this issue, I've made some rough edits to both the biblio_contributors.inc and the biblio_ris.module files to get the import of corporate names to work correctly with RIS files produced by Reference Manager 9-12 (and probably earlier).
The general approach was to remove the equal sign as part of the custom parsing done in the biblio_ris.module and then to assign that contributor array a "literal" value of 1. Then over in the biblio_contributors.inc file I've added an extra case to the name parsing which will cause any contributor with a literal value of 1 to be treated as a corporate author.
When I started out, I began to fiddle with the author category and type fields, but I couldn't get these to respond easily the way that I wanted, and the new literal field just made everything easier.
biblio_ris.module in 6.x-2.0-rc2, lines 311-315:
replace with:
Then do the same thing for case 'ED' and for case 'A3'.
Then make the following tiny edit to a core biblio file.
biblio.contributors.inc in 6.x-2.0-rc2, lines 502-508:
replace with:
Possibly the check for the literal field should be its own case, but this approach kept the edit of biblio.contributors.inc as small as possible. And it seems possible that this same approach could be used with other formats that use other indicators to record corporate author formatting, since the parsing of such special cases should largely be done in the formatter specific to that style. Any of them could then include the "literal" field to tell the biblio_parse_author script to ignore them.
Phil.
Comment #4
liam morlandThis version is no longer maintained. If this issue is still relevant to the Drupal 7 version, please re-open and provide details.