mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-12 03:06:43 +02:00
feat: add WebSub module for pushing feed updates to open hubs
This commit is contained in:
parent
1253096197
commit
10d3f73786
17 changed files with 244 additions and 3 deletions
23
modules/WebSub/Config/WebSub.php
Normal file
23
modules/WebSub/Config/WebSub.php
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Modules\WebSub\Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
|
||||
class WebSub extends BaseConfig
|
||||
{
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Hubs to ping
|
||||
* --------------------------------------------------------------------------
|
||||
* @var string[]
|
||||
*/
|
||||
public array $hubs = [
|
||||
'https://pubsubhubbub.appspot.com/',
|
||||
'https://pubsubhubbub.superfeedr.com/',
|
||||
'https://websubhub.com/hub',
|
||||
'https://switchboard.p3k.io/',
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue