RSS <ttl> 元素
❮ 完整的 RSS 参考
定义和用法
The <ttl> (ttl=time to live) element specifies the number of minutes the feed can stay cached before refreshing it from the source.
示例
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>W3Schools 主页</title>
<link>https://w3schools.org.cn</link>
<description>免费网页制作教程</description>
<ttl>60</ttl>
<item>
<title>RSS 教程</title>
<link>https://w3schools.org.cn/xml/xml_rss.asp</link>
<description>W3Schools 上的新 RSS 教程</description>
</item>
</channel>
</rss>
自己动手试一试 »
❮ 完整的 RSS 参考