RSS <kategorie> Element
❮ Voltooi RSS-verwysing
Definisie en gebruik
Die <kategorie>-element spesifiseer een of meer kategorieë waaraan die kanaal of item behoort. Die <kategorie>-element kan ook die hiërargiese ligging in 'n kategorie spesifiseer (die waarde van die <kategorie>-element is dan 'n vorentoe-skuinsstreep-geskeide string).
Die <kategorie>-element maak dit vir RSS-aggregators moontlik om webwerwe/artikels op grond van kategorie te groepeer.
Eienskappe
Tag | Description |
---|---|
domain | Optional. A string or URL that identifies a
categorization taxonomy. Example: |
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>
<category>IT/Internet/Web development</category>
<item>
<title>RSS Tutorial</title>
<link>https://www.w3schools.com/xml/xml_rss.asp</link>
<description>New RSS tutorial on W3Schools</description>
<category>News</category>
<category>Tutorial</category>
</item>
</channel>
</rss>
❮ Voltooi RSS-verwysing