RSS <skipHours> Element


❮ Complete RSS Reference

Definition and Usage

The <skipHours> element specifies the hours where aggregators should skip updating the feed.


Tips and Notes

Tip: There can be up to 24 <hour> elements within the <skipHours> element

Tip: 0 represents midnight.


Example

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

<channel>
  <title>W3Schools Home Page</title>
  <link>https://www.w3schools.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>https://www.w3schools.com/xml/xml_rss.asp</link>
    <description>New RSS tutorial on W3Schools</description>
  </item>
</channel>

</rss>

Try it Yourself »

❮ Complete RSS Reference
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.