You are here

feeds_httpfetcher_append_headers.module in Feeds HTTPFetcher Append Headers 7

Feeds HTTPFetcher Append Headers - basic API functions and hook implementations.

File

feeds_httpfetcher_append_headers.module
View source
<?php

/**
 * @file
 * Feeds HTTPFetcher Append Headers - basic API functions and hook implementations.
 */

/**
 * Implements hook_feeds_plugins().
 */
function feeds_httpfetcher_append_headers_feeds_plugins() {
  $path = drupal_get_path('module', 'feeds_httpfetcher_append_headers') . '/plugins';
  $info = array();
  $info['FeedsHTTPFetcherAppendHeaders'] = array(
    'name' => t('Append Headers HTTP Fetcher'),
    'description' => t('HTTPFetcher with support for appending request headers.'),
    'handler' => array(
      'parent' => 'FeedsHTTPFetcher',
      'class' => 'FeedsHTTPFetcherAppendHeaders',
      'file' => 'FeedsHTTPFetcherAppendHeaders.inc',
      'path' => $path,
    ),
  );
  return $info;
}