Ever hear of the flastmod include? Me neither. Here’s what it does. You can use it just like a #include directive server-side include, except instead of including a file, it returns the last modified timestamp of the file you request. If you’re using SSI in your site, add:
<!– #flastmod file=”index.shtml” –>
to any parsed file (ending in shtml) and it will print the last modified timestamp of whichever file you pass as the parameter. Nifty, eh? (See the bottom of the Works in Progress index page for an example.)
Note: MovableType users can simply use the <$MTDate$> tag to get the same data.