HTML and CSS Reference
In-Depth Information
<published>2011-08-08T08:03:00Z</published>
<updated>2011-08-08T08:03:00Z</updated>
<summary>Summary of news entry 2</summary>
<author>
<name>John Smith</name>
</author>
<category term="Home Page Stories" />
<category term="Web of Services" />
<content type="html" xml:lang="en" xml:base="http://www.example.com/">The full content
of News #2.</content>
</entry>
<entry>
<title>News item 1</title>
<link rel="alternate" type="text/html" href="http://www.example.com/news/#entry-9165" />
<id>tag:www.example.com,2011://4.9165</id>
<published>2011-08-07T08:48:00Z</published>
<updated>2011-08-07T08:48:00Z</updated>
<summary>Summary of news entry 1</summary>
<author>
<name>John Smith</name>
</author>
<category term="Publication" />
<category term="Web design" />
<category term="Press releases" />
<content type="html" xml:lang="en" xml:base="http://www.example.com/">
<![CDATA[
The full content of News #1. In CDATA sections,
<a href="http://example.com/markup/">markup code</a> can also be included.
]]>
</content>
</entry>
</feed>
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