diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-08-01 21:05:13 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-08-01 21:05:13 +0200 |
commit | 348085be78c0dece63d7de048fe6b1a7340dba80 (patch) | |
tree | cb0de3a5aa7ec807905e22de78e9b39310f4a72d | |
parent | 9e5b2e6e0df2951722ebbc3ca45b06651669f7f9 (diff) | |
download | wallabag-348085be78c0dece63d7de048fe6b1a7340dba80.tar.gz wallabag-348085be78c0dece63d7de048fe6b1a7340dba80.tar.zst wallabag-348085be78c0dece63d7de048fe6b1a7340dba80.zip |
fix #1090: add config for computerworld.com
-rwxr-xr-x | inc/3rdparty/site_config/standard/computerworld.com.txt | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/inc/3rdparty/site_config/standard/computerworld.com.txt b/inc/3rdparty/site_config/standard/computerworld.com.txt index 7f20a4da..1f55e2cb 100755 --- a/inc/3rdparty/site_config/standard/computerworld.com.txt +++ b/inc/3rdparty/site_config/standard/computerworld.com.txt | |||
@@ -1,8 +1,5 @@ | |||
1 | title: //meta[@name='headline']/@content | 1 | title: //meta[@name='headline']/@content |
2 | date: //meta[@name='date']/@content | 2 | body://div[@id="drr-container"] |
3 | author: //meta[@name='author']/@content | ||
4 | body: //div[contains(@class, 'article')] | ||
5 | body://div[@id="article_body"] | ||
6 | 3 | ||
7 | strip_id_or_class: banner | 4 | strip_id_or_class: banner |
8 | strip: //noscript | 5 | strip: //noscript |
@@ -19,4 +16,4 @@ next_page_link://div[@id="next_page"]/a | |||
19 | single_page_link: concat('http://www.computerworld.com/s/article/print/', substring-after(//link[@rel='canonical']/@href, '/s/article/')) | 16 | single_page_link: concat('http://www.computerworld.com/s/article/print/', substring-after(//link[@rel='canonical']/@href, '/s/article/')) |
20 | 17 | ||
21 | test_url: http://www.computerworld.com/s/article/9224348/Apple_s_new_OS_X_tightens_screws_on_some_malware | 18 | test_url: http://www.computerworld.com/s/article/9224348/Apple_s_new_OS_X_tightens_screws_on_some_malware |
22 | test_url: http://www.computerworld.com/s/article/9227679/Windows_8_Release_Preview_Updated_but_still_uneasy \ No newline at end of file | 19 | test_url: http://www.computerworld.com/s/article/9227679/Windows_8_Release_Preview_Updated_but_still_uneasy |