mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 07:40:39 -04:00
Add author name to RSS entries
This commit is contained in:
parent
afe7ebeb22
commit
d75d847004
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ print("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n");
|
|||
</image>
|
||||
<? foreach($entries as $entry){ ?>
|
||||
<item>
|
||||
<title><?= Formatter::ToPlainXmlText($entry->Title) ?></title>
|
||||
<title><?= Formatter::ToPlainXmlText($entry->Title) ?>, by <?= Formatter::ToPlainXmlText(strip_tags($entry->AuthorsHtml)) ?></title>
|
||||
<link><?= SITE_URL . Formatter::ToPlainXmlText($entry->Url) ?></link>
|
||||
<description><?= Formatter::ToPlainXmlText($entry->Description) ?></description>
|
||||
<pubDate><?= $entry->Timestamp->format('r') ?></pubDate>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue