blob: 9898309b6f4b792ef31e20a53dae98535140e0f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# All sites of the IDG network can be extracted using the same rules,
# make sure to update all of them
author: //meta[@name="author"]/@content
date: //meta[@name="DC.date.issued"]/@content
body: //div[@itemprop="articleBody"]
body: //div[@itemprop="reviewBody"]
body: //figcaption|//div[@class="img-wrapper"]/noscript/img
next_page_link: //a[@rel="next"]
strip: //aside
strip: //h3[contains(., "See also:")]
strip: //div[@id="article-top-page-number"]
strip: //p[starts-with(normalize-space(.), '[')]
strip: //p[starts-with(normalize-space(.), '+')]
|