mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-26 19:36:52 +03:00
[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