]> git.immae.eu Git - github/wallabag/wallabag.git/blob - inc/3rdparty/site_config/standard/designsponge.com.txt
updated site_config
[github/wallabag/wallabag.git] / inc / 3rdparty / site_config / standard / designsponge.com.txt
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