You are here

public function FeedsCrawler::configDefaults in Feeds Crawler 7

Same name and namespace in other branches
  1. 6.2 FeedsCrawler.inc \FeedsCrawler::configDefaults()

Overrides parent::configDefaults().

File

./FeedsCrawler.inc, line 298
Home of the FeedsCrawler.

Class

FeedsCrawler
Fetches data via HTTP.

Code

public function configDefaults() {
  $defaults = parent::configDefaults();
  $defaults['crawler'] = array(
    'num_pages' => 10,
    'first_run' => TRUE,
    'delay' => 1,
    'auto' => FALSE,
    'xpath' => '',
    'url' => array(
      'url_pattern' => '',
      'initial' => 0,
      'increment' => 1,
    ),
  );
  $defaults['crawled'] = FALSE;
  return $defaults;
}