w3pop.com :: 网络学院 :: RSS :: RSS < ttl > 元素
The <ttl> (ttl=time to live) element specifies the number of minutes the feed can stay cached before refreshing it from the source.
<ttl> (ttl=time to live)元素的作用是:指定有效期,用以指明该频道可被缓存的最长时间,以分钟分单位。
<?xml version="1.0" encoding="ISO-8859-1" ?> <rss version="2.0"> <channel>
<title>W3pop Home Page</title>
<link>http://www.w3pop.com</link>
<description>Free web building tutorials</description>
<ttl>60</ttl>
<item>
<title>RSS Tutorial</title>
<link>http://www.w3pop.com/tech/school/rss</link>
<description>New RSS tutorial on W3pop</description>
</item>
</channel>
</rss> |
<ttl> 元素
使用<ttl>元素的方法
评论 (0)
All