aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/theverge.com.txt
blob: 11c5c153870690b5dc05e7f6a5cfb86a139d7395 (plain) (blame)
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
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

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