Latest web development tutorials

RSS elemento <ttl>

RSS Referência RSS manual de referência completo

Definição e Uso

O número de minutos <ttl> (TTL = tempo para viver) no elemento de alimentação especifica a fonte antes de atualizar este feed, alimentar pode ser armazenado em cache


Exemplos

<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">

<channel>
  <title>W3Schools Home Page</title>
  <link>http://www.w3schools.com</link>
  <description>Free web building tutorials</description>
   <ttl>60</ttl>
  <item>
    <title>RSS Tutorial</title>
    <link>http://www.w3schools.com/rss</link>
    <description>New RSS tutorial on W3Schools</description>
  </item>
</channel>

</rss>

tente »

RSS Referência RSS manual de referência completo