XML technologies / RSS & Atom / Reference: RSS 1.1 elements / rss:image

(Excerpt from "Newsfeeds with RSS and Atom" by Heinz Wittenbrink, published by Galileo Press, 2005)

Meaning

Represents an image illustrating a feed.

Schema

image = element image { image.content }

image.content = (
   AttrXMLLang?, AttrRDFResource,
   (title & link? & url & Any*)
)

Any = element * - ( rss:* ) { Any.content }

Any.content = (
   attribute * - ( rss:* | NoNS:* ) { text }*,
   mixed { Any* }
)

AttrXMLLang = attribute xml:lang { xsd:language }
AttrRDFResource = attribute rdf:parseType { "Resource" }

Ancestors

rss:Channel

Descendants/content

rss:link, rss:title, rss:url, Any

Attribute

Name

Value

required

rdf:parseType

Resource

yes

Example

<Channel xmlns="http://purl.org/net/rss1.1#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" rdf:about="http://www.celawi.eu/webtrends/">
   ...
   <image rdf:parseType="Resource">
      <title>Webtrends-Logo</title>
      <link>http://www.celawi.eu/webtrends/images/webtrends.png </link>
      <url>http://www.celawi.eu/webtrends/ </url>
      ...
   </image> 
</Channel>

Notes

None

Equivalents

RSS 1.0

RSS 2.0

Atom

rss:image

image

atom:logo, atom:icon

   

 

 

 

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

back to top