RSS <title>, <link> och <description> element

Definition och användning

Elementet <channel> beskriver RSS feed, och har tre nödvändiga underelement:

  • <title> - Definiera kanalens titel (t.ex. CodeW3C startsida)
  • <link> - Definiera en hyperlänk till kanalen (t.ex. http://www.codew3c.com)
  • <description> - Beskriv kanalen (t.ex. gratis webbplatsbyggnadstutorial)

Exempel

<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
  <title>CodeW3C.com Home Page</title>
  <link>http://www.codew3c.com</link>
  <description>Free web building tutorials</description>
</channel>
</rss>