You are here

feeds_youtube.module in Feeds: YouTube Parser 6

Adds a Youtube feed processor to the Feeds module.

File

feeds_youtube.module
View source
<?php

/**
 * @file
 * Adds a Youtube feed processor to the Feeds module.
 */

/**
 * Implementation of hook_feeds_plugins().
 */
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;
}

Functions

Namesort descending Description
feeds_youtube_feeds_plugins Implementation of hook_feeds_plugins().