|
Home >> FAQs/Tutorials >> RSS Tutorials >> Index
RSS FAQs - Atom Syndiation Format RFC4287 Reference Document
By: M. Nottingham, Ed. & R. Sayre, Ed.
Part:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
(Continued from previous part...)
4.2.7.4. The "hreflang" Attribute
The "hreflang" attribute's content describes the language of the
resource pointed to by the href attribute. When used together with
the rel="alternate", it implies a translated version of the entry.
Link elements MAY have an hreflang attribute, whose value MUST be a
language tag [RFC3066].
4.2.7.5. The "title" Attribute
The "title" attribute conveys human-readable information about the
link. The content of the "title" attribute is Language-Sensitive.
Entities such as "&" and "<" represent their corresponding
characters ("&" and "<", respectively), not markup. Link elements
MAY have a title attribute.
4.2.7.6. The "length" Attribute
The "length" attribute indicates an advisory length of the linked
content in octets; it is a hint about the content length of the
representation returned when the IRI in the href attribute is mapped
to a URI and dereferenced. Note that the length attribute does not
override the actual content length of the representation as reported
by the underlying protocol. Link elements MAY have a length
attribute.
4.2.8. The "atom:logo" Element
The "atom:logo" element's content is an IRI reference [RFC3987] that
identifies an image that provides visual identification for a feed.
atomLogo = element atom:logo {
atomCommonAttributes,
(atomUri)
}
The image SHOULD have an aspect ratio of 2 (horizontal) to 1
(vertical).
4.2.9. The "atom:published" Element
The "atom:published" element is a Date construct indicating an
instant in time associated with an event early in the life cycle of
the entry.
atomPublished = element atom:published { atomDateConstruct }
[Page 23]
Typically, atom:published will be associated with the initial
creation or first availability of the resource.
4.2.10. The "atom:rights" Element
The "atom:rights" element is a Text construct that conveys
information about rights held in and over an entry or feed.
atomRights = element atom:rights { atomTextConstruct }
The atom:rights element SHOULD NOT be used to convey machine-readable
licensing information.
If an atom:entry element does not contain an atom:rights element,
then the atom:rights element of the containing atom:feed element, if
present, is considered to apply to the entry.
4.2.11. The "atom:source" Element
If an atom:entry is copied from one feed into another feed, then the
source atom:feed's metadata (all child elements of atom:feed other
than the atom:entry elements) MAY be preserved within the copied
entry by adding an atom:source child element, if it is not already
present in the entry, and including some or all of the source feed's
Metadata elements as the atom:source element's children. Such
metadata SHOULD be preserved if the source atom:feed contains any of
the child elements atom:author, atom:contributor, atom:rights, or
atom:category and those child elements are not present in the source
atom:entry.
atomSource =
element atom:source {
atomCommonAttributes,
(atomAuthor*
& atomCategory*
& atomContributor*
& atomGenerator?
& atomIcon?
& atomId?
& atomLink*
& atomLogo?
& atomRights?
& atomSubtitle?
& atomTitle?
& atomUpdated?
& extensionElement*)
}
[Page 24]
(Continued on next part...)
Part:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|