To import new publications from WOS, run the following script:
import-publications wos
where:
import-publications is the name of the script
wos the name of the external service from which we want to import
The script applies the following steps to perform the update:
performs a global search to retrieve all the items of type Person that have a metadata person.identifier.orcid or
person.identifier.rid set.taking one item at a time
...
, extracts the metadata values
...
from
person.identifier.orcidand/orperson.identifier.rid
...
. With these values, it constructs the query to be sent to the external WOS service, which in turn returns the document containing records.
...
A generic response from Scopus containing 1 record can be:
| Code Block |
|---|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response xmlns="http://www.isinet.com/xrpc42">
<map>
<map name="Data">
<val name="Records">
<![CDATA[<records><REC r_id_disclaimer="ResearcherID data provided by Clarivate Analytics"><UID>WOS:000490897000016</UID><static_data><summary><EWUID><WUID coll_id="WOS" /><edition value="WOS.ISTP" /></EWUID><pub_info sortdate="2018-01-01" pubyear="2018" has_abstract="N" coverdate="2018" vol="11100" pubtype="Book in series"><page begin="341" end="348" page_count="8">341-348</page></pub_info><titles count="7"><title type="source">BRAVERMAN READINGS IN MACHINE LEARNING: KEY IDEAS FROM INCEPTION TO CURRENT STATE</title><title type="series">Lecture Notes in Artificial Intelligence</title><title type="source_abbrev">LECT NOTES ARTIF INT</title><title type="abbrev_11">LECT N A I</title><title type="abbrev_29">LECT NOTE ARTIF INTELL</title><title type="item">Misha Braverman: My Mentor and My Model</title><title type="book_series" translated="N">Lecture Notes in Artificial Intelligence</title></titles><names count="4"><name seq_no="1" role="author" reprint="Y" addr_no="1 2" daisng_id="31471066"><display_name>Mirkin, Boris</display_name><full_name>Mirkin, Boris</full_name><wos_standard>Mirkin, B</wos_standard><first_name>Boris</first_name><last_name>Mirkin</last_name></name><name seq_no="2" role="book_editor"><display_name>Rozonoer, L</display_name><full_name>Rozonoer, L</full_name><wos_standard>Rozonoer, L</wos_standard><first_name>L</first_name><last_name>Rozonoer</last_name></name><name seq_no="3" role="book_editor"><display_name>Mirkin, B</display_name><full_name>Mirkin, B</full_name><wos_standard>Mirkin, B</wos_standard><first_name>B</first_name><last_name>Mirkin</last_name></name><name seq_no="4" role="book_editor"><display_name>Muchnik, I</display_name><full_name>Muchnik, I</full_name><wos_standard>Muchnik I</wos_standard><last_name>Muchnik</last_name><suffix>I</suffix></name></names><doctypes count="1"><doctype>Proceedings Paper</doctype></doctypes><conferences count="1"><conference conf_id="331117"><conf_infos count="1"><conf_info>International Conference on Braverman Readings in Machine Learning - Key Ideas from Inception to Current State, APR 28-30, 2017, Boston, MA</conf_info></conf_infos><conf_titles count="1"><conf_title>International Conference on Braverman Readings in Machine Learning - Key Ideas from Inception to Current State</conf_title></conf_titles><conf_dates count="1"><conf_date conf_start="20170428" conf_end="20170430">APR 28-30, 2017</conf_date></conf_dates><conf_locations count="1"><conf_location><conf_host>NE Univ</conf_host><conf_city>Boston</conf_city><conf_state>MA</conf_state></conf_location></conf_locations></conference></conferences><publishers><publisher><address_spec addr_no="1"><full_address>GEWERBESTRASSE 11, CHAM, CH-6330, SWITZERLAND</full_address><city>CHAM</city></address_spec><names count="1"><name role="publisher" seq_no="1" addr_no="1"><display_name>SPRINGER INTERNATIONAL PUBLISHING AG</display_name><full_name>SPRINGER INTERNATIONAL PUBLISHING AG</full_name></name></names></publisher></publishers></summary><fullrecord_metadata><languages count="1"><language type="primary">English</language></languages><normalized_languages count="1"><language type="primary">English</language></normalized_languages><normalized_doctypes count="1"><doctype>Meeting</doctype></normalized_doctypes><refs count="0" /><addresses count="2"><address_name><address_spec addr_no="1"><full_address>Natl Res Univ Higher Sch Econ, Dept Data Anal & Artificial Intelligence, Moscow, Russia</full_address><organizations count="2"><organization>Natl Res Univ Higher Sch Econ</organization><organization pref="Y">HSE University (National Research University Higher School of Economics)</organization></organizations><suborganizations count="1"><suborganization>Dept Data Anal & Artificial Intelligence</suborganization></suborganizations><city>Moscow</city><country>Russia</country></address_spec><names count="1"><name seq_no="1" role="author" reprint="Y" addr_no="1" daisng_id="31471066"><display_name>Mirkin, Boris</display_name><full_name>Mirkin, Boris</full_name><wos_standard>Mirkin, B</wos_standard><first_name>Boris</first_name><last_name>Mirkin</last_name></name></names></address_name><address_name><address_spec addr_no="2"><full_address>Birkbeck Univ London, Dept Comp Sci, London, England</full_address><organizations count="3"><organization>Birkbeck Univ London</organization><organization pref="Y">University of London</organization><organization pref="Y">Birkbeck University London</organization></organizations><suborganizations count="1"><suborganization>Dept Comp Sci</suborganization></suborganizations><city>London</city><country>England</country></address_spec><names count="1"><name seq_no="1" role="author" reprint="Y" addr_no="2" daisng_id="31471066"><display_name>Mirkin, Boris</display_name><full_name>Mirkin, Boris</full_name><wos_standard>Mirkin, B</wos_standard><first_name>Boris</first_name><last_name>Mirkin</last_name></name></names></address_name></addresses><reprint_addresses count="2"><address_name><address_spec addr_no="1"><full_address>Natl Res Univ Higher Sch Econ, Dept Data Anal & Artificial Intelligence, Moscow, Russia</full_address><organizations count="2"><organization>Natl Res Univ Higher Sch Econ</organization><organization pref="Y">HSE University (National Research University Higher School of Economics)</organization></organizations><suborganizations count="1"><suborganization>Dept Data Anal & Artificial Intelligence</suborganization></suborganizations><city>Moscow</city><country>Russia</country></address_spec><names count="1"><name seq_no="1" role="author" reprint="Y" addr_no="1"><display_name>Mirkin, Boris</display_name><full_name>Mirkin, Boris</full_name><wos_standard>Mirkin, B</wos_standard><first_name>Boris</first_name><last_name>Mirkin</last_name></name></names></address_name><address_name><address_spec addr_no="2"><full_address>Birkbeck Univ London, Dept Comp Sci, London, England</full_address><organizations count="3"><organization>Birkbeck Univ London</organization><organization pref="Y">University of London</organization><organization pref="Y">Birkbeck University London</organization></organizations><suborganizations count="1"><suborganization>Dept Comp Sci</suborganization></suborganizations><city>London</city><country>England</country></address_spec><names count="1"><name seq_no="1" role="author" reprint="Y" addr_no="2"><display_name>Mirkin, Boris</display_name><full_name>Mirkin, Boris</full_name><wos_standard>Mirkin, B</wos_standard><first_name>Boris</first_name><last_name>Mirkin</last_name></name></names></address_name></reprint_addresses><category_info><headings count="1"><heading>Science & Technology</heading></headings><subheadings count="1"><subheading>Technology</subheading></subheadings><subjects count="2"><subject ascatype="traditional">Computer Science, Artificial Intelligence</subject><subject ascatype="extended">Computer Science</subject></subjects></category_info></fullrecord_metadata><item xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="itemType_wos" coll_id="WOS"><ids avail="N">BO0HJ</ids><bib_id>11100: 341-348 2018</bib_id><bib_pagecount type="Book">353</bib_pagecount><book_pages>353</book_pages><book_notes count="2"><book_note>Figures</book_note><book_note>Color plates</book_note></book_notes><book_desc><bk_binding>P</bk_binding><bk_publisher>SPRINGER INTERNATIONAL PUBLISHING AG, GEWERBESTRASSE 11, CHAM, CH-6330, SWITZERLAND</bk_publisher><bk_prepay>N</bk_prepay></book_desc><book_desc><bk_binding>H</bk_binding><bk_publisher>SPRINGER INTERNATIONAL PUBLISHING AG, GEWERBESTRASSE 11, CHAM, CH-6330, SWITZERLAND</bk_publisher><bk_prepay>N</bk_prepay></book_desc></item></static_data><dynamic_data><citation_related><tc_list><silo_tc coll_id="WOS" local_count="0" /></tc_list></citation_related><cluster_related><identifiers><identifier type="issn" value="0302-9743" /><identifier type="eissn" value="1611-3349" /><identifier type="eisbn" value="978-3-319-99492-5" /><identifier type="isbn" value="978-3-319-99491-8" /><identifier type="doi" value="10.1007/978-3-319-99492-5_16" /></identifiers></cluster_related></dynamic_data></REC></records>]]>
</val>
</map>
<map name="QueryResult">
<map>
<val name="QueryID">1</val>
<val name="RecordsSearched">65117068</val>
<val name="RecordsFound">1</val>
</map>
</map>
</map>
</response> |
3. For each record, a check is made if a publication with the same metadata dc.identifier.other as the record does not already exist. If it does not exist, create a new workspaceItem in the dedicated collection (contained in the property wos.importworkspaceitem.collection-id).
...
The metadata that are inserted into the new
...
workspace item are configured in the wos-integration.xml file
The following fields must also be configured in the dspace.cfg file:
- directorios.community-id : uuid of the community where to retrieve items of the type Person
- wos.importworkspaceitem.collection-id :
...
- UUID of the collection into which the
...
- workspace items will be placed.