aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2014-07-23 13:38:21 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2014-07-23 13:38:21 +0200
commit83cac9ac05232a304b5ac9c0226d0271673b722c (patch)
tree05d239e7e0e8bc62cd5a329f18d26a0a5d6aa7f7 /inc/3rdparty/site_config
parentebd6bf6007e0fad4c3e11dac0e79f687e1d195a2 (diff)
parent0ce85e0a7fa873c69f1ec159bc188c6a58a2ad21 (diff)
downloadwallabag-83cac9ac05232a304b5ac9c0226d0271673b722c.tar.gz
wallabag-83cac9ac05232a304b5ac9c0226d0271673b722c.tar.zst
wallabag-83cac9ac05232a304b5ac9c0226d0271673b722c.zip
Merge pull request #789 from wallabag/feature/someMoreSitesConfig
config for habrahabr.ru to grab articles with comments
Diffstat (limited to 'inc/3rdparty/site_config')
-rwxr-xr-xinc/3rdparty/site_config/standard/habrahabr.ru.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/inc/3rdparty/site_config/standard/habrahabr.ru.txt b/inc/3rdparty/site_config/standard/habrahabr.ru.txt
new file mode 100755
index 00000000..67538359
--- /dev/null
+++ b/inc/3rdparty/site_config/standard/habrahabr.ru.txt
@@ -0,0 +1,21 @@
1title: //span[@class="post_title"]
2author: //div[@class="author"]
3date: //div[@class="published
4
5body: //div[@class='content html_format'] | //div[@id='comments']
6
7strip: //a[@class="link_to_comment"]
8strip: //div[@class="show_tree"]
9strip: //a[@class="to_parent"]
10
11
12replace_string(class="reply_comments"): style="padding-left: 20px"
13replace_string(class="voting "): style="float: right"
14replace_string(src="//habrastorage.org/getpro/habr/avatars/): style="width:24px; height:24px;" class="123" src="//habrastorage.org/getpro/habr/avatars/
15replace_string(class="info "): style="padding-top:5px;font-size:0.85em;line-height:24px;"
16
17
18prune: no
19tidy: no
20
21test_url: http://habrahabr.ru/post/229883/ \ No newline at end of file