Sun Microsystems Sun Java Content Delivery Server 5.0 Administration Manual page 94

Table of Contents

Advertisement

The Content Delivery Server provides descriptor templates for Content Object
Descriptor (COD) and General Content Descriptor (GCD). You can define other
templates as needed.
TABLE 2-11
customize the template for your needs.
TABLE 2-11
Attribute
Name
Version
Size
Vendor
ShortDescription
Description
DownloadURL
BillingURL
ConfirmURL
ID
BinaryExtension
BinaryMimeType
ContentType
ModifiedDate
1
All property names must be preceded by /ContentItem/. For example, /ContentItem/Name.
The following code shows a sample content descriptor template.
CODE EXAMPLE 2-1
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
<xsl:output method="text" indent="yes"/>
<xsl:template match="/">
Content-Type: <xsl:value-of select=
"/ContentItem/BinaryMimeType"/>
76
Administrator Guide • 2005Q4
shows the Content Delivery Server content attributes that you can use to
Content Attributes for Content Descriptor Templates
1
Definition
The name of the content.
The version of the content.
The size of the content.
NOTE: This attribute is required.
The name of the content developer who submitted the content.
A brief description of the content.
A detailed description of the content.
The URL from which the content can be downloaded.
NOTE: This attribute is required.
The URL contacted to verify licenses.
The URL to which download confirmation or error messages are
sent.
The ID assigned to the content.
The extension of the file that contains the content.
The MIME type associated with the content.
NOTE: This attribute is required.
The type of content submitted.
The date the content was last changed.
Sample Content Descriptor Template
version="1.0">

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Sun Java Content Delivery Server 5.0 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents