1
0
Fork 0
forked from blallo/rss-bridge

[FeedExpander] Remove orphan getDescription function

This commit is contained in:
logmanoriginal 2016-10-16 12:47:34 +02:00
parent ffb584f7de
commit 49281a2ed3

View file

@ -4,7 +4,6 @@ abstract class FeedExpander extends BridgeAbstract {
private $name; private $name;
private $uri; private $uri;
private $description;
private $feedType; private $feedType;
public function collectExpandableDatas($url, $maxItems = -1){ public function collectExpandableDatas($url, $maxItems = -1){
@ -85,7 +84,6 @@ abstract class FeedExpander extends BridgeAbstract {
protected function load_RSS_2_0_feed_data($rssContent){ protected function load_RSS_2_0_feed_data($rssContent){
$this->name = trim($rssContent->title); $this->name = trim($rssContent->title);
$this->uri = trim($rssContent->link); $this->uri = trim($rssContent->link);
$this->description = trim($rssContent->description);
} }
protected function load_ATOM_feed_data($content){ protected function load_ATOM_feed_data($content){
@ -105,9 +103,6 @@ abstract class FeedExpander extends BridgeAbstract {
} }
} }
} }
if(isset($content->subtitle))
$this->description = $content->subtitle;
} }
protected function parseATOMItem($feedItem){ protected function parseATOMItem($feedItem){
@ -201,8 +196,4 @@ abstract class FeedExpander extends BridgeAbstract {
public function getName(){ public function getName(){
return $this->name; return $this->name;
} }
public function getDescription(){
return $this->description;
}
} }