XML technologies / RSS & Atom / Reference: RSS 2.0 elements / The element link

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

Meaning

In channel: address of the HTML document corresponding to the channel.

In item: URI of the item.

In image: URI of the site; in HTML output, the image links to this site.

Ancestors

channel, item, link

Descendants/content

URI

Attributes

None

Example

<channel>
   <link>http://www.celawi.eu/webtrends/</link>
   ...
   <image>
      <link>http://www.celawi.eu/webtrends/</link>
      ...
   </image>
   <item>
      <link>http://www.celawi.eu/webtrends/403</link>
   </item> 
</channel>

Notes

For images, the URI specified here is the feed’s URI, not the image file’s URI!

Language version

RSS 0.91, 0.92, 0.93, 2.0

Equivalents

RSS 1.0

RSS 1.1

Atom

rss:link

rss:link

atom:link (in atom:entry and atom:feed)

   

 

 

 

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

back to top