Further refinment to OPDS/RSS generation and also add Atom feeds

This commit is contained in:
Alex Cabal 2022-06-23 15:03:52 -05:00
parent d75d847004
commit f9fd6c8a02
23 changed files with 733 additions and 859 deletions

View file

@ -8,8 +8,8 @@ class OpdsNavigationEntry{
public $Description;
public $Title;
public function __construct(string $url, string $rel, string $type, ?DateTime $updated, string $title, string $description){
$this->Id = 'https://standardebooks.org' . $url;
public function __construct(string $title, string $description, string $url, ?DateTime $updated, string $rel, string $type){
$this->Id = SITE_URL . $url;
$this->Url = $url;
$this->Rel = $rel;
$this->Type = $type;