summaryrefslogtreecommitdiff
path: root/habrahabr.ru.txt
diff options
context:
space:
mode:
authorFiveFilters.org <fivefilters@fivefilters.org>2016-02-22 13:07:32 +0100
committerFiveFilters.org <fivefilters@fivefilters.org>2016-02-22 13:07:32 +0100
commitea28f42936b4860c5147075fefe17f8cd49bdc5f (patch)
tree85475c010e69b789318fc6ab9f9a4f0d4ccf12be /habrahabr.ru.txt
parent1fc0ebe0763c7fb577b9fbe15c530ad6ec2c30e6 (diff)
parentd50ffaee66a180b0f9f0fe096cbe93a01b8b3e0d (diff)
downloadftr-site-config-ea28f42936b4860c5147075fefe17f8cd49bdc5f.tar.gz
ftr-site-config-ea28f42936b4860c5147075fefe17f8cd49bdc5f.zip
Merge pull request #121 from j0k3r/patch-2
Backport site_config changes from wallabag v1
Diffstat (limited to 'habrahabr.ru.txt')
-rwxr-xr-xhabrahabr.ru.txt21
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