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