diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-07-11 07:19:22 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-07-11 07:19:22 +0000 |
commit | 6d0971ff4cb082a890e285f36361bd0717842217 (patch) | |
tree | 58343831cc0bdd859e9e5e0ae28036c85ba6fbe8 /database | |
parent | 9e43afadc7f508564c0a449ecd507238192c0e8d (diff) | |
download | brdo-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.
Diffstat (limited to 'database')
-rw-r--r-- | database/updates.inc | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |