diff options
| author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-12-31 18:13:20 +0100 |
|---|---|---|
| committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-12-31 18:13:20 +0100 |
| commit | cbba2d911da7b4dc444be4e9a8569dcc5690ba85 (patch) | |
| tree | 25ae329c4c2b43f7fef07a10d945f7084d9441a9 /habrahabr.ru.txt | |
| parent | 7e2e4967a3885cd0c45469ecf6c0547f8c3ab722 (diff) | |
| download | ftr-site-config-cbba2d911da7b4dc444be4e9a8569dcc5690ba85.tar.gz ftr-site-config-cbba2d911da7b4dc444be4e9a8569dcc5690ba85.zip | |
Backport site_config changes from wallabag v1
Fix https://github.com/wallabag/wallabag/issues/1414
Diffstat (limited to 'habrahabr.ru.txt')
| -rwxr-xr-x | habrahabr.ru.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/habrahabr.ru.txt b/habrahabr.ru.txt new file mode 100755 index 0000000..6753835 --- /dev/null +++ b/habrahabr.ru.txt @@ -0,0 +1,21 @@ +title: //span[@class="post_title"] +author: //div[@class="author"] +date: //div[@class="published + +body: //div[@class='content html_format'] | //div[@id='comments'] + +strip: //a[@class="link_to_comment"] +strip: //div[@class="show_tree"] +strip: //a[@class="to_parent"] + + +replace_string(class="reply_comments"): style="padding-left: 20px" +replace_string(class="voting "): style="float: right" +replace_string(src="//habrastorage.org/getpro/habr/avatars/): style="width:24px; height:24px;" class="123" src="//habrastorage.org/getpro/habr/avatars/ +replace_string(class="info "): style="padding-top:5px;font-size:0.85em;line-height:24px;" + + +prune: no +tidy: no + +test_url: http://habrahabr.ru/post/229883/
\ No newline at end of file |
