summaryrefslogtreecommitdiff
path: root/spectator.co.uk.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 /spectator.co.uk.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 'spectator.co.uk.txt')
-rwxr-xr-xspectator.co.uk.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/spectator.co.uk.txt b/spectator.co.uk.txt
new file mode 100755
index 0000000..d0605ed
--- /dev/null
+++ b/spectator.co.uk.txt
@@ -0,0 +1,7 @@
+author: /html/body/div[@id='wrapper']/div[@id='main-content']/div[@class='article_body']/a[@class='author-link']/child::text()
+
+body: /html/body/div[@id='wrapper']/div[@id='main-content']/div[@class='article_body']
+
+# Not very helpfull, the title and author are container by the same element that contains the body
+strip: /html/body/div[@id='wrapper']/div[@id='main-content']/div[@class='article_body']/h2 | /html/body/div[@id='wrapper']/div[@id='main-content']/div[@class='article_body']/a[@class='author-link']
+test_url: http://www.spectator.co.uk/arts-and-culture/night-and-day/7449683/spotify-sunday-my-personal-soundtrack.thtml \ No newline at end of file