RSS judul, tautan, dan deskripsi elemen
Definisi dan Penggunaan
<Barang> elemen mendefinisikan RSS feed dalam artikel, elemen memiliki tiga elemen anak yang diperlukan:
- <Title> - menentukan judul proyek (misalnya: RSS Tutorial)
- <Link> - Ultra-didefinisikan koneksi ke proyek (misalnya: http: //www.w3cschool.cc/rss/)
- <Description> - deskripsi proyek (misalnya: W3School terbaru RSS tutorial)
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>
<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>
Coba »
referensi manual lengkap RSS