summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFiveFilters.org <fivefilters@fivefilters.org>2013-11-02 07:47:59 -0700
committerFiveFilters.org <fivefilters@fivefilters.org>2013-11-02 07:47:59 -0700
commit0c07c589228b56d8d11168fe14fa7266e794595b (patch)
tree2dbfe194052ad09f40bf90cee222a691874bf950
parente35aa27438f33fc9c834c751afe2574c6c0573b6 (diff)
parent10118480ccd373f5bc09e9ef10298ad99e79f3b2 (diff)
downloadftr-site-config-0c07c589228b56d8d11168fe14fa7266e794595b.tar.gz
ftr-site-config-0c07c589228b56d8d11168fe14fa7266e794595b.zip
Merge pull request #23 from Glandos/patch-1
Update lemonde.fr.txt
-rw-r--r--lemonde.fr.txt17
1 files changed, 11 insertions, 6 deletions
diff --git a/lemonde.fr.txt b/lemonde.fr.txt
index 7aaa77a..1bf54b5 100644
--- a/lemonde.fr.txt
+++ b/lemonde.fr.txt
@@ -1,13 +1,18 @@
title: //h1
-# they have a single component containing both author and date
-#author: //p[@class='source']
-#date: //p[@class='source']
+# We can have multiple authors
+author: //a[@class='auteur']
-body: //div[@class='contenu_article']
+# Last edition date (if any)
+date: //time[@itemprop='dateModified']/@datetime
+# Publication date
+date: //time[@itemprop='datePublished']/@datetime
+
+
+body: //div[@id='articleBody']
#Shoot the insane "conjugaison.lemonde.fr" links :
-strip: //a[contains(@class, 'listLink')]
+strip: //a[contains(@class, 'conjug')]
prune: no
-test_url: http://www.lemonde.fr/economie/article/2011/07/05/moody-s-abaisse-la-note-du-portugal-de-quatre-crans_1545237_3234.html \ No newline at end of file
+test_url: http://www.lemonde.fr/economie/article/2011/07/05/moody-s-abaisse-la-note-du-portugal-de-quatre-crans_1545237_3234.html