Skip to content

Adding RIS Citation Export

Ruth edited this page May 1, 2023 · 1 revision

Logic to generate an RIS Citation Export for Catalog Records. This will go in Share and will replace Export to Refworks and EndNote. Learn more about RIS.

Other than Type, Title, URL, and Today's Date, all others will need to be conditional. We can expect every record to have one format (and I mapped Other just in case), a title, a URL in the catalog, and then we'll grab that day's export date.

Multiple authors can be put in as repeating A2s, however none of the rest of the fields can repeat so we'll need to grab field[0] for any arrays.

Type Field

Field TY contains a controlled list type. We will map from formats, whatever the first format is, for simplicity, using the following map:

Archives/Manuscripts = GEN
Article = EJOUR
Audio = SOUND
Book = BOOK
Equipment = GEN
Games/Toys = GEN
Government Document = GOVDOC
Image = GEN
Instructional Material = GEN
Journal/Periodical = JOUR
Juvenile Book = BOOK
Kit = GEN
Maps, Atlases, Globes = MAP
Microfilm/Microfiche = GEN
Musical Score = MUSIC
Newspaper = NEWS
Other = GEN
Proceeding/Congress = CONF
Reporter = GEN
Statute = STAT
Thesis/Dissertation = THES
Video = VIDEO

Title Field

TI = title_245ab_tsim

Author Fields

A1 = author_tsim

A2 = repeat line for author_addl_tsim

Publication Year

PY = pub_date_illiad_ssm

Place of Publication

PP = publication_place_ssm

Publisher Name

PB = publisher_name_ssm

Identifier

if issn_ssm: SN = issn_ssm

if ISBNs: SN = first ISBN in list

Edition

ET = edition_display_ssm

URL

UR = Catalog page URL

Access Date

Y2 = that day's date as YYYY-MM-DD

Clone this wiki locally