diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-07-23 13:45:07 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-07-23 13:45:07 +0200 |
commit | 6da20812ce04e3e45c21c6da640d6ccde91e8c38 (patch) | |
tree | 2283a6265949b1507269ab176f4bf6b540a7c5a6 /inc/3rdparty/site_config/standard | |
parent | 887b015def3098f1e898e7bf3338fa2d093b6d95 (diff) | |
parent | 83cac9ac05232a304b5ac9c0226d0271673b722c (diff) | |
download | wallabag-6da20812ce04e3e45c21c6da640d6ccde91e8c38.tar.gz wallabag-6da20812ce04e3e45c21c6da640d6ccde91e8c38.tar.zst wallabag-6da20812ce04e3e45c21c6da640d6ccde91e8c38.zip |
Merge branch 'dev' of github.com:wallabag/wallabag into dev
Diffstat (limited to 'inc/3rdparty/site_config/standard')
-rwxr-xr-x | inc/3rdparty/site_config/standard/habrahabr.ru.txt | 21 |
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 @@ | |||
1 | title: //span[@class="post_title"] | ||
2 | author: //div[@class="author"] | ||
3 | date: //div[@class="published | ||
4 | |||
5 | body: //div[@class='content html_format'] | //div[@id='comments'] | ||
6 | |||
7 | strip: //a[@class="link_to_comment"] | ||
8 | strip: //div[@class="show_tree"] | ||
9 | strip: //a[@class="to_parent"] | ||
10 | |||
11 | |||
12 | replace_string(class="reply_comments"): style="padding-left: 20px" | ||
13 | replace_string(class="voting "): style="float: right" | ||
14 | replace_string(src="//habrastorage.org/getpro/habr/avatars/): style="width:24px; height:24px;" class="123" src="//habrastorage.org/getpro/habr/avatars/ | ||
15 | replace_string(class="info "): style="padding-top:5px;font-size:0.85em;line-height:24px;" | ||
16 | |||
17 | |||
18 | prune: no | ||
19 | tidy: no | ||
20 | |||
21 | test_url: http://habrahabr.ru/post/229883/ \ No newline at end of file | ||