mirror of
https://github.com/standardebooks/web.git
synced 2025-07-21 23:04:57 -04:00
Move feeds under new /feeds root
This commit is contained in:
parent
ee545502af
commit
c109c565cb
22 changed files with 136 additions and 99 deletions
|
@ -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{
|
||||
|
|
|
@ -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{
|
||||
|
|
|
@ -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{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue