Files in <?php echo $_SERVER["REQUEST_URI"]; ?> "/> s in the feed. @natcasesort($files); $files = @array_values($files); $arsize = sizeof($files); for($i=0;$i<$arsize;$i++) { # some useful auxiliary functions for future reference # round(filesize($files[$i])/1024); # a function to output the file size in KB. This might be good for an Atom summary # md5_file($files[$i]); # generates an MD5 hash of the file. Useful if we want to determine uniqueness? # we need just the current path so our file links work $path_parts = pathinfo($_SERVER[REQUEST_URI]); echo " $files[$i] " . w3datify(filemtime($files[$i])) . " " . w3datify(filectime($files[$i])) . " tag:$_SERVER[HTTP_HOST]" . ',' . date ("Y-m-d", filectime($files[$i])) . ':/' . urlencode($files[$i]) ." "; } echo ''; # we take a moment to reflect on the extraordinary leadership skills of sam ruby ?>