]>
Commit | Line | Data |
---|---|---|
4e067cea NL |
1 | # Creator: Greg Leuch <greg@...> |
2 | ||
3 | # It can be messy. | |
4 | tidy:no | |
5 | ||
6 | # The basic template. | |
7 | title: //h1[@data-print='title'] | |
8 | author: //a[@data-print='author'] | |
9 | date: //time[@data-print='date'] | |
10 | body: //div[@data-print='body'] | |
11 | body: //section[@data-print='body'] | |
12 | ||
90a1a78b NL |
13 | find_string: rel:bf_image_src= |
14 | replace_string: src= | |
15 | find_string: src="data: | |
16 | replace_string: disabled_src="data: | |
17 | ||
18 | native_ad_clue: //meta[@property="article:section" and @content="Advertiser"] | |
19 | ||
4e067cea | 20 | # For various things... |
ac4d1142 | 21 | strip: *[@data-print="ignore"] |
90a1a78b NL |
22 | test_url: http://www.buzzfeed.com/hgrant/35-reasons-why-dogs-hate-the-holidays |
23 | # Native ad | |
24 | test_url: http://www.buzzfeed.com/bravo/ways-to-up-your-online-dating-game |