56 lines
No EOL
1.9 KiB
PHP
56 lines
No EOL
1.9 KiB
PHP
<?php
|
|
|
|
return [
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Feed Providers
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| This array contains the configuration for available feed providers.
|
|
| Each provider should have a unique code, display name, description,
|
|
| type (website or rss), and active status.
|
|
|
|
|
*/
|
|
|
|
'providers' => [
|
|
'vrt' => [
|
|
'code' => 'vrt',
|
|
'name' => 'VRT News',
|
|
'description' => 'Belgian public broadcaster news',
|
|
'type' => 'website',
|
|
'is_active' => true,
|
|
'parsers' => [
|
|
'homepage' => \Domains\Article\Parsers\Vrt\VrtHomepageParserAdapter::class,
|
|
'article' => \Domains\Article\Parsers\Vrt\VrtArticleParser::class,
|
|
'article_page' => \Domains\Article\Parsers\Vrt\VrtArticlePageParser::class,
|
|
],
|
|
],
|
|
'belga' => [
|
|
'code' => 'belga',
|
|
'name' => 'Belga News Agency',
|
|
'description' => 'Belgian national news agency',
|
|
'type' => 'rss',
|
|
'is_active' => true,
|
|
'parsers' => [
|
|
'homepage' => \Domains\Article\Parsers\Belga\BelgaHomepageParserAdapter::class,
|
|
'article' => \Domains\Article\Parsers\Belga\BelgaArticleParser::class,
|
|
'article_page' => \Domains\Article\Parsers\Belga\BelgaArticlePageParser::class,
|
|
],
|
|
],
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Default Feed Settings
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Default configuration values for feed processing
|
|
|
|
|
*/
|
|
|
|
'defaults' => [
|
|
'fetch_interval' => 3600, // 1 hour in seconds
|
|
'max_articles_per_fetch' => 50,
|
|
'article_retention_days' => 30,
|
|
],
|
|
]; |