Difference between revisions of "XML:AuthorMerge"

From ISFDB
Jump to navigation Jump to search
(Breaking up large XML submission page)
 
(→‎Required Tags: - Range (obsolete))
 
(3 intermediate revisions by 2 users not shown)
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.
 
* '''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.
+
==Optional Tags==
** '''PUBS''' - Only merges authors in the pub_authors and aspub_author tables.
 
** '''ALL''' -  Applies changes to all author mapping tables.
 
  
 
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 22:
 
* '''Imdb''' - Use when a conflict exists between IMDB URLs.
 
* '''Imdb''' - Use when a conflict exists between IMDB URLs.
  
Example:
+
==Example==
  
 +
<source lang="xml">
 
  <?xml version="1.0" encoding="iso-8859-1" ?>
 
  <?xml version="1.0" encoding="iso-8859-1" ?>
 
  <IsfdbSubmission>
 
  <IsfdbSubmission>
Line 31: Line 36:
 
   </AuthorMerge>
 
   </AuthorMerge>
 
  </IsfdbSubmission>
 
  </IsfdbSubmission>
 +
</source>
 +
 +
[[Category:Data Submission Formats|AuthorMerge]]

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>