1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-01-17 06:08:27 +01:00

[AtomFormat] Remove redundant fallback content (#2702)

This commit is contained in:
Yaman Qalieh 2022-05-07 22:21:32 -04:00 committed by GitHub
parent 37843e8777
commit 158ee41be4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -65,7 +65,7 @@ class AtomFormat extends FormatAbstract{
}
if (empty($entryContent))
$entryContent = $entryTitle;
$entryContent = ' ';
$entryAuthor = '';
if ($item->getAuthor()) {

View File

@ -17,14 +17,14 @@
<published>2000-01-01T12:00:00+00:00</published>
<updated>2000-01-01T12:00:00+00:00</updated>
<id>urn:sha1:29f59918d266c56a935da13e4122b524298e5a39</id>
<content type="html">Sample Item #1</content>
<content type="html"> </content>
</entry>
<entry>
<title type="html">Sample Item #2</title>
<published>2000-01-01T12:00:00+00:00</published>
<updated>2000-01-01T12:00:00+00:00</updated>
<id>urn:sha1:edf358cad1a7ae255d6bc97640dd9d27738f1b7b</id>
<content type="html">Sample Item #2</content>
<content type="html"> </content>
</entry>
</feed>