Kategori RSS Element
Definisi dan Penggunaan
<Kategori> elemen menentukan satu atau lebih kategori atau saluran barang milik. <Kategori> elemen juga dapat menentukan posisi hirarki direktori (value <category> elemen adalah slash delimited string yang maju).
<Kategori> elemen memungkinkan situs agregator RSS direktori / artikel mengkategorikan kelompok (berdasarkan situs direktori / artikel dikelompokkan).
milik
label | deskripsi |
---|---|
domain | Opsional. String atau URL, mengidentifikasi klasifikasi taksonomi. contoh: <Kategori domain = "Syndic8"> IT </ kategori> |
contoh
<?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>
<category>IT/Internet/Web development</category>
<item>
<title>RSS Tutorial</title>
<link>http://www.w3cschool.cc/rss</link>
<description>New RSS tutorial on W3CSchool</description>
<category>News</category>
<category>Tutorial</category>
</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>
<category>IT/Internet/Web development</category>
<item>
<title>RSS Tutorial</title>
<link>http://www.w3cschool.cc/rss</link>
<description>New RSS tutorial on W3CSchool</description>
<category>News</category>
<category>Tutorial</category>
</item>
</channel>
</rss>
Coba »
referensi manual lengkap RSS