feeds_crawler.module in Feeds Crawler 7
Same filename and directory in other branches
Feeds crawler.module
File
feeds_crawler.moduleView source
<?php
/**
* @file
* Feeds crawler.module
*/
/**
* Implements hook_feeds_plugings().
*/
function feeds_crawler_feeds_plugins() {
$info = array();
$info['FeedsCrawler'] = array(
'name' => 'Crawling Fetcher',
'description' => 'Fetches multiple pages.',
'help' => 'Download content from a URL or many.',
'handler' => array(
'parent' => 'FeedsHTTPFetcher',
'class' => 'FeedsCrawler',
'file' => 'FeedsCrawler.inc',
'path' => drupal_get_path('module', 'feeds_crawler'),
),
);
return $info;
}
/**
* Implements hook_ctools_plugin_api().
*/
function feeds_crawler_ctools_plugin_api($owner, $api) {
if ($owner == 'feeds' && $api == 'plugins') {
return array(
'version' => 1,
);
}
}
Functions
Name | Description |
---|---|
feeds_crawler_ctools_plugin_api | Implements hook_ctools_plugin_api(). |
feeds_crawler_feeds_plugins | Implements hook_feeds_plugings(). |