FREE Web Template Download
HTML CSS JAVASCRIPT SQL PHP BOOTSTRAP JQUERY ANGULARJS TUTORIALS REFERENCES EXAMPLES Blog
 

RSS <ttl> Element


RSS Reference Complete RSS Reference

Definition and Usage

The <ttl> (ttl=time to live) element specifies the number of minutes the feed can stay cached before refreshing it from the source.


Example

<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">

<channel>
  <title>subhodaya Home Page</title>
  <link>http://tutorials</link>
  <description>Free web building tutorials</description>
  <ttl>60</ttl>
  <item>
    <title>RSS Tutorial</title>
    <link>http://tutorials/xml/xml-rss.asp</link>
    <description>New RSS tutorial on subhodaya</description>
  </item>
</channel>

</rss>

Try it Yourself »

RSS Reference Complete RSS Reference