[microformats-discuss] Microformat to denote the date of the last
page modfication
Brian Suda
brian.suda at gmail.com
Tue Aug 16 05:53:44 PDT 2005
another thing that has not been mentioned yet, is that dynamic pages
might have new content from a database, but the actual file timestamp
would not have changed since the last time the file was opened and
saved by an external editor. Even though the content being pulled has
a newer modified date.
So there is another example where timestamps from the Server Headers
and actual content could differ.
-brian
On 8/16/05, Robert Bachmann <rbach at rbach.priv.at> wrote:
> Andreas Haugstrup wrote:
> > On Mon, 15 Aug 2005 21:15:15 +0200, Robert Bachmann
> > <rbach at rbach.priv.at> wrote:
> >
> >> I don't think so because the HTTP Last-Modified header describes when
> >> _the file_ was last modified, <abbr class="page-last-modified">
> >> describes when the last edit of _the page content_ happened.
> >
> > Isn't the difference the same?
> I'll try to provide a better example.
>
> This shall be our orginal page:
> <!DOCTYPE ...>
> <html>
> <head>
> <title>Some article</title>
> <link rel="stylesheet" href="style.css" />
> </head>
> <body>
> <h1>Some article</h1>
> <p>...</p>
> <p>...</p>
> <p>...</p>
> <p style="color:red">
> <strong>Do not</strong> try this at home!
> </p>
> <p>
> Last update:
> <abbr class="page-last-modified" title="20050102">2 Jan 2005</abbr>
> </p>
> </body>
> </html>
>
> Now we make a cosmetical change.
> We add
> p.warning {color: red; }
> to style.css and change our HTML file to:
>
> <!DOCTYPE ...>
> <html>
> <head>
> <title>Some article</title>
> <link rel="stylesheet" href="style.css" />
> </head>
> <body>
> <h1>Some article</h1>
> <p>...</p>
> <p>...</p>
> <p>...</p>
> <p class="warning"> <!-- <<< -->
> <strong>Do not</strong> try this at home!
> </p>
> <p>
> Last update:
> <abbr class="page-last-modified" title="20050102">2 Jan 2005</abbr>
> </p>
> </body>
> </html>
>
> Althought we updated the file we did not change the visble content,
> i.e: no user would bother the re-read the article because there is
> no visible change.
> Therfore we didn't change the date of <abbr class="page-last-modified" ...
>
> I hope that the above example brings some clarity.
>
> Additionaly this microformat has the benefit that it can
> be used to denote the last modifcation of an entry/item, e.g:
>
> <div class="some-microformat-container">
> Content ...
> <p class="fineprint">Last updated:
> <abbr class="last-modified" title="...">...</abbr>
> </p>
> </div>
>
> Robert
> --
> Robert Bachmann <rbach at rbach.priv.at> (OpenPGP KeyID: 0x4A5CCF10)
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss
>
--
brian suda
http://suda.co.uk
More information about the microformats-discuss
mailing list