RSS <titel>, <skakel>, en <beskrywing> Elemente
❮ Voltooi RSS-verwysing
Definisie en gebruik
Elke <item>-element definieer 'n artikel of "storie" in die RSS-feed.
Die <item>-element het drie vereiste kinderelemente:
- <titel> - Definieer die titel van die item (bv. RSS-tutoriaal)
- <skakel> - Definieer die hiperskakel na die item (bv. https://www.w3schools.com/xml/xml_rss.asp)
- <beskrywing> - Beskryf die item (bv. Nuwe RSS-tutoriaal op W3Schools)
Voorbeeld
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>W3Schools Home Page</title>
<link>https://www.w3schools.com</link>
<description>Free web building tutorials</description>
<item>
<title>RSS Tutorial</title>
<link>https://www.w3schools.com/xml/xml_rss.asp</link>
<description>New RSS tutorial on W3Schools</description>
</item>
<item>
<title>XML Tutorial</title>
<link>https://www.w3schools.com/xml</link>
<description>New XML tutorial on W3Schools</description>
</item>
</channel>
</rss>
❮ Voltooi RSS-verwysing