fediverse-feed-wrappers/public/index.php
Daniel Siepmann b396925dda
Add new wrapper for my own website feed
As the feed contains the whole posts.
But mirror in fediverse should only contain title.
2024-03-05 19:38:42 +01:00

17 lines
579 B
PHP

<?php
use DanielSiepmann\FediverseFeedWrappers\RequestHandler;
use DanielSiepmann\FediverseFeedWrappers\WrapperRegistry;
use DanielSiepmann\FediverseFeedWrappers\Wrapper\DanielSiepmannTypo3;
use DanielSiepmann\FediverseFeedWrappers\Wrapper\Frontpage;
use DanielSiepmann\FediverseFeedWrappers\Wrapper\GitHubTypo3;
require_once __DIR__ . '/../vendor/autoload.php';
(new RequestHandler(
new WrapperRegistry([
'' => Frontpage::class,
'GitHubTypo3' => GitHubTypo3::class,
'DanielSiepmannTypo3' => DanielSiepmannTypo3::class,
])
))->handleRequest();