Defines a Test parser implementation.
Parses RSS, Atom and RDF feeds.
@AggregatorParser(
id = "aggregator_test_parser",
title = @Translation("Test parser"),
description = @Translation("Dummy parser for testing purposes.")
)
Expanded class hierarchy of TestParser
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DefaultParser:: |
protected | property | The extracted channel info. | |
DefaultParser:: |
protected | property | The element that is being processed. | |
DefaultParser:: |
protected | property | The extracted image info. | |
DefaultParser:: |
protected | property | Key that holds the number of processed "entry" and "item" tags. | |
DefaultParser:: |
protected | property | The extracted items. | |
DefaultParser:: |
protected | property | The tag that is being processed. | |
DefaultParser:: |
function | XML parser callback: Perform an action when data is encountered. | ||
DefaultParser:: |
protected | function | XML parser callback: Perform an action when a closing tag is encountered. | |
DefaultParser:: |
protected | function | XML parser callback: Perform an action when an opening tag is encountered. | |
DefaultParser:: |
protected | function | Parses a feed and stores its items. | |
DefaultParser:: |
function | Parses the W3C date/time format, a subset of ISO 8601. | ||
TestParser:: |
public | function |
Implements \Drupal\aggregator\Plugin\ParserInterface::parse(). Overrides DefaultParser:: |