Merge pull request #433 from hybner/master

fix parse atom feed
This commit is contained in:
Andrew Dolgov 2015-02-02 13:11:26 +03:00
commit af973646d6
1 changed files with 1 additions and 0 deletions

View File

@ -115,6 +115,7 @@ class FeedParser {
$this->type = $this::FEED_RSS; $this->type = $this::FEED_RSS;
break; break;
case "feed": case "feed":
case "atom:feed":
$this->type = $this::FEED_ATOM; $this->type = $this::FEED_ATOM;
break; break;
default: default: