Merge pull request #4213 from annando/feed-information

Add the feed link to the body when not present in the feed
pull/4217/head
Hypolite Petovan 5 years ago committed by GitHub
commit 772cd6686e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/Protocol/Feed.php

@ -417,7 +417,8 @@ class Feed {
}
$item["body"] .= "\n".$item['tag'];
}
if (!strstr($item["body"], '[url') && ($item['plink'] != '')) {
x // Add the link to the original feed entry if not present in feed
if (!strstr($item["body"], $item['plink']) && ($item['plink'] != '')) {
$item["body"] .= "[hr][url]".$item['plink']."[/url]";
}
}

Loading…
Cancel
Save