You are here

function parser_ical_feeds_plugins in iCal feed parser 7

Same name and namespace in other branches
  1. 6.2 parser_ical.module \parser_ical_feeds_plugins()
  2. 7.2 parser_ical.module \parser_ical_feeds_plugins()

Implementation of ctools plugin for feeds hook_feeds_plugins().

File

./parser_ical.module, line 22
Parse the incoming URL with date_api_ical

Code

function parser_ical_feeds_plugins() {
  $path = drupal_get_path('module', 'parser_ical');
  $info = array();
  $info['ParserIcalFeedsParser'] = array(
    'name' => 'iCal dateapi parser',
    'description' => 'Parse iCal feeds.',
    'help' => 'Parse feeds in the iCal format using the dateapi.',
    'handler' => array(
      'parent' => 'FeedsParser',
      'class' => 'ParserIcalFeedsParser',
      'file' => 'ParserIcalFeedsParser.inc',
      'path' => $path . '/includes',
    ),
  );
  return $info;
}