+ $item["body"] = trim($item["title"]);
+ }
+
+ $data = ParseUrl::getSiteinfoCached($item['plink'], true);
+ if (!empty($data['text']) && !empty($data['title']) && (mb_strlen($item['body']) < mb_strlen($data['text']))) {
+ // When the fetched page info text is longer than the body, we do try to enhance the body
+ if (!empty($item['body']) && (strpos($data['title'], $item['body']) === false) && (strpos($data['text'], $item['body']) === false)) {
+ // The body is not part of the fetched page info title or page info text. So we add the text to the body
+ $item['body'] .= "\n\n" . $data['text'];
+ } else {
+ // Else we replace the body with the page info text
+ $item['body'] = $data['text'];
+ }