An RSS feed is carried over HTTP. As such, it is expected that the client use the HTTP "if-modified-since" request header to indicate what it wants. Usually the time/date in this field is the same as the time/date in the "last-modified" response header the last time the same resource (file, or in your case, RSS feed) was received via HTTP.

An RSS feed can be as simple as a file, for example, "feed.rss", updated as needed. In that case, the file can be served by an ordinary webserver and the value of the "last-modified" response header will be the modified time of the file.

Or, an RSS feed can be generated on demand. In that case, the "last-modified" response header will often be the time of generattion. It could also be the time of the most recent item the feed generator is tracking.

Either way, the RSS client can specify what it last "saw" using the "if-modified-since" request header. The webserver or feed generator can then act accordingly.


In reply to Re^2: Which feed method? by RonW
in thread Which feed method? by hankcoder

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.