diff options
author | Thomas Citharel <tcit@tcit.fr> | 2014-10-27 09:28:30 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2014-10-27 09:28:30 +0100 |
commit | 24479b479d6a9fc406c92def1f7609fbfa142bcd (patch) | |
tree | 8cf17d3e8a13bf21d9709c1df7c790107ab5c1f9 /inc/3rdparty/site_config/standard/designsponge.com.txt | |
parent | 4a50075784bb13ed0764a8a175779d9683782846 (diff) | |
parent | 90a1a78b1e2f4d40e1d9b8e6f46aca129a9d7bcf (diff) | |
download | wallabag-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-x | inc/3rdparty/site_config/standard/designsponge.com.txt | 31 |
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 | |||
3 | tidy: no | ||
4 | prune: no | ||
5 | |||
6 | # Set title | ||
7 | title: //header/h1 | ||
8 | |||
9 | # Set author | ||
10 | author: //a[rel='author'] | ||
11 | |||
12 | # Content is here | ||
13 | body: //article | ||
14 | |||
15 | # Tidy up before article | ||
16 | strip: //header | ||
17 | |||
18 | # Tidy up article | ||
19 | strip: //div[contains(@id, 'gallery-')] | ||
20 | replace_string(<a rel="attachment): <p rel="attachment | ||
21 | |||
22 | |||
23 | # Tidy up after article | ||
24 | strip: //div[@class='sm'] | ||
25 | strip_id_or_class: related | ||
26 | strip_id_or_class: comments | ||
27 | strip: //footer | ||
28 | |||
29 | # Try it yourself | ||
30 | test_url: http://www.designsponge.com/2010/06/seattle-design-guide.html | ||
31 | test_url: http://www.designsponge.com/2012/04/sneak-peek-liz-cook.html | ||