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.tw</link>
<description>免費網頁製作教程</description>
<ttl>60</ttl>
<item>
<title>RSS 教程</title>
<link>https://w3schools.tw/xml/xml_rss.asp</link>
<description>W3Schools 上的新 RSS 教程</description>
</item>
</channel>
</rss>
自己動手試一試 »
❮ 完整的 RSS 參考