diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-07-23 13:44:48 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-07-23 13:44:48 +0200 |
commit | 887b015def3098f1e898e7bf3338fa2d093b6d95 (patch) | |
tree | 41206132200aa9390e11d600ad2b84ffa23242e4 /inc/3rdparty/site_config/standard/blog.sina.com.cn.txt | |
parent | ebd6bf6007e0fad4c3e11dac0e79f687e1d195a2 (diff) | |
parent | 505a74ad1de7cf2cd3605e793233365501f03d87 (diff) | |
download | wallabag-887b015def3098f1e898e7bf3338fa2d093b6d95.tar.gz wallabag-887b015def3098f1e898e7bf3338fa2d093b6d95.tar.zst wallabag-887b015def3098f1e898e7bf3338fa2d093b6d95.zip |
Merge branch 'refactor' into dev
Diffstat (limited to 'inc/3rdparty/site_config/standard/blog.sina.com.cn.txt')
-rwxr-xr-x[-rw-r--r--] | inc/3rdparty/site_config/standard/blog.sina.com.cn.txt | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/inc/3rdparty/site_config/standard/blog.sina.com.cn.txt b/inc/3rdparty/site_config/standard/blog.sina.com.cn.txt index acb9ce81..4895272a 100644..100755 --- a/inc/3rdparty/site_config/standard/blog.sina.com.cn.txt +++ b/inc/3rdparty/site_config/standard/blog.sina.com.cn.txt | |||
@@ -1,26 +1,26 @@ | |||
1 | # Sina blog, the most popular blog host in China. | 1 | # Sina blog, the most popular blog host in China. |
2 | # Its source code is horrible. | 2 | # Its source code is horrible. |
3 | # | 3 | # |
4 | # Issue: | 4 | # Issue: |
5 | # Only the first image in the article is displayed. | 5 | # Only the first image in the article is displayed. |
6 | # The rest images are replace by a 1x1 transparent gif by sina blog host. | 6 | # The rest images are replace by a 1x1 transparent gif by sina blog host. |
7 | # | 7 | # |
8 | 8 | ||
9 | title://*[contains(@class,'titName SG_txta')] | 9 | title://*[contains(@class,'titName SG_txta')] |
10 | author://*[contains(@id,'ownernick')] | 10 | author://*[contains(@id,'ownernick')] |
11 | date://*[contains(@class,'time SG_txtc')] | 11 | date://*[contains(@class,'time SG_txtc')] |
12 | body://div[contains(@class,'articalContent')] | 12 | body://div[contains(@class,'articalContent')] |
13 | 13 | ||
14 | # Remove redundant content which has span class start with "MASS" | 14 | # Remove redundant content which has span class start with "MASS" |
15 | # Example <span class="MASSf21674ffeef7"></span> | 15 | # Example <span class="MASSf21674ffeef7"></span> |
16 | strip://span[contains(@class,'MASS')] | 16 | strip://span[contains(@class,'MASS')] |
17 | 17 | ||
18 | # Remove comment | 18 | # Remove comment |
19 | strip://div[contains(@class,'allComm')] | 19 | strip://div[contains(@class,'allComm')] |
20 | 20 | ||
21 | # Remove hiden text and link | 21 | # Remove hiden text and link |
22 | strip://ins | 22 | strip://ins |
23 | 23 | ||
24 | tidy:no | 24 | tidy:no |
25 | convert_double_br_tags:yes | 25 | convert_double_br_tags:yes |
26 | test_url: http://blog.sina.com.cn/s/blog_5054769e0102dtja.html \ No newline at end of file | 26 | test_url: http://blog.sina.com.cn/s/blog_5054769e0102dtja.html \ No newline at end of file |