Element RSS <zdroj>
❮ Kompletní RSS reference
Definice a použití
Element <source> Určuje zdroj třetí strany pro položku.
Atributy
Attribute | Description |
---|---|
url | Required. Specifies the link to the source |
Příklad
<?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>
<source url="https://www.w3schools.com">W3Schools.com</source>
</item>
</channel>
</rss>
❮ Kompletní RSS reference