Difference between revisions of "XML:AuthorMerge"

From ISFDB
Jump to navigation Jump to search
(→‎Example: syntax highlighting)
(→‎Required Tags: - Range (obsolete))
 
Line 9: Line 9:
 
* '''KeepId''' - Required tag. Specifies which author record will be retained.
 
* '''KeepId''' - Required tag. Specifies which author record will be retained.
 
* '''DropId''' - Required tag. Specifies which author record will be dropped.
 
* '''DropId''' - Required tag. Specifies which author record will be dropped.
* '''Range''' - Required tag. Specifies the range of changes:
 
** '''TITLES''' - Only merges authors an the canonical_author table.
 
** '''PUBS''' - Only merges authors in the pub_authors and aspub_author tables.
 
** '''ALL''' -  Applies changes to all author mapping tables.
 
  
 
==Optional Tags==
 
==Optional Tags==

Latest revision as of 18:53, 13 February 2014

Introduction

The AuthorMerge submission specifies how two author records should be merged.

Required Tags

The submission contains three required tags:

  • KeepId - Required tag. Specifies which author record will be retained.
  • DropId - Required tag. Specifies which author record will be dropped.

Optional Tags

The AuthorMerge submission also contains a number of optional tags. When a merging conflict occurs, these tags are used to specify which version of the data should be used:

  • Canonical - Use when a conflict exists between the canonical names.
  • Legalname - Use when a conflict exists between the legal names.
  • Birthplace - Use when a conflict exists between the birthplaces.
  • Birthdate - Use when a conflict exists between the birthdates
  • Deathdate - Use when a conflict exists between the deathdates.
  • Wikipedia - Use when a conflict exists between Wikipedia URLs.
  • Imdb - Use when a conflict exists between IMDB URLs.

Example

 <?xml version="1.0" encoding="iso-8859-1" ?>
 <IsfdbSubmission>
   <AuthorMerge>
      <Submitter>Rkihara</Submitter>
      <Subject>Elliott Dold/Elliott Dold</Subject>
      <KeepId>71501</KeepId>
      <DropId>84301</DropId>
      <Range>ALL</Range>
      <Legalname>84301</Legalname>
   </AuthorMerge>
 </IsfdbSubmission>