Skip to content

Commit

Permalink
- Small improvement to the exported RSS feed.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbuytaert committed Dec 30, 2001
1 parent a95c2a6 commit 69f1b4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/node.module
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion modules/node/node.module
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 69f1b4d

Please sign in to comment.