forked from blallo/rss-bridge
[FeedExpander] Fix typos
This commit is contained in:
parent
a333226733
commit
ffc9418620
1 changed files with 4 additions and 4 deletions
|
@ -25,15 +25,15 @@ abstract class FeedExpander extends BridgeAbstract {
|
|||
switch(true){
|
||||
case isset($rssContent->item[0]):
|
||||
$this->debugMessage('Detected RSS 1.0 format');
|
||||
$this->feedType="RSS_1_0";
|
||||
$this->feedType = "RSS_1_0";
|
||||
break;
|
||||
case isset($rssContent->channel[0]):
|
||||
$this->debugMessage('Detected RSS 0.9x or 2.0 format');
|
||||
$this->feedType="RSS_2_0";
|
||||
$this->feedType = "RSS_2_0";
|
||||
break;
|
||||
case isset($rssContent->entry[0]):
|
||||
$this->debugMessage('Detected ATOM format');
|
||||
$this->feedType="ATOM_1_0";
|
||||
$this->feedType = "ATOM_1_0";
|
||||
break;
|
||||
default:
|
||||
$this->debugMessage('Unknown feed format/version');
|
||||
|
@ -41,7 +41,7 @@ abstract class FeedExpander extends BridgeAbstract {
|
|||
break;
|
||||
}
|
||||
|
||||
$this->{'collect_'.$this->feedType.'_data'}($rssContent,$maxItems);
|
||||
$this->{'collect_' . $this->feedType . '_data'}($rssContent, $maxItems);
|
||||
}
|
||||
|
||||
protected function collect_RSS_1_0_data($rssContent, $maxItems){
|
||||
|
|
Loading…
Reference in a new issue