RSS skipHours 元素
最后更新于:2022-03-26 22:42:34
RSS <skipHours> 元素
定义和用法
<skipHours> 元素规定在那些小时,聚合器忽略更新 feed。
提示和注释
提示:最多可以用 24 个 <skipHours> 元素。
提示:0 表示午夜。
实例
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>菜鸟教程首页</title>
<link>http://docs.gechiui.com/w3school</link>
<description>免费编程教程</description>
<skipHours>
<hour>0</hour>
<hour>1</hour>
<hour>2</hour>
<hour>3</hour>
<hour>4</hour>
<hour>5</hour>
<hour>6</hour>
<hour>7</hour>
<hour>17</hour>
<hour>18</hour>
<hour>19</hour>
<hour>20</hour>
<hour>21</hour>
<hour>22</hour>
<hour>23</hour>
</skipHours>
<item>
<title>RSS 教程</title>
<link>http://docs.gechiui.com/w3school/rss</link>
<description>菜鸟教程 Rss 教程</description>
</item>
</channel>
</rss>
<rss version="2.0">
<channel>
<title>菜鸟教程首页</title>
<link>http://docs.gechiui.com/w3school</link>
<description>免费编程教程</description>
<skipHours>
<hour>0</hour>
<hour>1</hour>
<hour>2</hour>
<hour>3</hour>
<hour>4</hour>
<hour>5</hour>
<hour>6</hour>
<hour>7</hour>
<hour>17</hour>
<hour>18</hour>
<hour>19</hour>
<hour>20</hour>
<hour>21</hour>
<hour>22</hour>
<hour>23</hour>
</skipHours>
<item>
<title>RSS 教程</title>
<link>http://docs.gechiui.com/w3school/rss</link>
<description>菜鸟教程 Rss 教程</description>
</item>
</channel>
</rss>