aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/blog.sina.com.cn.txt
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2014-07-13 10:15:40 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2014-07-13 10:15:40 +0200
commit4e067ceabd705201a16b4c92cf4b23f3b990326c (patch)
tree939f3a8e5ff3ab9ee414a57a895d3e78e1d46ce3 /inc/3rdparty/site_config/standard/blog.sina.com.cn.txt
parent58dbe103889148def78b0fc8744d3f94c56a1561 (diff)
downloadwallabag-4e067ceabd705201a16b4c92cf4b23f3b990326c.tar.gz
wallabag-4e067ceabd705201a16b4c92cf4b23f3b990326c.tar.zst
wallabag-4e067ceabd705201a16b4c92cf4b23f3b990326c.zip
updated specific configuration for parsing
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.txt50
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
9title://*[contains(@class,'titName SG_txta')] 9title://*[contains(@class,'titName SG_txta')]
10author://*[contains(@id,'ownernick')] 10author://*[contains(@id,'ownernick')]
11date://*[contains(@class,'time SG_txtc')] 11date://*[contains(@class,'time SG_txtc')]
12body://div[contains(@class,'articalContent')] 12body://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>
16strip://span[contains(@class,'MASS')] 16strip://span[contains(@class,'MASS')]
17 17
18# Remove comment 18# Remove comment
19strip://div[contains(@class,'allComm')] 19strip://div[contains(@class,'allComm')]
20 20
21# Remove hiden text and link 21# Remove hiden text and link
22strip://ins 22strip://ins
23 23
24tidy:no 24tidy:no
25convert_double_br_tags:yes 25convert_double_br_tags:yes
26test_url: http://blog.sina.com.cn/s/blog_5054769e0102dtja.html \ No newline at end of file 26test_url: http://blog.sina.com.cn/s/blog_5054769e0102dtja.html \ No newline at end of file