Replace Created with EbookCreated for publication date

This commit is contained in:
Mike Colagrosso 2024-07-13 17:13:36 -06:00 committed by Alex Cabal
parent ab95722f1e
commit 41b4c0f8f6
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
<title><?= Formatter::EscapeXml($entry->Title) ?>, by <?= Formatter::EscapeXml(strip_tags($entry->AuthorsHtml)) ?></title>
<link><?= SITE_URL . Formatter::EscapeXml($entry->Url) ?></link>
<description><?= Formatter::EscapeXml($entry->Description) ?></description>
<pubDate><?= $entry->Created->format('r') ?></pubDate>
<pubDate><?= $entry->EbookCreated->format('r') ?></pubDate>
<guid><?= Formatter::EscapeXml(preg_replace('/^url:/ius', '', $entry->Identifier)) ?></guid>
<? foreach($entry->Tags as $tag){ ?>
<category domain="https://standardebooks.org/vocab/subjects"><?= Formatter::EscapeXml($tag->Name) ?></category>