From ca52df787570dd03c91505807a23142713ca9cb1 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: http://svn.automattic.com/wordpress/trunk@1044 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-rss.php | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/wp-rss.php b/wp-rss.php index 48eea39a7..adc689d1a 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