Compare commits
2 Commits
54283eeaa5
...
a6652c8ff6
Author | SHA1 | Date |
---|---|---|
quenousimporte | a6652c8ff6 | |
quenousimporte | 79b18f3648 |
3
daily.js
3
daily.js
|
@ -2,7 +2,8 @@ javascript: (function()
|
||||||
{
|
{
|
||||||
var map = {
|
var map = {
|
||||||
"www.mediapart.fr": "https://www.mediapart.fr/articles/feed",
|
"www.mediapart.fr": "https://www.mediapart.fr/articles/feed",
|
||||||
"www.lemonde.fr": "https://www.lemonde.fr/rss/une.xml"
|
"www.lemonde.fr": "https://www.lemonde.fr/rss/une.xml",
|
||||||
|
"www.nytimes.com": "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml"
|
||||||
};
|
};
|
||||||
|
|
||||||
var host = window.location.host;
|
var host = window.location.host;
|
||||||
|
|
1
epub.php
1
epub.php
|
@ -298,6 +298,7 @@
|
||||||
write_epub($epub);
|
write_epub($epub);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// New York Times today's paper
|
||||||
if (isset($_POST['nyttoday']) && $_POST['nyttoday'])
|
if (isset($_POST['nyttoday']) && $_POST['nyttoday'])
|
||||||
{
|
{
|
||||||
$todaypage = file_get_contents("https://www.nytimes.com/section/todayspaper");
|
$todaypage = file_get_contents("https://www.nytimes.com/section/todayspaper");
|
||||||
|
|
Loading…
Reference in New Issue