class AtomParser extends FeedParser

ATOM Feed Parser class.

Methods

__construct( XMLReader $stream)

Constructor.

parse()

Method to parse the feed into a JFeed object.

JFeed
registerNamespace( string $prefix, NamespaceParserInterface $namespace)

Method to register a namespace handler object.

Details

__construct( XMLReader $stream)

Constructor.

Parameters

XMLReader $stream The XMLReader stream object for the feed.

Feed parse()

Method to parse the feed into a JFeed object.

Return Value

Feed

JFeed registerNamespace( string $prefix, NamespaceParserInterface $namespace)

Method to register a namespace handler object.

Parameters

string $prefix The XML namespace prefix for which to register the namespace object.
NamespaceParserInterface $namespace The namespace object to register.

Return Value

JFeed