Difference between revisions of "XML:PublisherMerge"

From ISFDB
Jump to navigation Jump to search
(→‎Example: syntax highlighting)
Line 22: Line 22:
 
==Example==
 
==Example==
  
 +
<source lang="xml">
 
  <?xml version="1.0" encoding="iso-8859-1" ?>
 
  <?xml version="1.0" encoding="iso-8859-1" ?>
 
  <IsfdbSubmission>
 
  <IsfdbSubmission>
Line 35: Line 36:
 
   </PublisherMerge>
 
   </PublisherMerge>
 
  </IsfdbSubmission>
 
  </IsfdbSubmission>
 +
</source>
  
  
 
[[Category:Data Submission Formats|PublisherMerge]]
 
[[Category:Data Submission Formats|PublisherMerge]]

Revision as of 07:02, 22 May 2008

Introduction

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

Required Tags

The submission contains two required tags:

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

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 following optional tags are supported:

  • Name - Record number of the desired publisher name.
  • Note - Record number of the desired note.
  • Wikipedia - Record number of the desired Wikipedia URL.
  • Webpages - Record number of the desired webpages.

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>
     <Wikipedia>19485</Wikipedia>
     <Webpages>19485</Webpages>
   </PublisherMerge>
 </IsfdbSubmission>