public function FeedsCrawler::configDefaults in Feeds Crawler 6.2
Same name and namespace in other branches
- 7 FeedsCrawler.inc \FeedsCrawler::configDefaults()
Override parent::configDefaults().
Overrides FeedsHTTPFetcher::configDefaults
File
- ./
FeedsCrawler.inc, line 264 - 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;
}