diff --git a/wp-rdf.php b/wp-rdf.php index 4765b3a028..1559154d87 100644 --- a/wp-rdf.php +++ b/wp-rdf.php @@ -7,20 +7,6 @@ if (! $feed) { header('Content-type: application/rss+xml', true); -/* This doesn't take into account edits -// Get the time of the most recent article -$maxdate = $wpdb->get_var("SELECT max(post_date) FROM $tableposts"); -$unixtime = strtotime($maxdate); - -// format timestamp for Last-Modified header -$clast = gmdate("D, d M Y H:i:s \G\M\T", $unixtime); -$cetag = (isset($clast)) ? md5($clast) : ''; - -// send it in a Last-Modified header -header("Last-Modified: " . $clast, true); -header("Etag: " . $cetag, true); -*/ - add_filter('the_content', 'trim'); ?> '; ?> diff --git a/wp-rss2.php b/wp-rss2.php index 700d21869f..5aec502881 100644 --- a/wp-rss2.php +++ b/wp-rss2.php @@ -7,20 +7,6 @@ if (! $feed) { header('Content-type: application/rss+xml', true); -/* This doesn't take into account edits -// Get the time of the most recent article -$maxdate = $wpdb->get_var("SELECT max(post_date) FROM $tableposts"); -$unixtime = strtotime($maxdate); - -// format timestamp for Last-Modified header -$clast = gmdate("D, d M Y H:i:s \G\M\T", $unixtime); -$cetag = (isset($clast)) ? md5($clast) : ''; - -// send it in a Last-Modified header -header("Last-Modified: " . $clast, true); -header("Etag: " . $cetag, true); -*/ - ?> '; ?>