summaryrefslogtreecommitdiff
path: root/modules/aggregator
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-06-05 18:09:39 +0000
committerDries Buytaert <dries@buytaert.net>2003-06-05 18:09:39 +0000
commitde3b0796d24c05856340d94504c109195b51d71c (patch)
tree80dd2c4922b55f5467a09d36cd8fc5e1bcbda6e1 /modules/aggregator
parent355d25e73d90f3174db459a5a380193e0505ada4 (diff)
downloadbrdo-de3b0796d24c05856340d94504c109195b51d71c.tar.gz
brdo-de3b0796d24c05856340d94504c109195b51d71c.tar.bz2
- Bugfix: better charset support for non-ISO-8859-1 languages. Patch 0029.charset.fixes.patch by Al. Could East Asia test this please.
- Bugfix: made the "moderate" field behave. Patch 0030.queue.module.help.and.settings.form.patch by Al. - Documentation: revised a large part of the help texts / documentation! Al's 0024.* patches. - Documentation: added a glossary to the help module. Patch 0025.help.module.glossary.patch by Al and Michael. - Usability: first step towards unifying the terminology used in the cloud module. Patch by 0028.site.cloud.rationalize.name.patch Al. - Usability + CSS improvements: revamped the node form and removed all tables. Patch 0027.node.form.rewrite.patch by Al. - CSS improvements: patch 0026.admin.css.small.improvement.patch by Al. - Updated the MAINTAINERS file.
Diffstat (limited to 'modules/aggregator')
-rw-r--r--modules/aggregator/aggregator.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module
index a07c98a25..d7916491c 100644
--- a/modules/aggregator/aggregator.module
+++ b/modules/aggregator/aggregator.module
@@ -706,13 +706,13 @@ function import_page_fd() {
$result = db_query("SELECT * FROM feed ORDER BY title");
- $output .= "<?xml version=\"1.0\"?>\n\n";
+ $output .= "<?xml version=\"1.0\" encoding=\"". variable_get("site_charset", "iso-8859-1") ."\"?>\n\n";
$output .= "<rssfeeds version=\"0.1\">\n\n";
while ($feed = db_fetch_object($result)) {
$output .= "<channel>\n";
- $output .= " <title>". htmlspecialchars($feed->title) ."</title>\n";
- $output .= " <link>". htmlspecialchars($feed->url) ."</link>\n";
+ $output .= " <title>". drupal_specialchars($feed->title) ."</title>\n";
+ $output .= " <link>". drupal_specialchars($feed->url) ."</link>\n";
$output .= "</channel>\n\n";
}