]>
Commit | Line | Data |
---|---|---|
90a1a78b NL |
1 | # Author: zinnober |
2 | ||
3 | tidy: no | |
4 | prune: no | |
5 | ||
6 | # Set title | |
7 | title: //h2 | |
8 | ||
9 | date: //li[@class='time'] | |
10 | ||
11 | # Set author | |
12 | author: //a[contains(@rel, 'author')] | |
13 | ||
14 | # Content is here | |
15 | body: //div[@id='content'] | |
16 | ||
17 | # Tidy up before article | |
18 | strip: //div[@class='meta'] | |
19 | ||
20 | # Tidy up after article | |
21 | strip_id_or_class: nr_related_placeholder | |
22 | strip_id_or_class: twitter-share-button | |
23 | strip_id_or_class: afterpost | |
24 | strip_id_or_class: tags | |
25 | ||
26 | # Try it yourself | |
27 | test_url: http://www.canonrumors.com/2014/09/chuck-westfall-talks-canon-eos-7d-mark-ii/ | |
28 | test_url: http://www.canonrumors.com/2014/09/canon-cinema-eos-captures-space-in-4k-for-new-imax-3d-film/ |