Difference between revisions of "XML:AuthorMerge"

From ISFDB
Jump to navigation Jump to search
(Breaking up large XML submission page)
 
(Formatting)
Line 1: Line 1:
The AuthorMerge submission specifies how two author records should be merged. The submission contains three required tags:
+
==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.
 
* '''KeepId''' - Required tag. Specifies which author record will be retained.
Line 7: Line 13:
 
** '''PUBS''' - Only merges authors in the pub_authors and aspub_author tables.
 
** '''PUBS''' - Only merges authors in the pub_authors and aspub_author tables.
 
** '''ALL''' -  Applies changes to all author mapping tables.
 
** '''ALL''' -  Applies changes to all author mapping tables.
 +
 +
==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:
 
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:
Line 18: Line 26:
 
* '''Imdb''' - Use when a conflict exists between IMDB URLs.
 
* '''Imdb''' - Use when a conflict exists between IMDB URLs.
  
Example:
+
==Example==
  
 
  <?xml version="1.0" encoding="iso-8859-1" ?>
 
  <?xml version="1.0" encoding="iso-8859-1" ?>

Revision as of 13:27, 21 May 2008

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.
  • 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

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>