mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-12 01:48:48 +00:00
[AtomFormat] Remove redundant fallback content (#2702)
This commit is contained in:
parent
37843e8777
commit
158ee41be4
@ -65,7 +65,7 @@ class AtomFormat extends FormatAbstract{
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (empty($entryContent))
|
if (empty($entryContent))
|
||||||
$entryContent = $entryTitle;
|
$entryContent = ' ';
|
||||||
|
|
||||||
$entryAuthor = '';
|
$entryAuthor = '';
|
||||||
if ($item->getAuthor()) {
|
if ($item->getAuthor()) {
|
||||||
|
@ -17,14 +17,14 @@
|
|||||||
<published>2000-01-01T12:00:00+00:00</published>
|
<published>2000-01-01T12:00:00+00:00</published>
|
||||||
<updated>2000-01-01T12:00:00+00:00</updated>
|
<updated>2000-01-01T12:00:00+00:00</updated>
|
||||||
<id>urn:sha1:29f59918d266c56a935da13e4122b524298e5a39</id>
|
<id>urn:sha1:29f59918d266c56a935da13e4122b524298e5a39</id>
|
||||||
<content type="html">Sample Item #1</content>
|
<content type="html"> </content>
|
||||||
</entry>
|
</entry>
|
||||||
<entry>
|
<entry>
|
||||||
<title type="html">Sample Item #2</title>
|
<title type="html">Sample Item #2</title>
|
||||||
<published>2000-01-01T12:00:00+00:00</published>
|
<published>2000-01-01T12:00:00+00:00</published>
|
||||||
<updated>2000-01-01T12:00:00+00:00</updated>
|
<updated>2000-01-01T12:00:00+00:00</updated>
|
||||||
<id>urn:sha1:edf358cad1a7ae255d6bc97640dd9d27738f1b7b</id>
|
<id>urn:sha1:edf358cad1a7ae255d6bc97640dd9d27738f1b7b</id>
|
||||||
<content type="html">Sample Item #2</content>
|
<content type="html"> </content>
|
||||||
</entry>
|
</entry>
|
||||||
|
|
||||||
</feed>
|
</feed>
|
||||||
|
Loading…
Reference in New Issue
Block a user