2025-08-10 21:47:10 +02:00
|
|
|
<?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,
|
2026-03-07 10:43:48 +01:00
|
|
|
'languages' => [
|
|
|
|
|
'en' => ['url' => 'https://www.vrt.be/vrtnws/en/'],
|
|
|
|
|
'nl' => ['url' => 'https://www.vrt.be/vrtnws/nl/'],
|
|
|
|
|
],
|
2025-08-10 21:47:10 +02:00
|
|
|
'parsers' => [
|
|
|
|
|
'homepage' => \App\Services\Parsers\VrtHomepageParserAdapter::class,
|
|
|
|
|
'article' => \App\Services\Parsers\VrtArticleParser::class,
|
|
|
|
|
'article_page' => \App\Services\Parsers\VrtArticlePageParser::class,
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
'belga' => [
|
|
|
|
|
'code' => 'belga',
|
2026-03-07 10:43:48 +01:00
|
|
|
'name' => 'Belga News Agency',
|
2025-08-10 21:47:10 +02:00
|
|
|
'description' => 'Belgian national news agency',
|
2026-03-08 11:02:46 +01:00
|
|
|
'type' => 'website',
|
2025-08-10 21:47:10 +02:00
|
|
|
'is_active' => true,
|
2026-03-07 10:43:48 +01:00
|
|
|
'languages' => [
|
|
|
|
|
'en' => ['url' => 'https://www.belganewsagency.eu/'],
|
|
|
|
|
],
|
2025-08-10 21:47:10 +02:00
|
|
|
'parsers' => [
|
|
|
|
|
'homepage' => \App\Services\Parsers\BelgaHomepageParserAdapter::class,
|
|
|
|
|
'article' => \App\Services\Parsers\BelgaArticleParser::class,
|
|
|
|
|
'article_page' => \App\Services\Parsers\BelgaArticlePageParser::class,
|
|
|
|
|
],
|
|
|
|
|
],
|
2026-03-08 11:02:46 +01:00
|
|
|
'guardian' => [
|
|
|
|
|
'code' => 'guardian',
|
|
|
|
|
'name' => 'The Guardian',
|
|
|
|
|
'description' => 'British daily newspaper',
|
|
|
|
|
'type' => 'rss',
|
|
|
|
|
'is_active' => true,
|
|
|
|
|
'languages' => [
|
|
|
|
|
'en' => ['url' => 'https://www.theguardian.com/international/rss'],
|
|
|
|
|
],
|
|
|
|
|
'parsers' => [
|
|
|
|
|
'article' => \App\Services\Parsers\GuardianArticleParser::class,
|
|
|
|
|
'article_page' => \App\Services\Parsers\GuardianArticlePageParser::class,
|
|
|
|
|
],
|
|
|
|
|
],
|
2025-08-10 21:47:10 +02:00
|
|
|
],
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| 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,
|
|
|
|
|
],
|
2026-03-08 14:17:55 +01:00
|
|
|
];
|