diff options
Diffstat (limited to 'inc/3rdparty/site_config/standard/arstechnica.com.txt')
-rw-r--r-- | inc/3rdparty/site_config/standard/arstechnica.com.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/inc/3rdparty/site_config/standard/arstechnica.com.txt b/inc/3rdparty/site_config/standard/arstechnica.com.txt new file mode 100644 index 00000000..49bb3dbc --- /dev/null +++ b/inc/3rdparty/site_config/standard/arstechnica.com.txt | |||
@@ -0,0 +1,16 @@ | |||
1 | author: //p[@class='byline']/a | ||
2 | body: //div[contains(@class,'article-content')] | ||
3 | strip: //h2[@class='title'] | ||
4 | strip_id_or_class: byline | ||
5 | prune: no | ||
6 | |||
7 | date: //div[@class='byline']/span[@class='posted']//abbr/@original-title | ||
8 | date: //div[@class='byline']/span[@class='posted']//abbr | ||
9 | |||
10 | title: //div[@id='story']//h2[@class='title'] | ||
11 | |||
12 | strip: //div[@class='pager'] | ||
13 | next_page_link: //nav//a[span/@class='next']/@href | ||
14 | |||
15 | test_url: http://arstechnica.com/tech-policy/news/2012/02/gigabit-internet-for-80-the-unlikely-success-of-californias-sonicnet.ars | ||
16 | test_url: http://arstechnica.com/apple/2005/04/macosx-10-4/ \ No newline at end of file | ||