summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-07-11 07:19:22 +0000
committerDries Buytaert <dries@buytaert.net>2004-07-11 07:19:22 +0000
commit6d0971ff4cb082a890e285f36361bd0717842217 (patch)
tree58343831cc0bdd859e9e5e0ae28036c85ba6fbe8
parent9e43afadc7f508564c0a449ecd507238192c0e8d (diff)
downloadbrdo-6d0971ff4cb082a890e285f36361bd0717842217.tar.gz
brdo-6d0971ff4cb082a890e285f36361bd0717842217.tar.bz2
- Added URL aliases for 'index.rdf' and 'rss.xml'. Google, Feedster and
possibly other crawlers try fetching these frequently as can be seen from the watchdog logs. Made possible by the recent path module change.
-rw-r--r--CHANGELOG.txt5
-rw-r--r--database/updates.inc4
2 files changed, 6 insertions, 3 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index e180b2fc5..16267e4cf 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -9,15 +9,15 @@ Drupal x.x.x, xxxx-xx-xx
* added support for multiple roles per user.
* made it possible to add custom profile fields.
* made it possible to browse the profiles by field.
-- refactored 403 (forbidden) handling and added support for custom 403 pages.
- comment module:
- * made it possible for anonymous users to leave their name, e-mail address and the URL of their homepage.
+ * made it possible to comment without having to register.
- forum module:
* added support for sticky forum topics.
* made it possible to track forum topics.
- syndication:
* added support for RSS ping-notifications of http://technorati.com/.
* refactored the categorization of syndicated news items.
+ * added URL aliases for 'rss.xml' and 'index.rdf'.
- database backend:
* added support for multiple database connections.
- theme system:
@@ -32,6 +32,7 @@ Drupal x.x.x, xxxx-xx-xx
- accessibility:
* improved the accessibility of the archive module's calendar.
* improved form handling and error reporting.
+- refactored 403 (forbidden) handling and added support for custom 403 pages.
- documentation:
* added PHPDoc/Doxygen comments.
diff --git a/database/updates.inc b/database/updates.inc
index 5bd6279a9..d8c5ddc2f 100644
--- a/database/updates.inc
+++ b/database/updates.inc
@@ -64,7 +64,7 @@ $sql_updates = array(
"2004-06-27" => "update_90",
"2004-06-30" => "update_91",
"2004-07-07" => "update_92",
- "2004-07-10" => "update_93",
+ "2004-07-11" => "update_93",
);
function update_32() {
@@ -1158,6 +1158,8 @@ function update_93() {
else {
$ret[] = update_sql('ALTER TABLE {url_alias} DROP INDEX src');
}
+ $ret[] = update_sql("INSERT INTO {url_alias} (src, dst) VALUES ('node/feed', 'index.rdf')");
+ $ret[] = update_sql("INSERT INTO {url_alias} (src, dst) VALUES ('node/feed', 'rss.xml')");
return $ret;
}