feeds_xpathparser.module 706 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Implements hook_feeds_plugins().
  4. */
  5. function feeds_xpathparser_feeds_plugins() {
  6. return array(
  7. 'FeedsXPathParserHTML' => array(
  8. 'name' => t('XPath HTML parser'),
  9. 'description' => t('Parse HTML using XPath.'),
  10. 'handler' => array(
  11. 'parent' => 'FeedsParser',
  12. 'class' => 'FeedsXPathParserHTML',
  13. 'file' => 'FeedsXPathParserHTML.inc',
  14. ),
  15. ),
  16. 'FeedsXPathParserXML' => array(
  17. 'name' => t('XPath XML parser'),
  18. 'description' => t('Parse XML using XPath.'),
  19. 'handler' => array(
  20. 'parent' => 'FeedsParser',
  21. 'class' => 'FeedsXPathParserXML',
  22. 'file' => 'FeedsXPathParserXML.inc',
  23. ),
  24. ),
  25. );
  26. }