aboutsummaryrefslogtreecommitdiffstats
path: root/include/feedutils.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-10 18:05:06 -0700
committerzotlabs <mike@macgirvin.com>2017-08-10 18:05:06 -0700
commit7cec3f4dbf53d64ab5d7fd579e98bbdf56a7a605 (patch)
treedf24e155a16e32f7c0de678e3cbc1243e0694bbf /include/feedutils.php
parent6c55e44f4cc0950144269f244fdf3baed5be4e49 (diff)
downloadvolse-hubzilla-7cec3f4dbf53d64ab5d7fd579e98bbdf56a7a605.tar.gz
volse-hubzilla-7cec3f4dbf53d64ab5d7fd579e98bbdf56a7a605.tar.bz2
volse-hubzilla-7cec3f4dbf53d64ab5d7fd579e98bbdf56a7a605.zip
include the mastodon summary in the post
Diffstat (limited to 'include/feedutils.php')
-rw-r--r--include/feedutils.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/feedutils.php b/include/feedutils.php
index 07cb79340..145d4361c 100644
--- a/include/feedutils.php
+++ b/include/feedutils.php
@@ -255,7 +255,7 @@ function get_atom_elements($feed, $item, &$author) {
$author['author_is_feed'] = false;
$rawauthor = $feed->get_feed_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'author');
- logger('rawauthor: ' . print_r($rawauthor, true));
+ //logger('rawauthor: ' . print_r($rawauthor, true));
}
else {
@@ -519,7 +519,7 @@ function get_atom_elements($feed, $item, &$author) {
// turn Mastodon content warning into a #nsfw hashtag
if($mastodon && $summary) {
- $res['body'] .= "\n\n#ContentWarning\n";
+ $res['body'] = $summary . "\n\n" . $res['body'] . "\n\n#ContentWarning\n";
}