RSS titre, lien, et la description des éléments
Définition et utilisation
<Article> définit le flux RSS dans l'article, l'élément comporte trois éléments requis de l'enfant:
- <Titre> - définir le titre du projet (par exemple: RSS Tutorial)
- <Lien> - Ultra-défini connexion au projet (par exemple: http: //www.w3cschool.cc/rss/)
- <Description> - description du projet (par exemple: w3school dernière RSS tutoriel)
Exemples
<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
<title>W3CSchool Home Page</title>
<link>http://www.w3cschool.cc</link>
<description>Free web building tutorials</description>
<item>
<title>RSS Tutorial</title>
<link>http://www.w3cschool.cc/rss</link>
<description>New RSS tutorial on W3CSchool</description>
</item>
<item>
<title>XML Tutorial</title>
<link>http://www.w3cschool.cc/xml</link>
<description>New XML tutorial on W3CSchool</description>
</item>
</channel>
</rss>
<rss version="2.0">
<channel>
<title>W3CSchool Home Page</title>
<link>http://www.w3cschool.cc</link>
<description>Free web building tutorials</description>
<item>
<title>RSS Tutorial</title>
<link>http://www.w3cschool.cc/rss</link>
<description>New RSS tutorial on W3CSchool</description>
</item>
<item>
<title>XML Tutorial</title>
<link>http://www.w3cschool.cc/xml</link>
<description>New XML tutorial on W3CSchool</description>
</item>
</channel>
</rss>
Essayez »
RSS manuel de référence complet