protected function FeedsYoutubeParser::isAtomFeed in Feeds: YouTube Parser 7.2
Same name and namespace in other branches
- 6 FeedsYoutubeParser.inc \FeedsYoutubeParser::isAtomFeed()
Check if given feed object is an Atom feed.
Parameters
SimpleXMLElement $sxml:
Return value
boolean TRUE if given SimpleXML object is Atom feed or FALSE
1 call to FeedsYoutubeParser::isAtomFeed()
- FeedsYoutubeParser::parse in ./
FeedsYoutubeParser.inc - Parse the extra mapping sources provided by this parser.
File
- ./
FeedsYoutubeParser.inc, line 64 - Feeds parser class for YouTube.
Class
- FeedsYoutubeParser
- Class definition for YouTube Parser.
Code
protected function isAtomFeed(SimpleXMLElement $sxml) {
return $sxml
->getName() == 'feed';
}