Add (news bites)

This commit is contained in:
2023-11-21 19:18:11 +08:00
parent 2e38a4120c
commit 3210563e42
37 changed files with 1581 additions and 153 deletions

71
config/feed-reader.php Normal file
View File

@@ -0,0 +1,71 @@
<?php
return [
/**
* An array of the configuration profiles that the developer may want.
*
* @var array
*/
'profiles' => [
/**
* The default configuration information
*
* @var array
*/
'default' => [
/**
* All the cache settings
*
* @var array
*/
'cache' => [
/**
* How long the cache is maintained in seconds
*
* @var int
*/
'duration' => 3600,
/**
* Whether caching is enabled.
*
* @var bool
*/
'enabled' => true,
/**
* The laravel cache driver used for caching
*
* @var string
*/
'driver' => env('CACHE_DRIVER', 'file'),
],
/**
* Whether to force the data feed to be treated as an
* RSS feed.
*
* @var bool
*/
'force-feed' => false,
/**
* Whether the RSS feed should have its output ordered by date.
*
* @var bool
*/
'order-by-date' => false,
/**
* Whether it should verify SSL, set false to make it work with self-signed certificates
*
* @var bool
*/
'ssl-verify' => true,
],
],
];