mirror of
https://github.com/friendica/friendica
synced 2025-04-28 02:30:16 +00:00
Use the field for the summary instead of the "abstract" element
This commit is contained in:
parent
ee9510e17d
commit
e43f96740b
3 changed files with 7 additions and 8 deletions
|
@ -29,7 +29,6 @@ use Friendica\Contact\LocalRelationship\Entity\LocalRelationship;
|
|||
use Friendica\Content\PageInfo;
|
||||
use Friendica\Content\Text\BBCode;
|
||||
use Friendica\Content\Text\HTML;
|
||||
use Friendica\Core\Cache\Enum\Duration;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\Protocol;
|
||||
use Friendica\Core\Worker;
|
||||
|
@ -668,7 +667,7 @@ class Feed
|
|||
}
|
||||
} else {
|
||||
if (!empty($summary)) {
|
||||
$item['body'] = '[abstract]' . HTML::toBBCode($summary, $basepath) . "[/abstract]\n" . $item['body'];
|
||||
$item['content-warning'] = HTML::toBBCode($summary, $basepath);
|
||||
}
|
||||
|
||||
if ($fetch_further_information == LocalRelationship::FFI_KEYWORD) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue