summaryrefslogtreecommitdiffstats
path: root/utility/articleenhancer/themerepublicenhancer.php
diff options
context:
space:
mode:
Diffstat (limited to 'utility/articleenhancer/themerepublicenhancer.php')
-rw-r--r--utility/articleenhancer/themerepublicenhancer.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/utility/articleenhancer/themerepublicenhancer.php b/utility/articleenhancer/themerepublicenhancer.php
new file mode 100644
index 000000000..c13ff6027
--- /dev/null
+++ b/utility/articleenhancer/themerepublicenhancer.php
@@ -0,0 +1,21 @@
+<?php
+
+namespace OCA\News\Utility\ArticleEnhancer;
+
+use \OCA\News\Utility\SimplePieFileFactory;
+
+class ThemeRepublicEnhancer extends ArticleEnhancer {
+
+ public function __construct(SimplePieFileFactory $fileFactory, $purifier,
+ $timeout){
+ parent::__construct(
+ $purifier,
+ $fileFactory,
+ array(
+ '/feedproxy.google.com\/~r\/blogspot\/DngUJ/' => "//*[@class='post hentry']"
+ ),
+ $timeout
+ );
+ }
+}
+?> \ No newline at end of file