最新的Web開發教程
 

RSS <skipHours> Element


<完整的RSS參考

定義和用法

<skipHours>元素指定的地方匯集應該跳過更新飼料小時。


提示和注意

Tip:可以有多達24個<hour>的中的元素<skipHours>元素

Tip: 0表示午夜。


<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">

<channel>
  <title>w3ii Home Page</title>
  <link>http://www.w3ii.com</link>
  <description>Free web building tutorials</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 Tutorial</title>
    <link>http://www.w3ii.com/xml/xml_rss.html</link>
    <description>New RSS tutorial on w3ii</description>
  </item>
</channel>

</rss>

試一試»

<完整的RSS參考