Difference between revisions of "XML:MakeVariant"
Jump to navigation
Jump to search
| Line 7: | Line 7: | ||
===Required Tags When Parent Exists=== | ===Required Tags When Parent Exists=== | ||
| − | When modifying an existing title to be a variant of | + | When modifying an existing title to be a variant of a new parent title, two tags are required: |
* '''Record''' - Record number of the title to be made into a variant. | * '''Record''' - Record number of the title to be made into a variant. | ||
* '''Parent''' - Record number of the variant's parent title. | * '''Parent''' - Record number of the variant's parent title. | ||
| − | |||
===Required Tags When Parent Is Created=== | ===Required Tags When Parent Is Created=== | ||
| − | When | + | When turning a title into a variant of an existing parent title, the following tags are required: |
* '''Record''' - Record number of the title to be made into a variant. | * '''Record''' - Record number of the title to be made into a variant. | ||
| − | + | * '''Subject''' - An arbitrary string which will be used to describe this submission to the approving moderator. Typically the same as the title of the new parent. | |
| − | + | * '''Title''' - The title of the new title record. | |
| + | * '''Year''' - The date of the new title record in the YYYY-MM-DD format. | ||
| + | * '''TitleType''' - The type of the new title record. | ||
| + | * '''Language''' - The language of the new title record. | ||
| + | * '''Authors''' - Should contain at least one "Author" tag -- see below. | ||
| + | ** '''Author''' - The name of the author of the new parent title. | ||
==Optional Tags== | ==Optional Tags== | ||
Revision as of 22:53, 13 February 2014
Introduction
This submission is used to make current title a variant title. It can either link to an existing parent title, or it can specify that a new parent title should be created.
Required Tags
Required Tags When Parent Exists
When modifying an existing title to be a variant of a new parent title, two tags are required:
- Record - Record number of the title to be made into a variant.
- Parent - Record number of the variant's parent title.
Required Tags When Parent Is Created
When turning a title into a variant of an existing parent title, the following tags are required:
- Record - Record number of the title to be made into a variant.
- Subject - An arbitrary string which will be used to describe this submission to the approving moderator. Typically the same as the title of the new parent.
- Title - The title of the new title record.
- Year - The date of the new title record in the YYYY-MM-DD format.
- TitleType - The type of the new title record.
- Language - The language of the new title record.
- Authors - Should contain at least one "Author" tag -- see below.
- Author - The name of the author of the new parent title.
Optional Tags
Optional Tags When Parent Exists
None.
Optional Tags When Parent Is Created
Since this submission defines a new title, it supports the same optional tags as XML:TitleUpdate.
Examples
Example Where Parent Exists
<?xml version="1.0" encoding="iso-8859-1" ?>
<IsfdbSubmission>
<MakeVariant>
<Submitter>CoachPaul</Submitter>
<Subject>Luella Miller</Subject>
<Record>883909</Record>
<Parent>99468</Parent>
</MakeVariant>
</IsfdbSubmission>
Example Where Parent Is Created
<?xml version="1.0" encoding="iso-8859-1" ?>
<IsfdbSubmission>
<MakeVariant>
<Record>884039</Record>
<Submitter>Rkihara</Submitter>
<Subject>Buying Time: A Jaunt in Time and Space</Subject>
<Title>Buying Time: A Jaunt in Time and Space</Title>
<Year>2001-00-00</Year>
<TitleType>NOVEL</TitleType>
<Language>German</Language>
<Authors>
<Author>Alan Glasser</Author>
</Authors>
</MakeVariant>
</IsfdbSubmission>