aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/designsponge.com.txt
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2014-10-27 09:28:30 +0100
committerThomas Citharel <tcit@tcit.fr>2014-10-27 09:28:30 +0100
commit24479b479d6a9fc406c92def1f7609fbfa142bcd (patch)
tree8cf17d3e8a13bf21d9709c1df7c790107ab5c1f9 /inc/3rdparty/site_config/standard/designsponge.com.txt
parent4a50075784bb13ed0764a8a175779d9683782846 (diff)
parent90a1a78b1e2f4d40e1d9b8e6f46aca129a9d7bcf (diff)
downloadwallabag-24479b479d6a9fc406c92def1f7609fbfa142bcd.tar.gz
wallabag-24479b479d6a9fc406c92def1f7609fbfa142bcd.tar.zst
wallabag-24479b479d6a9fc406c92def1f7609fbfa142bcd.zip
Merge pull request #888 from wallabag/updated-site-config
updated site_config
Diffstat (limited to 'inc/3rdparty/site_config/standard/designsponge.com.txt')
-rwxr-xr-xinc/3rdparty/site_config/standard/designsponge.com.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/inc/3rdparty/site_config/standard/designsponge.com.txt b/inc/3rdparty/site_config/standard/designsponge.com.txt
new file mode 100755
index 00000000..2cd2f1f6
--- /dev/null
+++ b/inc/3rdparty/site_config/standard/designsponge.com.txt
@@ -0,0 +1,31 @@
1# Author: zinnober
2
3tidy: no
4prune: no
5
6# Set title
7title: //header/h1
8
9# Set author
10author: //a[rel='author']
11
12# Content is here
13body: //article
14
15# Tidy up before article
16strip: //header
17
18# Tidy up article
19strip: //div[contains(@id, 'gallery-')]
20replace_string(<a rel="attachment): <p rel="attachment
21
22
23# Tidy up after article
24strip: //div[@class='sm']
25strip_id_or_class: related
26strip_id_or_class: comments
27strip: //footer
28
29# Try it yourself
30test_url: http://www.designsponge.com/2010/06/seattle-design-guide.html
31test_url: http://www.designsponge.com/2012/04/sneak-peek-liz-cook.html