HTML and CSS Reference
In-Depth Information
<summary>Summary of news entry 2</summary>
<name>John Smith</name>
<category term="Home Page Stories" />
<category term="Web of Services" />
<content type="html" xml:lang="en" xml:base="">The full content
of News #2.</content>
<title>News item 1</title>
<link rel="alternate" type="text/html" href="" />
<summary>Summary of news entry 1</summary>
<name>John Smith</name>
<category term="Publication" />
<category term="Web design" />
<category term="Press releases" />
<content type="html" xml:lang="en" xml:base="">
<![CDATA[ The full content of News #1. In CDATA sections,
<a href="">markup code</a> can also be included. ]]>
These elements and attributes are described in the following sections in detail.
Text Constructs
Text constructs of Atom contain language-sensitive, human-readable texts. An optional attribute of text constructs is
the type attribute. If provided, the attribute must have one of the following values: text , html , or xhtml . If omitted,
Atom feed readers consider text constructs as if they were specified with the default value text . MIME types cannot be
declared as attribute values for the type attribute.
Person Constructs
There are three person constructs in Atom that describe an entity such as a person or a corporation: name , uri , and email .
Atom news feeds must contain exactly one name element that provides the name of the author. The element
content is language-sensitive.
The uri element is optional, and maximum one can be provided to link to the web site of the author. The content
of the uri element is an Internationalized Resource Identifier (IRI) in the form defined by RFC 3987 [19].
The e-mail address of the author can be declared by the optional email element of which no more than one can
be used in an Atom file. The content of the email element should conform to the standard Internet Message Format
defined by RFC 2822 [20].
Search WWH ::

Custom Search