mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 17:42:29 -04:00
Further refinment to OPDS/RSS generation and also add Atom feeds
This commit is contained in:
parent
d75d847004
commit
f9fd6c8a02
23 changed files with 733 additions and 859 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue