function parser_ical_feeds_plugins in iCal feed parser 7.2
Same name and namespace in other branches
- 6.2 parser_ical.module \parser_ical_feeds_plugins()
- 7 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') . '/includes';
$info = array();
$info['ParserIcalFeeds'] = array(
'hidden' => TRUE,
'handler' => array(
'parent' => 'FeedsParser',
'class' => 'ParserIcalFeeds',
'file' => 'ParserIcal.inc',
'path' => $path,
),
);
$info['ParserIcalCreator'] = array(
'name' => 'iCalCreator parser',
'description' => 'Use iCalCreator to parse iCal feeds.',
'help' => 'Parse feeds in the iCal format using the iIcalCreator library.',
'handler' => array(
'parent' => 'ParserIcalFeeds',
'class' => 'ParserIcalCreator',
'file' => 'ParserIcalCreator.inc',
'path' => $path,
),
);
$info['ParserIcalDateModule'] = array(
'name' => 'Date API iCal parser',
'description' => 'Use date module api to parse iCal feeds.',
'help' => 'Parse feeds in the iCal format using api provided by the date module.',
'handler' => array(
'parent' => 'ParserIcalFeeds',
'class' => 'ParserIcalDateModule',
'file' => 'ParserIcalDate.inc',
'path' => $path,
),
);
return $info;
}