RSS <source> Element
❮ Complete RSS Reference
Definition and Usage
The <source> element Specifies a third-party source for the item.
Attributes
Attribute | Description |
---|---|
url | Required. Specifies the link to the source |
Example
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>W3Schools Home Page</title>
<link>https://w3.p2hp.com</link>
<description>Free web building tutorials</description>
<item>
<title>RSS Tutorial</title>
<link>https://w3.p2hp.com/xml/xml_rss.asp</link>
<description>New RSS tutorial on W3Schools</description>
<source url="https://w3.p2hp.com">W3Schools.com</source>
</item>
</channel>
</rss>
Try it Yourself »
❮ Complete RSS Reference