summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoranoy <anoymouserver+github@mailbox.org>2021-04-30 19:02:29 +0200
committerBenjamin Brahmer <info@b-brahmer.de>2021-05-02 11:12:05 +0200
commitccc7153a7282e1820101f9b8e12602a8f3da2557 (patch)
tree13f607f43ec4c6b3bee358bf9903259fa8454dcc /lib
parente3faad4a11fe5bda80083f7cb8176300787f78f7 (diff)
fix atom feed summary fetching
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Fetcher/FeedFetcher.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Fetcher/FeedFetcher.php b/lib/Fetcher/FeedFetcher.php
index fd2bc4646..134abb264 100755
--- a/lib/Fetcher/FeedFetcher.php
+++ b/lib/Fetcher/FeedFetcher.php
@@ -266,7 +266,9 @@ class FeedFetcher implements IFeedFetcher
// Use description from feed if body is not provided (by a scraper)
if ($body === null) {
- $body = $parsedItem->getValue("content:encoded") ?? $parsedItem->getDescription();
+ $body = $parsedItem->getValue("content:encoded")
+ ?? $parsedItem->getDescription()
+ ?? $parsedItem->getSummary();
}
// purification is done in the service layer