summaryrefslogtreecommitdiff
path: root/theverge.com.txt
blob: 3960fb9f7bd2f8eca039f981b9c10d7ce9bf0881 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
title: //h1[contains(@class, "headline")]

author: //p[contains(@class, "byline")]/a[contains(@class, "author")]

date: substring-after(normalize-space(//p[contains(@class, "byline")]/span[contains(@class, "publish-date")]), "on ")

body: //article[contains(@class, 'feature-entry')]
body: //article
prune: no
tidy: no

strip: //article/header
strip: //*[@id='sticky-menu']
strip: //aside
strip: //nav

strip_id_or_class: gallery
strip_id_or_class: article-meta
strip_id_or_class: story-navigation
strip_id_or_class: slegend
strip_id_or_class: related-product-meta
strip_id_or_class: comments
strip_id_or_class: ui-jump-list
strip_id_or_class: pullquote

find_string: <script 
replace_string: <div style="display:none" 
find_string: </script>
replace_string: </div>

strip: //q

strip: //a[contains(@class, 'entry-section-title')]

test_url: http://www.theverge.com/2012/2/29/2821763/lytro-review
test_url: http://www.theverge.com/2011/11/3/2534861/nokia-lumia-800-review
test_url: http://www.theverge.com/2013/2/24/4026114/barnes-noble-shifting-focus-away-from-nook-hardware