Difference between revisions of "XML:PublisherMerge"

From ISFDB
Jump to navigation Jump to search
(→‎Example: syntax highlighting)
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
 
The submission contains two required tags:
 
The submission contains two required tags:
  
* '''KeepId''' - Required tag. Specifies which title record to retain.
+
* '''KeepId''' - Specifies which publisher record to retain.
* '''DropId''' - Required tag. Indicates the publisher record to drop. There may be more than one DropId tag.
+
* '''DropId''' - Indicates the publisher record to drop. There may be more than one DropId tag.
  
 
==Optional Tags==
 
==Optional Tags==
  
The PublisherMerge submission also contains a number of optional tags. These tags should be used whenever a particular field differs between the merged titles. Each used tag refers to a publisher record number. When the submission is integrated, the value associated with the named record will be retained.
+
The PublisherMerge submission also supports one optional tag. Optional tags should be used whenever a particular field differs between the merged titles. Each used tag refers to a publisher record number. When the submission is integrated, the value associated with the named record will be retained.
The following optional tags are supported:
+
The following optional tags are supported for Publisher Merges:
  
* '''Name''' - Record number of the desired publisher name.
 
 
* '''Note''' - Record number of the desired note.
 
* '''Note''' - Record number of the desired note.
* '''Wikipedia''' - Record number of the desired Wikipedia URL.
 
* '''Webpages''' - Record number of the desired webpages.
 
  
 
==Example==
 
==Example==
Line 32: Line 29:
 
     <Subject>Angus &amp; Robertson / HarperCollins (Australia)</Subject>
 
     <Subject>Angus &amp; Robertson / HarperCollins (Australia)</Subject>
 
     <Note>19485</Note>
 
     <Note>19485</Note>
    <Wikipedia>19485</Wikipedia>
 
    <Webpages>19485</Webpages>
 
 
   </PublisherMerge>
 
   </PublisherMerge>
 
  </IsfdbSubmission>
 
  </IsfdbSubmission>

Latest revision as of 23:02, 13 February 2014

Introduction

The PublisherMerge submission merges 2 or more publishers into a single publisher.

Required Tags

The submission contains two required tags:

  • KeepId - Specifies which publisher record to retain.
  • DropId - Indicates the publisher record to drop. There may be more than one DropId tag.

Optional Tags

The PublisherMerge submission also supports one optional tag. Optional tags should be used whenever a particular field differs between the merged titles. Each used tag refers to a publisher record number. When the submission is integrated, the value associated with the named record will be retained. The following optional tags are supported for Publisher Merges:

  • Note - Record number of the desired note.

Example

 <?xml version="1.0" encoding="iso-8859-1" ?>
 <IsfdbSubmission>
   <PublisherMerge>
     <KeepId>18557</KeepId>
     <DropId>19257</DropId>
     <DropId>19485</DropId>
     <Submitter>Kraang</Submitter>
     <Subject>Angus &amp; Robertson / HarperCollins (Australia)</Subject>
     <Note>19485</Note>
   </PublisherMerge>
 </IsfdbSubmission>