Daniel Siepmann
b396925dda
As the feed contains the whole posts. But mirror in fediverse should only contain title.
17 lines
579 B
PHP
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();
|