Showing 2 changed files with 3 additions and 1 deletions
+2 -1
index.php
... ...
@@ -1,4 +1,5 @@
1 1
 <?php
2
+require_once('sources/rss.php');
2 3
 //List available images
3 4
 $newslist = array();
4 5
 $imagelist = array();
... ...
@@ -112,7 +113,7 @@ function NewsSection($sourceHTML) {
112 113
       }
113 114
     }
114 115
     </script>
115
-    <title>News.fr</title>
116
+    <title><?php echo NEWS_TITLE; ?></title>
116 117
   </head>
117 118
   <body>
118 119
     <div class="row">
+1
sources/rss.php
... ...
@@ -1,5 +1,6 @@
1 1
 <?php
2 2
 $DEBUG=0;
3
+define('NEWS_TITLE', 'News.fr');
3 4
 define('NEWS_RSS_LEMONDE', 'https://www.lemonde.fr/rss/une.xml');
4 5
 define('NEWS_RSS_LIBERATION', 'http://rss.liberation.fr/rss/latest/');
5 6
 define('NEWS_RSS_SLATEFR', 'https://www.slate.fr/rss.xml');