XML:AuthorMerge

From ISFDB
Revision as of 13:22, 21 May 2008 by Alvonruff (talk | contribs) (Breaking up large XML submission page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The AuthorMerge submission specifies how two author records should be merged. 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.

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>