diff options
Diffstat (limited to 'vendor/miniflux/picofeed/lib/PicoFeed/Rules/ymatuhin.ru.php')
-rw-r--r-- | vendor/miniflux/picofeed/lib/PicoFeed/Rules/ymatuhin.ru.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/miniflux/picofeed/lib/PicoFeed/Rules/ymatuhin.ru.php b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/ymatuhin.ru.php new file mode 100644 index 00000000..9fd83f18 --- /dev/null +++ b/vendor/miniflux/picofeed/lib/PicoFeed/Rules/ymatuhin.ru.php @@ -0,0 +1,21 @@ +<?php +return array( + 'grabber' => array( + '%.*%' => array( + 'test_url' => 'https://ymatuhin.ru/tools/git-default-editor/', + 'body' => array( + '//section', + ), + 'strip' => array( + "//script", + "//style", + "//h1", + "//time", + "//aside", + "/html/body/section/ul", + "//amp-iframe", + "/html/body/section/h4" + ), + ) + ) +); |