banner.dtd: Elements - Entities - Source | Intro - Index
FRAMES / NO FRAMES

banner.dtd


<Banner> Root element

banners are in reality just a special kind of figure.

One can use the <pre> like this :

This is some
     pre-renderered
text here ( % ).
    

<Banner>'s children
NameCardinality
abstractOnly one
authorOnly one
countryAt least one
figureAt least one
harvestdateOnly one
itemnameOnly one
languageOnly one
publishdateOnly one
shortdescOnly one
siteAt least one
sourceOnly one
titleOnly one
topicAny number
usertypeAt least one
versionOnly one
Element's model:

(version, country+, language, author, itemname, site+, topic*, source, usertype+, publishdate, harvestdate, title, abstract, shortdesc, figure+)


<shortdesc> Child of Banner

A short description of the figure

Example: mom and dad on the boat


<url> Child of figure

Banners may be used as clickable links. The link is provided by the url tag.


<id> Child of figure

Id of the banner.

Example: coolId


<content> Child of figure

The following to make common_figure usable


<version> Child of Banner

Version of the document.


<country> Child of Banner

Country


<language> Child of Banner

Language code : fr, se, ... to be completed


<author> Child of Banner

Name of the author of the document


<itemname> Child of Banner

Itemname of the document. This must be the same as the name of the file. That is "zero.html" will have an item name that is "zero". Itemname must be unique for a given site. That is, there must be not two content files with the same itemname on a given site.


<site> Child of Banner

sitekey (e.g. www.psychiatry24x7.com) of the sites where this content can appear


<topic> Child of Banner

Describes the topic to which this document is related. The list of topics is clearly defined for a given site. Therefore, this topic is a keyword.


<source> Child of Banner

Source of the document


<usertype> Child of Banner

Kind of users that can see this document. It is a keyword that can have several values :

Note that all of these values are not applicable to a given site.


<publishdate> Child of Banner

Date when the document is published (that is not related to the sCMS publishing process).

Its format is "mm/dd/yyyy", where mm is the month, d is the day of the month and y is the year.


<harvestdate> Child of Banner

Date from which the document can appear on the site. Before that date, the document is kept hidden.

Its format is "mm/dd/yyyy", where mm is the month, d is the day of the month and y is the year.


<keyword> Root element

Some keywords "defining" the document. Used by search engines to build their index.


<title> Child of Banner

Title of this document.


<abstract> Child of Banner

A simple short text describing the document. We don't allow tags (HTML,...) here.


<figure> Child of Banner

A figure defines the presenation of a picture in the text. It canappear in various places like, for example, in backgrounders.

<figure>'s children
NameCardinality
alignOne or none
borderOne or none
contentOne or none
downloadableOne or none
heightOnly one
hspaceOne or none
idOne or none
linkOne or none
urlOnly one
vspaceOne or none
widthOnly one
<figure>'s attributes
NameValuesDefault
orientationlandscape, portraitportrait
Element's model:

(content?, id?, (link? | downloadable?), url, width, height, align?, hspace?, vspace?, border?)


@orientation Attribute of figure

orientation is useful for biosketch content, where the width and height of the figure are fixed

Possible values: landscape, portrait - Default value: portrait


<width> Child of figure

An integer. Defines the width of the figure in pixel.


<link> Child of figure

Where the user goes if he clicks on the image (a common url).

<link>'s attributes
NameValuesDefault
newwindowyes, nono

@newwindow Attribute of link

Define if the "link" must be opened in a new browser window.

Possible values: yes, no - Default value: no


<height> Child of figure

An integer. Defines the with of the figure in pixel.


<downloadable> Child of figure

If this tag is used then a file download will be started. The file to download is specified by the value of the tag.


<hspace> Child of figure

This tag specifies the amount of white space to be inserted to the left and right of the figure. An integer.


<align> Child of figure

This tag specifies the position of the figure with respect to its context. Either "bottom","middle","top","left" or "right".


<vspace> Child of figure

This tag specifies the amount of white space to be inserted above and below the figure. An integer.


<border> Child of figure

If this tag is used, a border will be put around the figure. The value appearing in the tag defines the size of this border.