当前位置: 首页 > 网络学院 > XML相关教程 > RSS > <skipHours>
The <skipHours> element specifies the hours where aggregators should skip updating the feed.
<skipHours>元素的作用是:提示新闻聚合器:哪些小时时段它可以跳过。
Tip: There can be up to 24 <skipHours> elements.
提示:最多允许使用24个<skipHours>元素。
Tip: 0 represents midnight.
提示:0代表午夜0点。
<?xml version="1.0" encoding="ISO-8859-1" ?> <rss version="2.0"> <channel> <title>ruanchen Home Page</title> <link>http://www.ruanchen.com</link> <description>Free web building tutorials</description> <skipHours>0</skipHours> <skipHours>1</skipHours> <skipHours>2</skipHours> <skipHours>3</skipHours> <skipHours>4</skipHours> <skipHours>5</skipHours> <skipHours>6</skipHours> <skipHours>7</skipHours> <skipHours>17</skipHours> <skipHours>18</skipHours> <skipHours>19</skipHours> <skipHours>20</skipHours> <skipHours>21</skipHours> <skipHours>22</skipHours> <skipHours>23</skipHours> <item> <title>RSS Tutorial</title> <link>http://www.ruanchen.com/tech/school/rss</link> <description>New RSS tutorial on ruanchen</description> </item> </channel> </rss> |
<skipHours> 元素
使用<skipHours>元素的方法