summaryrefslogtreecommitdiff
path: root/vendor/miniflux/picofeed/lib/PicoFeed/Rules/habrahabr.ru.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/miniflux/picofeed/lib/PicoFeed/Rules/habrahabr.ru.php')
-rw-r--r--vendor/miniflux/picofeed/lib/PicoFeed/Rules/habrahabr.ru.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/miniflux/picofeed/lib/PicoFeed/Rules/habrahabr.ru.php b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/habrahabr.ru.php
new file mode 100644
index 00000000..3f1ec165
--- /dev/null
+++ b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/habrahabr.ru.php
@@ -0,0 +1,12 @@
+<?php
+return array(
+ 'grabber' => array(
+ '%.*%' => array(
+ 'test_url' => 'https://habrahabr.ru/company/pentestit/blog/328606/',
+ 'body' => array(
+ "//div[contains(concat(' ',normalize-space(@class),' '),' content ')]"
+ ),
+ 'strip' => array(),
+ ),
+ ),
+);