Nicely displaying the filesize, using bytes, megabytes, etc..
= 1024) {
$size /= 1024;
$pos++;
}
return round($size,1)." ".$type[$pos];
}
?>
Nicely displaying the filesize, using bytes, megabytes, etc..
= 1024) {
$size /= 1024;
$pos++;
}
return round($size,1)." ".$type[$pos];
}
?>
Version them in their with their timestamp. This way, when they change, the link will change and the browser will reload the sitemap… Otherwise it will be fine to be cached as it wont have changed.
How to resubmit generated sitemaps automatically (using cron) or on an event (like re-generation of the sitemap).
And the function goodiness….
Easy way of switching between mysql and “normal” dates (english, not american)…