mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-16 13:07:46 +02:00
feat(rss): add podcast-namespace tags for platforms + previousUrl tag
- add podcast:id tag - add podcast:funding tag - add podcast:social tag - add podcast:previousUrl tag - add missing platforms with icons - update platforms table to include social and funding platforms - rename platform_links table to podcasts_platforms - move podcast import methods from podcast controller - update import functionality to insert platforms from rss closes #73, #75, #76, #80
This commit is contained in:
parent
7ee579d054
commit
dbba8dc581
70 changed files with 1108 additions and 452 deletions
24
app/Controllers/Platform.php
Normal file
24
app/Controllers/Platform.php
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @copyright 2020 Podlibre
|
||||
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
||||
* @link https://castopod.org/
|
||||
*/
|
||||
|
||||
namespace App\Controllers;
|
||||
|
||||
use CodeIgniter\Controller;
|
||||
|
||||
/*
|
||||
* Provide public access to all platforms so that they can be exported
|
||||
*/
|
||||
class Platform extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
$model = new \App\Models\PlatformModel();
|
||||
|
||||
return $this->response->setJSON($model->getPlatforms());
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue