RSS <title>, <link> and <description> elements
Definition and Usage
<item> Element defines an article in an RSS feed, and it has three mandatory child elements:
- <title> - Definiuje tytuł projektu (np. Tutorial RSS)</title>
- <link> - Definiuje przekierowanie do projektu (np. http://www.codew3c.com/rss/)</link>
- <description> - Opis projektu (np. najnowszy tutorial RSS CodeW3C)</description>
Przykład
<?xml version="1.0" encoding="ISO-8859-1" ?> <rss version="2.0"> <channel> <title>Strona główna CodeW3C.com</title> <link>http://www.codew3c.com</link> <description>Bezpłatne tutorialy tworzenia stron internetowych</description> <item> <title>Tutorial RSS</title> <link>http://www.codew3c.com/rss</link> <description>Nowy tutorial RSS na CodeW3C.com</description> </item> <item> <title>Tutorial XML</title> <link>http://www.codew3c.com/xml</link> <description>Nowy tutorial XML na CodeW3C.com</description> </item> </channel> </rss>