* Version: 1.0
*
*/
+
+use Friendica\Content\Text\BBCode;
use Friendica\Core\Addon;
use Friendica\Core\L10n;
use Friendica\Core\PConfig;
require_once('include/bbcode.php');
$title = '<title>' . (($b['title']) ? $b['title'] : L10n::t('Post from Friendica')) . '</title>';
- $post = $title . bbcode($b['body']);
+ $post = $title . BBCode::convert($b['body']);
$post = xmlify($post);
$xml = <<< EOT