RSS <ttl>Element


RSS  参考手册Complete RSS Reference Manual

Definition and Usage

<ttl> (ttl=time to live) The <ttl> element specifies the number of minutes the feed can be cached before the feed source updates this feed.


Examples

<?xml version="1.0" encoding="UTF-8" ?> <rss version="2.0"> <channel> <title>Example</title> <link>http://www.example.com</link> <description>Free programming learning website</description> <ttl>60</ttl> <item> <title>RSS Tutorial</title> <link>http://www.example.com/rss</link> <description>Example - RSS Tutorial</description> </item> </channel> </rss>

Try it yourself »

RSS  参考手册Complete RSS Reference Manual Other extensions