mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-25 19:06:23 +03:00
Merge branch 'FeedExpander' of https://github.com/logmanoriginal/rss-bridge
This commit is contained in:
commit
6c4d28c849
1 changed files with 0 additions and 9 deletions
|
@ -4,7 +4,6 @@ abstract class FeedExpander extends BridgeAbstract {
|
|||
|
||||
private $name;
|
||||
private $uri;
|
||||
private $description;
|
||||
private $feedType;
|
||||
|
||||
public function collectExpandableDatas($url, $maxItems = -1){
|
||||
|
@ -85,7 +84,6 @@ abstract class FeedExpander extends BridgeAbstract {
|
|||
protected function load_RSS_2_0_feed_data($rssContent){
|
||||
$this->name = trim($rssContent->title);
|
||||
$this->uri = trim($rssContent->link);
|
||||
$this->description = trim($rssContent->description);
|
||||
}
|
||||
|
||||
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){
|
||||
|
@ -201,8 +196,4 @@ abstract class FeedExpander extends BridgeAbstract {
|
|||
public function getName(){
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
public function getDescription(){
|
||||
return $this->description;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue