]>
Commit | Line | Data |
---|---|---|
90a1a78b NL |
1 | # Author: zinnober |
2 | # Rewrite of original template which fetched the printer-version without pictures | |
4e067cea | 3 | |
90a1a78b | 4 | tidy: no |
4e067cea NL |
5 | prune: no |
6 | ||
90a1a78b NL |
7 | # Set full title |
8 | title: //h1 | |
9 | ||
10 | date: //time | |
11 | ||
12 | # Content is here | |
13 | body: //article | |
14 | ||
15 | # Fetch full multipage articles | |
16 | next_page_link: //a[@id='atoc_next'] | |
17 | ||
18 | # Remove tracking and ads | |
19 | strip_id_or_class: iqadtile4 | |
20 | ||
21 | # General Cleanup | |
22 | strip_id_or_class: list-jtoc | |
23 | strip_id_or_class: table-jtoc | |
24 | strip_id_or_class: implied | |
25 | strip_id_or_class: social- | |
26 | strip_id_or_class: comments | |
27 | strip_id_or_class: footer | |
28 | ||
29 | # Tidy up galleries (could still be improved, though) | |
30 | strip: //img[@src=''] | |
31 | ||
32 | # Try yourself | |
33 | test_url: http://www.golem.de/news/intel-core-i7-5960x-im-test-die-pc-revolution-beginnt-mit-octacore-und-ddr4-1408-108893.html | |
34 | test_url: http://www.golem.de/news/test-infamous-first-light-neonbunter-actionspass-1408-108914.html |