RSS <source> tag
Usage
Specifies the source of an RSS item (if it came from another RSS feed). Between <source> and </source> put the title of the RSS feed that the item came from (signified by the <title> tag in that RSS feed).
The purpose of <source> is to include proper credit for and and publicize the source of external RSS items.
Attributes
| Attribute | Description |
|---|---|
| url | Required. The URL of the RSS feed the item came from |
Example
RSS feed with external item:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
<title>Landofcode.com web tutorials updates</title>
<link>http://www.landofcode.com</link>
<description>Web development tutorials</description>
<item>
<title>Wacky news story</title>
<link>http://www.reddit.com/r/wacky</link>
<description>Guy runs into a car and drives it!</description>
<source url="http://www.reddit.com/.rss">
reddit.com:what's new online!
</source>
</item>
<item>
<title>New HTML tutorials</title>
<link>http://www.landofcode.com/html-tutorials/</link>
<description>Five new HTML tutorials have been added</description>
</item>
</channel>
</rss>