mirror of
https://github.com/standardebooks/web.git
synced 2025-07-16 11:26:37 -04:00
Replace Created with EbookCreated for publication date
This commit is contained in:
parent
ab95722f1e
commit
41b4c0f8f6
2 changed files with 3 additions and 3 deletions
|
@ -11,8 +11,8 @@
|
||||||
<? if($author->NacoafUrl !== null){ ?><schema:sameAs><?= Formatter::EscapeXml($author->NacoafUrl) ?></schema:sameAs><? } ?>
|
<? if($author->NacoafUrl !== null){ ?><schema:sameAs><?= Formatter::EscapeXml($author->NacoafUrl) ?></schema:sameAs><? } ?>
|
||||||
</author>
|
</author>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
<published><?= $entry->Created->format('Y-m-d\TH:i:s\Z') ?></published>
|
<published><?= $entry->EbookCreated->format('Y-m-d\TH:i:s\Z') ?></published>
|
||||||
<dc:issued><?= $entry->Created->format('Y-m-d\TH:i:s\Z') ?></dc:issued>
|
<dc:issued><?= $entry->EbookCreated->format('Y-m-d\TH:i:s\Z') ?></dc:issued>
|
||||||
<updated><?= $entry->Updated->format('Y-m-d\TH:i:s\Z') ?></updated>
|
<updated><?= $entry->Updated->format('Y-m-d\TH:i:s\Z') ?></updated>
|
||||||
<dc:language><?= Formatter::EscapeXml($entry->Language) ?></dc:language>
|
<dc:language><?= Formatter::EscapeXml($entry->Language) ?></dc:language>
|
||||||
<dc:publisher>Standard Ebooks</dc:publisher>
|
<dc:publisher>Standard Ebooks</dc:publisher>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<title><?= Formatter::EscapeXml($entry->Title) ?>, by <?= Formatter::EscapeXml(strip_tags($entry->AuthorsHtml)) ?></title>
|
<title><?= Formatter::EscapeXml($entry->Title) ?>, by <?= Formatter::EscapeXml(strip_tags($entry->AuthorsHtml)) ?></title>
|
||||||
<link><?= SITE_URL . Formatter::EscapeXml($entry->Url) ?></link>
|
<link><?= SITE_URL . Formatter::EscapeXml($entry->Url) ?></link>
|
||||||
<description><?= Formatter::EscapeXml($entry->Description) ?></description>
|
<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>
|
<guid><?= Formatter::EscapeXml(preg_replace('/^url:/ius', '', $entry->Identifier)) ?></guid>
|
||||||
<? foreach($entry->Tags as $tag){ ?>
|
<? foreach($entry->Tags as $tag){ ?>
|
||||||
<category domain="https://standardebooks.org/vocab/subjects"><?= Formatter::EscapeXml($tag->Name) ?></category>
|
<category domain="https://standardebooks.org/vocab/subjects"><?= Formatter::EscapeXml($tag->Name) ?></category>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue