You are here

function feeds_youtube_feeds_plugins in Feeds: YouTube Parser 6

Same name and namespace in other branches
  1. 7.3 feeds_youtube.module \feeds_youtube_feeds_plugins()
  2. 7.2 feeds_youtube.module \feeds_youtube_feeds_plugins()

Implementation of hook_feeds_plugins().

File

./feeds_youtube.module, line 11
Adds a Youtube feed processor to the Feeds module.

Code

function feeds_youtube_feeds_plugins() {
  $info = array();
  $info['FeedsYoutubeParser'] = array(
    'name' => 'Youtube parser',
    'description' => 'Parse Youtube feeds.',
    'help' => 'Use PHP SimpleXML parser to parse Youtube feeds.',
    'handler' => array(
      'parent' => 'FeedsParser',
      'class' => 'FeedsYoutubeParser',
      'file' => 'FeedsYoutubeParser.inc',
      'path' => drupal_get_path('module', 'feeds_youtube'),
    ),
  );
  return $info;
}