Skip to content

Commit

Permalink
Zotero reverses A2 and A3, so roll with it
Browse files Browse the repository at this point in the history
Fixes #31.

Signed-off-by: Dan Scott <[email protected]>
  • Loading branch information
dbs committed Jun 3, 2015
1 parent 7fd22c8 commit 2f925a0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ris2sql
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@ class RISParser:

# multiple authors / editors per citation
# see http://refdb.sourceforge.net/manual/ch07.html#sect1-ris-format
# but Zotero exports "series_editor" as A2 and "editor" as A3, argh
author_map = {
'AU': 'author',
'A2': 'editor',
'A3': 'series_editor',
'A3': 'editor',
'A2': 'series_editor',
'A4': 'translator',
'A5': 'contributor'
}
Expand Down

0 comments on commit 2f925a0

Please sign in to comment.