summaryrefslogtreecommitdiff
path: root/lemonde.fr.txt
diff options
context:
space:
mode:
authorEloi Coutant <eloi@anbuco.fr>2017-08-23 00:10:10 +0200
committerFiveFilters.org <fivefilters@fivefilters.org>2017-08-23 00:10:10 +0200
commit3ba1548d2acc2261e2454afc5b176a22657dbdb7 (patch)
tree0d35d29d1be9c7658c13a5a9f3c952f5b2a0ac06 /lemonde.fr.txt
parent794dfa0e9968c9f12f39de445188e95b6696aaf8 (diff)
downloadftr-site-config-3ba1548d2acc2261e2454afc5b176a22657dbdb7.tar.gz
ftr-site-config-3ba1548d2acc2261e2454afc5b176a22657dbdb7.zip
Updates for Le Monde websites (#327)
* Update lemonde.fr.txt Proposition to remove of "Lire aussi" (Read too) blocks that impedes the reading of articles. * Create abonnes.lemonde.fr.txt Abonnes.lemonde.fr is the website for lemonde subscribers. File inspired from lemonde.fr.txt, plus stripping of highlighted quotes. Takes into account the Le Monde Festival subsite that uses the HTML5 section and aside tags.
Diffstat (limited to 'lemonde.fr.txt')
-rw-r--r--lemonde.fr.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/lemonde.fr.txt b/lemonde.fr.txt
index 1994524..d5f9a9e 100644
--- a/lemonde.fr.txt
+++ b/lemonde.fr.txt
@@ -8,6 +8,8 @@ date: //time[@itemprop='dateModified']/@datetime
# Publication date
date: //time[@itemprop='datePublished']/@datetime
+# Remove "Lire aussi" blocks
+strip: //p[@class='lire']
body: //div[@id='articleBody']