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