I've spent a couple of days looking for the answer on this.
On our website, we insert META TAGs for "Date_of_last_modification" and also the Dublin Core metatag "dc.date.modified". (I expect the former to be deprecated in our shop RSN.)
We had been pulling the meta tags into an array and then pulling the date metatag out of it. (See listing below.)
However, Analog showed a rather large number of hits for this page. Further investigation showed that a reload would cause 1000+ hits in the log file. Commenting out line 2 of the listing below dropped the count to a reasonable number.
I would like to see if pulling out just the "Date_of_last_modification" for parsing will work, but I haven't been able to call the thing. I tried for example this line:
echo $Date_of_last_modification;
and I get "Warning: Undefined variable: Date_of_last_modification in inc/footer2_e.inc on line 12"
Anyone willing to take pity on this simpleton and explain to him the obvious answer? Muchly appreciated.
----------- LISTING -------------
<?php
$datearr = get_meta_tags("http://".$SERVER_NAME.$PATH_INFO);
$datevar = $datearr["date_of_last_modification"];
$modyr = substr($datevar,0,4);
$modmon = substr($datevar,4,2);
$modday = substr($datevar,6,2);
// Convert modmon to character string
$armon = array ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
$chmon = $armon[$modmon-1];
print ("Date last modified: ".$modday." ".$chmon." ".$modyr);
?>