summaryrefslogtreecommitdiff
path: root/theeuropean-magazine.com.txt
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2015-12-31 18:13:20 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2015-12-31 18:13:20 +0100
commitcbba2d911da7b4dc444be4e9a8569dcc5690ba85 (patch)
tree25ae329c4c2b43f7fef07a10d945f7084d9441a9 /theeuropean-magazine.com.txt
parent7e2e4967a3885cd0c45469ecf6c0547f8c3ab722 (diff)
downloadftr-site-config-cbba2d911da7b4dc444be4e9a8569dcc5690ba85.tar.gz
ftr-site-config-cbba2d911da7b4dc444be4e9a8569dcc5690ba85.zip
Backport site_config changes from wallabag v1
Fix https://github.com/wallabag/wallabag/issues/1414
Diffstat (limited to 'theeuropean-magazine.com.txt')
-rwxr-xr-xtheeuropean-magazine.com.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/theeuropean-magazine.com.txt b/theeuropean-magazine.com.txt
new file mode 100755
index 0000000..a19bae1
--- /dev/null
+++ b/theeuropean-magazine.com.txt
@@ -0,0 +1,17 @@
+# Tested on:
+# http://theeuropean-magazine.com/352-dyson-george/353-evolution-and-innovation
+# http://theeuropean-magazine.com/522-casertano-stefano/919-morsi-and-the-future-of-egypt
+
+title://h2[@class='article-title']
+author:substring-before(substring-after(//p[@class='article-meta'], 'by'), '&mdash;')
+date:substring-after(//p[@class='article-meta'], '&mdash;')
+body://div[@class='article']
+
+wrap_in(strong)://p[@class='article-teaser']
+move_into(//div[@class='article-head'])://li/img
+
+strip://h2[@class='article-title']
+strip://p[@class='article-meta']
+strip://div[@class='copyright']
+strip://div[@class='opinions-of-readers']
+test_url: http://theeuropean-magazine.com/522-casertano-stefano/919-morsi-and-the-future-of-egypt \ No newline at end of file