diff --git a/rss.php b/rss.php
index f2baab8..535b6e1 100755
--- a/rss.php
+++ b/rss.php
@@ -30,7 +30,7 @@ function processDir($dirname, $phpfile) {
$linestring = strip_tags($convert[$i]);
$linestring = str_replace("<", "<", $linestring);
$linestring = str_replace(">", ">", $linestring);
- echo $linestring. "
\n"; //write value by index
+ echo $linestring. "
\n"; //write value by index
}
else {
$title = $title . strip_tags($convert[$i]) . "\n";
@@ -43,8 +43,8 @@ function processDir($dirname, $phpfile) {
}
echo " ]]>\n";
// if (count($convert) > $newscollapsedlines) {
- echo " http://www.trinitydesktop.org/newsentry.php?entry=" . $file . "\n";
- echo " http://www.trinitydesktop.org/newsentry.php?entry=" . $file . "\n";
+ echo " https://www.trinitydesktop.org/newsentry.php?entry=" . $file . "\n";
+ echo " https://www.trinitydesktop.org/newsentry.php?entry=" . $file . "\n";
// }
echo " \n";
}
@@ -54,15 +54,14 @@ function processDir($dirname, $phpfile) {
}
}
-header('Content-type: application/rss+xml');
+header('Content-type: application/rss+xml; charset=utf-8');
-/*echo "\n";*/
-echo "\n";
+echo "\n";
echo "\n";
echo " \n";
-echo " \n";
+echo " \n";
echo " Trinity Desktop Environment News\n";
-echo " http://www.trinitydesktop.org/\n";
+echo " https://www.trinitydesktop.org/\n";
echo " News of the Trinity Desktop Environment, a full-featured professional desktop for Linux.\n";
echo " en\n";
@@ -73,5 +72,3 @@ echo " \n";
echo "\n";
?>
-
-