This commit is contained in:
quenousimporte 2024-08-27 11:13:26 +02:00
parent 00003eecf3
commit e9ac279542
1 changed files with 12 additions and 24 deletions

View File

@ -581,25 +581,20 @@
} }
?> ?>
<h3>Generate epub</h3> <h1>Generate epub</h1>
<div> <div>
<form method="post"> <form method="post">
<b>Le Monde</b> <h2>Le Monde</h2>
<br>
<input id="lemonde" name="lemonde" type="checkbox"> <input id="lemonde" name="lemonde" type="checkbox">
<label for="lemonde">From "GetPublicationContentItems" json url: </label> <label for="lemonde">From "GetPublicationContentItems" json url: </label>
<input name="lmurl"><br> <input name="lmurl">
<br>
<b>Cafeyn</b> <h2>Cafeyn</h2>
<br>
<input id="cafeyn" name="cafeyn" type="checkbox"> <input id="cafeyn" name="cafeyn" type="checkbox">
<label for="cafeyn">From "material" json url: </label> <label for="cafeyn">From "material" json url: </label>
<input name="cafeynurl"><br> <input name="cafeynurl">
<br>
<b>Mediapart</b> <h2>Mediapart</h2>
<br>
<input id="mediapart" name="mediapart" type="checkbox"> <input id="mediapart" name="mediapart" type="checkbox">
<label for="mediapart">From RSS</label> <label for="mediapart">From RSS</label>
<br> <br>
@ -611,34 +606,27 @@
<br> <br>
<input id="mptoday" name="mptoday" type="checkbox"> <input id="mptoday" name="mptoday" type="checkbox">
<label for="mptoday">Today only</label> <label for="mptoday">Today only</label>
<br>
<br><br> <h2>The New York Times</h2>
<b>The New York Times</b>
<br>
<input id="nyt" name="nyt" type="checkbox"> <input id="nyt" name="nyt" type="checkbox">
<label for="nyt">From RSS</label> <label for="nyt">From RSS</label>
<br> <br>
<input id="nyttoday" name="nyttoday" type="checkbox"> <input id="nyttoday" name="nyttoday" type="checkbox">
<label for="nyttoday">From today's paper embeded script</label> <label for="nyttoday">From today's paper embeded script</label>
<br><br>
<b>Admin</b> <h2>Admin</h2>
<br>
<input id="emptycache" name="emptycache" type="checkbox" checked> <input id="emptycache" name="emptycache" type="checkbox" checked>
<label for="emptycache">Empty cache</label> <label for="emptycache">Empty cache</label>
<br><br>
<input type="submit"> <input type="submit">
</form> </form>
</div> </div>
<br>
<h2>Links</h2>
<a href="../epub">Fichiers générés</a><br> <a href="../epub">Fichiers générés</a><br>
<a href="../">Revue de presse</a><br> <a href="../">Revue de presse</a><br>
<br>
<b>Mediapart RSS summary</b> <h2>Mediapart RSS summary</h2>
<br>
<?php <?php
$mprss = file_get_contents('https://www.mediapart.fr/articles/feed', false, $context); $mprss = file_get_contents('https://www.mediapart.fr/articles/feed', false, $context);
$xml = new SimpleXMLElement($mprss); $xml = new SimpleXMLElement($mprss);