Tecnologías XML / RSS & Atom / Referencia: elementos Atom / atom:content
(Extracto de «Newsfeeds con RSS y Atom» de Heinz Wittenbrink, publicado por Galileo Press, 2005)
Significado
Contenedor del contenido de una entrada (entry) o enlace al contenido.
Esquema
atomInlineTextContent =
element atom:content {
atomCommonAttributes,
attribute type { "text" | "html" }?,
(text)*
}
atomInlineXHTMLContent =
element atom:content {
atomCommonAttributes,
attribute type { "xhtml" },
xhtmlDiv
}
atomInlineOtherContent =
element atom:content {
atomCommonAttributes,
attribute type { atomMediaType }?
{text | anyElement}*
}
atomOutOfLineContent =
element atom:content {
atomCommonAttributes,
attribute type { atomMediaType }?,
attribute src { atomUri },
empty
}
atomContent = atomInlineTextContent
| atomInlineXHTMLContent
| atomInlineOtherContent
| atomOutOfLineContent
Ancestros
entry
Descendientes/contenido
Contenido textual o binario (véase El contenido como «ciudadano de primera clase»).
Atributos
Nombre | Valor |
|---|---|
|
|
| Referencia IRI (RFC 3987) |
Ejemplo
Véase la sección Contenidos textuales 1: texto sencillo, HTML y XHTML de la página El contenido como «ciudadano de primera clase».
Notas
Si el atributo type no se indica, debe suponerse que su valor es text. El atributo src debe utilizarse cuando el contenido no se incluye en línea. El contenido binario debe codificarse en base64. El contenido textual (incluido XML) debería incluirse en línea.
Equivalentes
RSS 1.1 | ||
|---|---|---|

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