You are here

function feeds_xpathparser_feeds_plugins in Feeds XPath Parser 7

Same name and namespace in other branches
  1. 6 feeds_xpathparser.module \feeds_xpathparser_feeds_plugins()

Implements hook_feeds_plugins().

File

./feeds_xpathparser.module, line 11
Parse an XML or HTML document using XPath.

Code

function feeds_xpathparser_feeds_plugins() {
  return array(
    'FeedsXPathParserBase' => array(
      'hidden' => TRUE,
      'handler' => array(
        'parent' => 'FeedsParser',
        'class' => 'FeedsXPathParserBase',
        'file' => 'FeedsXPathParserBase.inc',
      ),
    ),
    'FeedsXPathParserHTML' => array(
      'name' => t('XPath HTML parser'),
      'description' => t('Parse HTML using XPath.'),
      'handler' => array(
        'parent' => 'FeedsXPathParserBase',
        'class' => 'FeedsXPathParserHTML',
        'file' => 'FeedsXPathParserHTML.inc',
      ),
    ),
    'FeedsXPathParserXML' => array(
      'name' => t('XPath XML parser'),
      'description' => t('Parse XML using XPath.'),
      'handler' => array(
        'parent' => 'FeedsXPathParserBase',
        'class' => 'FeedsXPathParserXML',
        'file' => 'FeedsXPathParserXML.inc',
      ),
    ),
  );
}