Difference between revisions of "XML:TitleRemove"

From ISFDB
Jump to navigation Jump to search
m (+cat)
 
(2 intermediate revisions by 2 users not shown)
Line 8: Line 8:
  
 
* '''Record''' - Specifies which publication record to update.
 
* '''Record''' - Specifies which publication record to update.
* '''TitleRecord''' - Specifies which title record to remove. Multiple tags may be submitted to remove multiple titles from the publication.
+
* '''TitleRecord''' - Specifies the value of the field "pubc_id" in table "pub_content" for the title record to be removed.  Note that this is NOT the value of the field "title_id" in the table "titles". Multiple TitleRecord tags may be submitted to remove multiple titles from the same publication.
  
 
==Example==
 
==Example==
  
 +
  <source lang="xml">
 
   <?xml version="1.0" encoding="iso-8859-1" ?>
 
   <?xml version="1.0" encoding="iso-8859-1" ?>
 
   <IsfdbSubmission>
 
   <IsfdbSubmission>
Line 21: Line 22:
 
     </TitleRemove>
 
     </TitleRemove>
 
   </IsfdbSubmission>
 
   </IsfdbSubmission>
 
+
  </source>
  
 
[[Category:Data Submission Formats|TitleRemove]]
 
[[Category:Data Submission Formats|TitleRemove]]

Latest revision as of 19:43, 24 January 2010

Introduction

The TitleRemove submission removes one or more titles from a publication.

Required Tags

The submission contains two required tags:

  • Record - Specifies which publication record to update.
  • TitleRecord - Specifies the value of the field "pubc_id" in table "pub_content" for the title record to be removed. Note that this is NOT the value of the field "title_id" in the table "titles". Multiple TitleRecord tags may be submitted to remove multiple titles from the same publication.

Example

  <?xml version="1.0" encoding="iso-8859-1" ?>
  <IsfdbSubmission>
    <TitleRemove>
      <Subject>Year’s Best Fantasy 4</Subject>
      <Submitter>CoachPaul</Submitter>
      <Record>117691</Record>
      <TitleRecord>309491</TitleRecord>
    </TitleRemove>
  </IsfdbSubmission>