]>
Commit | Line | Data |
---|---|---|
ac4d1142 NL |
1 | title: //meta[@name='headline']/@content\r |
2 | date: //meta[@name='date']/@content\r | |
3 | author: //meta[@name='author']/@content\r | |
4 | body: //div[contains(@class, 'article')]\r | |
5 | body://div[@id="article_body"]\r | |
6 | \r | |
7 | strip_id_or_class: banner\r | |
8 | strip: //noscript\r | |
9 | strip: //div[@style='width:1px;height:130px;float:right;']\r | |
10 | strip: //div[@class='storyby']\r | |
11 | strip_image_src: twitter_icon\r | |
12 | strip_image_src: rss_bug\r | |
13 | \r | |
14 | tidy: no\r | |
15 | prune: no\r | |
16 | \r | |
17 | next_page_link://div[@id="next_page"]/a\r | |
18 | \r | |
19 | single_page_link: concat('http://www.computerworld.com/s/article/print/', substring-after(//link[@rel='canonical']/@href, '/s/article/'))\r | |
20 | \r | |
21 | test_url: http://www.computerworld.com/s/article/9224348/Apple_s_new_OS_X_tightens_screws_on_some_malware\r | |
22 | test_url: http://www.computerworld.com/s/article/9227679/Windows_8_Release_Preview_Updated_but_still_uneasy |