From 38d6e1b8ca173a2f38eb5b4dd5f3668dfa7072c9 Mon Sep 17 00:00:00 2001 From: michelvaldrighi Date: Wed, 31 Mar 2004 21:25:48 +0000 Subject: [PATCH] lastBuildDate now uses the last modification date (as GMT), redundant old conditional get code now removed git-svn-id: https://develop.svn.wordpress.org/trunk@1044 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-rss.php | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/wp-rss.php b/wp-rss.php index 48eea39a7b..adc689d1ad 100644 --- a/wp-rss.php +++ b/wp-rss.php @@ -8,20 +8,6 @@ if (! $feed) { header('Content-type: text/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); -*/ - ?> '; ?> @@ -30,7 +16,7 @@ header("Etag: " . $cetag, true); <?php bloginfo_rss("name") ?> - GMT + http://backend.userland.com/rss092