XML technologies / RSS & Atom / Reference: Atom elements / atom:link
atom:link
(Excerpt from "Newsfeeds with RSS and Atom" by Heinz Wittenbrink, published by Galileo Press, 2005)
Meaning
Reference from a feed or entry to a resource on the Web.
Schema
atomLink =
element atom:link {
atomCommonAttributes,
attribute href { atomUri },
attribute rel { atomNCName | atomUri }?,
attribute type { atomMediaType }?,
attribute hreflang { atomLanguageTag }?,
attribute title { text }?,
attribute length { text }?,
undefinedContent
}
Ancestors
feed, entry, source
Descendants/content
None
Attributes
Name | Value |
|---|---|
| IRI reference according to RFC 3987 (required). |
| Specifies the relationship to the referenced resource (optional). Currently supported values are |
| valid MIME media type of the representation of the referenced resource (optional). |
| Specifies the target resource’s language using a language tag according to RFC 3066 (optional). |
| Human-readable information about the link (optional). |
| Length of the linked content in 8-bit characters (optional). |
Example
<atom:feed xmlns="http://www.w3.org/2005/Atom">
...
<atom:link rel="alternate" href="http://www.celawi.com/webtrends.html"/>
<atom:link rel="via" type="text/html" href="http://blog.ask.com/2005/04/jeeves_habla_es.html"/>
</atom:feed>Notes
None
Equivalents
RSS 1.1 | ||
|---|---|---|

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.