Tecnologías XML / RSS & Atom / Referencia: elementos Atom / atom:link
atom:link
(Extracto de «Newsfeeds con RSS y Atom» de Heinz Wittenbrink, publicado por Galileo Press, 2005)
Significado
Referencia de un feed o entry a un recurso de la Web.
Esquema
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
}
Ancestros
feed, entry, source
Descendientes/contenido
Ninguno
Atributos
Nombre | Valor |
|---|---|
| Referencia IRI conforme a RFC 3987 (obligatorio). |
| Indica el tipo de relación con el recurso referenciado (opcional). Los valores posibles actualmente son |
| tipo de medio válido MIME de la representación del recurso referenciado (opcional). |
| Indica el idioma del recurso de destino mediante una etiqueta de idioma conforme a RFC 3066 (opcional). |
| Información sobre el enlace legible por humanos (opcional). |
| Longitud del contenido enlazado en caracteres de 8 bits (opcional). |
Ejemplo
<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>Notas
Ninguno
Equivalentes
RSS 1.1 | ||
|---|---|---|

Esta obra se distribuye bajo una licencia Creative Commons Atribución-CompartirIgual 3.0 Unported.