Showing 9 changed files with 18 additions and 9 deletions
+2 -1
sources/news-conspiracy.php
... ...
@@ -15,7 +15,8 @@ if ($xml === false) {
15 15
   $channel['description'] = $xml->channel->description;
16 16
   $channel['pubDate'] = $xml->channel->pubDate;
17 17
   $channel['timestamp'] = strtotime($xml->channel->pubDate);
18
-  echo '<h4>' . $channel['title'] . '</h4>';
18
+  //echo '<h4>' . $channel['title'] . '</h4>';
19
+  echo '<h4>' . $channel['title'].'<button id="html-btn" onclick="printHTMLAll(\''.$channel['title'].'\')" style="display:inline;"><img src="img/html5.png" width="24px" height="24px"></button></h4>'.PHP_EOL;
19 20
   $cpt=0;
20 21
   foreach ($xml->channel->item as $item) {
21 22
     $article = array();
+2 -1
sources/news-franceinfo.php
... ...
@@ -12,7 +12,8 @@ if ($xml === false) {
12 12
   $channel['description'] = $xml->channel->description;
13 13
   $channel['pubDate'] = $xml->channel->pubDate;
14 14
   $channel['timestamp'] = strtotime($xml->channel->pubDate);
15
-  echo '<h4>' . $channel['title'] . '</h4>';
15
+  //echo '<h4>' . $channel['title'] . '</h4>';
16
+  echo '<h4>' . $channel['title'].'<button id="html-btn" onclick="printHTMLAll(\''.$channel['title'].'\')" style="display:inline;"><img src="img/html5.png" width="24px" height="24px"></button></h4>'.PHP_EOL;
16 17
   $cpt=0;
17 18
   foreach ($xml->channel->item as $item) {
18 19
     $article = array();
+2 -1
sources/news-huffingtonpostfr.php
... ...
@@ -15,7 +15,8 @@ if ($xml === false) {
15 15
   $channel['description'] = $xml->channel->description;
16 16
   $channel['pubDate'] = $xml->channel->pubDate;
17 17
   $channel['timestamp'] = strtotime($xml->channel->pubDate);
18
-  echo '<h4>' . $channel['title'] . '</h4>';
18
+  //echo '<h4>' . $channel['title'] . '</h4>';
19
+  echo '<h4>' . $channel['title'].'<button id="html-btn" onclick="printHTMLAll(\''.$channel['title'].'\')" style="display:inline;"><img src="img/html5.png" width="24px" height="24px"></button></h4>'.PHP_EOL;
19 20
   $cpt=0;
20 21
   foreach ($xml->channel->item as $item) {
21 22
     $article = array();
+2 -1
sources/news-lemonde.php
... ...
@@ -12,7 +12,8 @@ if ($xml === false) {
12 12
   $channel['description'] = $xml->channel->description;
13 13
   $channel['pubDate'] = $xml->channel->pubDate;
14 14
   $channel['timestamp'] = strtotime($xml->channel->pubDate);
15
-  echo '<h4>' . $channel['title'] . '</h4>';
15
+  //echo '<h4>' . $channel['title'] . '</h4>';
16
+  echo '<h4>' . $channel['title'].'<button id="html-btn" onclick="printHTMLAll(\''.$channel['title'].'\')" style="display:inline;"><img src="img/html5.png" width="24px" height="24px"></button></h4>'.PHP_EOL;
16 17
   $cpt=0;
17 18
   foreach ($xml->channel->item as $item) {
18 19
     $article = array();
+2 -1
sources/news-lesinrocks.php
... ...
@@ -12,7 +12,8 @@ if ($xml === false) {
12 12
   $channel['description'] = $xml->channel->description;
13 13
   $channel['pubDate'] = $xml->channel->pubDate;
14 14
   $channel['timestamp'] = strtotime($xml->channel->pubDate);
15
-  echo '<h4>' . $channel['title'] . '</h4>';
15
+  //echo '<h4>' . $channel['title'] . '</h4>';
16
+  echo '<h4>' . $channel['title'].'<button id="html-btn" onclick="printHTMLAll(\''.$channel['title'].'\')" style="display:inline;"><img src="img/html5.png" width="24px" height="24px"></button></h4>'.PHP_EOL;
16 17
   $cpt=0;
17 18
   foreach ($xml->channel->item as $item) {
18 19
     $article = array();
+2 -1
sources/news-liberation.php
... ...
@@ -10,7 +10,8 @@ if ($xml === false) {
10 10
   $channel['title'] = $xml->title;
11 11
   $channel['pubDate'] = $xml->updated;
12 12
   $channel['timestamp'] = strtotime($xml->updated);
13
-  echo '<h4>' . $channel['title'] . '</h4>';
13
+  //echo '<h4>' . $channel['title'] . '</h4>';
14
+  echo '<h4>' . $channel['title'].'<button id="html-btn" onclick="printHTMLAll(\''.$channel['title'].'\')" style="display:inline;"><img src="img/html5.png" width="24px" height="24px"></button></h4>'.PHP_EOL;
14 15
   $cpt=0;
15 16
   foreach ($xml->entry as $item)
16 17
   {
+2 -1
sources/news-numerama.php
... ...
@@ -12,7 +12,8 @@ if ($xml === false) {
12 12
   $channel['description'] = $xml->channel->description;
13 13
   $channel['pubDate'] = $xml->channel->pubDate;
14 14
   $channel['timestamp'] = strtotime($xml->channel->pubDate);
15
-  echo '<h4>' . $channel['title'] . '</h4>';
15
+  //echo '<h4>' . $channel['title'] . '</h4>';
16
+  echo '<h4>' . $channel['title'].'<button id="html-btn" onclick="printHTMLAll(\''.$channel['title'].'\')" style="display:inline;"><img src="img/html5.png" width="24px" height="24px"></button></h4>'.PHP_EOL;
16 17
   $cpt=0;
17 18
   foreach ($xml->channel->item as $item) {
18 19
     $article = array();
+2 -1
sources/news-slatefr.php
... ...
@@ -12,7 +12,8 @@ if ($xml === false) {
12 12
   $channel['description'] = $xml->channel->description;
13 13
   $channel['pubDate'] = $xml->channel->pubDate;
14 14
   $channel['timestamp'] = strtotime($xml->channel->pubDate);
15
-  echo '<h4>' . $channel['title'] . '</h4>';
15
+  //echo '<h4>' . $channel['title'] . '</h4>';
16
+  echo '<h4>' . $channel['title'].'<button id="html-btn" onclick="printHTMLAll(\''.$channel['title'].'\')" style="display:inline;"><img src="img/html5.png" width="24px" height="24px"></button></h4>'.PHP_EOL;
16 17
   $cpt=0;
17 18
   foreach ($xml->channel->item as $item) {
18 19
     $article = array();
+2 -1
sources/news-vicefr.php
... ...
@@ -15,7 +15,8 @@ if ($xml === false) {
15 15
   $channel['description'] = $xml->channel->description;
16 16
   $channel['pubDate'] = $xml->channel->pubDate;
17 17
   $channel['timestamp'] = strtotime($xml->channel->pubDate);
18
-  echo '<h4>' . $channel['title'] . '</h4>';
18
+  //echo '<h4>' . $channel['title'] . '</h4>';
19
+  echo '<h4>' . $channel['title'].'<button id="html-btn" onclick="printHTMLAll(\''.$channel['title'].'\')" style="display:inline;"><img src="img/html5.png" width="24px" height="24px"></button></h4>'.PHP_EOL;
19 20
   $cpt=0;
20 21
   foreach ($xml->channel->item as $item) {
21 22
     $article = array();