Move feeds under new /feeds root

This commit is contained in:
Alex Cabal 2022-06-24 12:54:57 -05:00
parent ee545502af
commit c109c565cb
22 changed files with 136 additions and 99 deletions

View file

@ -15,7 +15,7 @@ class AtomFeed extends Feed{
parent::__construct($title, $url, $path, $entries);
$this->Subtitle = $subtitle;
$this->Id = $url;
$this->Stylesheet = '/atom/style';
$this->Stylesheet = '/feeds/atom/style';
}
protected function GetXmlString(): string{

View file

@ -7,7 +7,7 @@ class OpdsFeed extends AtomFeed{
public function __construct(string $title, string $subtitle, string $url, string $path, array $entries, ?OpdsNavigationFeed $parent){
parent::__construct($title, $subtitle, $url, $path, $entries);
$this->Parent = $parent;
$this->Stylesheet = '/opds/style';
$this->Stylesheet = '/feeds/opds/style';
}
protected function SaveUpdatedTimestamp(string $entryId, DateTime $updatedTimestamp): void{

View file

@ -5,7 +5,7 @@ class RssFeed extends Feed{
public function __construct(string $title, string $description, string $url, string $path, array $entries){
parent::__construct($title, $url, $path, $entries);
$this->Description = $description;
$this->Stylesheet = '/rss/style';
$this->Stylesheet = '/feeds/rss/style';
}
protected function GetXmlString(): string{