summaryrefslogtreecommitdiffstats
path: root/utility/articleenhancer/themerepublicenhancer.php
blob: c13ff6027531b2593477ce6dbb7f160dd92f81e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
		);
	}
}
?>