You are here

feeds_crawler.module in Feeds Crawler 7

Feeds crawler.module

File

feeds_crawler.module
View 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

Namesort descending Description
feeds_crawler_ctools_plugin_api Implements hook_ctools_plugin_api().
feeds_crawler_feeds_plugins Implements hook_feeds_plugings().