| ... | ... |
@@ -26,8 +26,10 @@ do |
| 26 | 26 |
php $gen > $output 2>> $LOGFILE |
| 27 | 27 |
NEWSALL="all-$output" |
| 28 | 28 |
NEWSPDF=$(basename $NEWSALL .html).pdf |
| 29 |
+ NEWSEPUB=$(basename $NEWSALL .html).epub |
|
| 29 | 30 |
log "Generating Single HTML for $NEWSALL" |
| 30 | 31 |
php news2html.php $output > $NEWSALL 2>> $LOGFILE |
| 32 |
+ pandoc -f html -t epub3 -o $NEWSEPUB $NEWSALL 2>> $LOGFILE |
|
| 31 | 33 |
if [ "$NEWSALL" != "all-huffingtonpostfr.html" ] |
| 32 | 34 |
then |
| 33 | 35 |
if [ "$NEWSALL" != "all-vicefr.html" ] |