diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-12-30 22:53:01 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-12-30 22:53:01 +0000 |
commit | 69f1b4d3e074cc767ebcd3a36328348a601e726a (patch) | |
tree | 9f67215ddc95d59dc2710fba7dab4237e3881d4f /modules | |
parent | a95c2a68aaededb5538da3df4d40c88879c4c45d (diff) | |
download | brdo-69f1b4d3e074cc767ebcd3a36328348a601e726a.tar.gz brdo-69f1b4d3e074cc767ebcd3a36328348a601e726a.tar.bz2 |
- Small improvement to the exported RSS feed.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/node.module | 2 | ||||
-rw-r--r-- | modules/node/node.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/node.module b/modules/node.module index 52e6a3d48..e9b7f69a6 100644 --- a/modules/node.module +++ b/modules/node.module @@ -670,7 +670,7 @@ function node_feed() { $output .= "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>\n"; // $output .= "<!DOCTYPE rss [<!ENTITY % HTMLlat1 PUBLIC \"-//W3C//ENTITIES Latin 1 for XHTML//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent\">\n"; $output .= "<rss version=\"0.91\">\n"; - $output .= format_rss_channel(variable_get("site_name", "drupal"), path_uri(), variable_get("site_slogan", ""), $items); + $output .= format_rss_channel(variable_get("site_name", "drupal") ." - ". variable_get("site_slogan", ""), path_uri(), variable_get("site_mission", ""), $items); $output .= "</rss>\n"; header("Content-Type: text/xml"); diff --git a/modules/node/node.module b/modules/node/node.module index 52e6a3d48..e9b7f69a6 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -670,7 +670,7 @@ function node_feed() { $output .= "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>\n"; // $output .= "<!DOCTYPE rss [<!ENTITY % HTMLlat1 PUBLIC \"-//W3C//ENTITIES Latin 1 for XHTML//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent\">\n"; $output .= "<rss version=\"0.91\">\n"; - $output .= format_rss_channel(variable_get("site_name", "drupal"), path_uri(), variable_get("site_slogan", ""), $items); + $output .= format_rss_channel(variable_get("site_name", "drupal") ." - ". variable_get("site_slogan", ""), path_uri(), variable_get("site_mission", ""), $items); $output .= "</rss>\n"; header("Content-Type: text/xml"); |