... | ... |
@@ -18,7 +18,7 @@ function DisplayNewsDefault(){ |
18 | 18 |
<h2><i class="fa fa-rss" aria-hidden="true"></i> RSS</h2> |
19 | 19 |
<ul> |
20 | 20 |
<?php |
21 |
- $location="sources/news-constants.php"; |
|
21 |
+ $location="sources/rss.php"; |
|
22 | 22 |
exec('awk -F"\'" \'{print $(NF-1)}\' '.$location.'|grep "http"', $contents, $return); |
23 | 23 |
$cpt=0; |
24 | 24 |
foreach( $contents as $content ) { |
... | ... |
@@ -1,11 +1,11 @@ |
1 | 1 |
<?php |
2 |
-define('NEWS_RSS_LEMONDE', 'http://www.lemonde.fr/rss/une.xml'); |
|
2 |
+define('NEWS_RSS_LEMONDE', 'https://www.lemonde.fr/rss/une.xml'); |
|
3 | 3 |
define('NEWS_RSS_LIBERATION', 'http://rss.liberation.fr/rss/latest/'); |
4 | 4 |
define('NEWS_RSS_SLATEFR', 'https://www.slate.fr/rss.xml'); |
5 | 5 |
define('NEWS_RSS_VICEFR', 'https://www.vice.com/fr/rss'); |
6 |
-define('NEWS_RSS_LESINROCKS', 'http://www.lesinrocks.com/feeds/feed-a-la-une/'); |
|
7 |
-define('NEWS_RSS_NUMERAMA', 'http://www.numerama.com/rss/news.rss'); |
|
8 |
-define('NEWS_RSS_HUFFINGTONPOSTFR', 'http://www.huffingtonpost.fr/feeds/index.xml'); |
|
6 |
+define('NEWS_RSS_LESINROCKS', 'https://www.lesinrocks.com/feeds/feed-a-la-une/'); |
|
7 |
+define('NEWS_RSS_NUMERAMA', 'https://www.numerama.com/rss/news.rss'); |
|
8 |
+define('NEWS_RSS_HUFFINGTONPOSTFR', 'https://www.huffingtonpost.fr/feeds/index.xml'); |
|
9 | 9 |
define('NEWS_RSS_LEPOINTFR', 'http://www.lepoint.fr/24h-infos/rss.xml'); |
10 | 10 |
define('NEWS_RSS_LEXPRESSFR', 'https://www.lexpress.fr/rss/alaune.xml'); |
11 | 11 |
|