use Friendica\Core\Worker;
use Friendica\Database\DBA;
use Friendica\Model\Item;
+use Friendica\Util\XML;
require_once 'include/items.php';
}
$uri = Item::newURI($owner_uid);
- $xterm = xmlify($term);
+ $xterm = XML::xmlify($term);
$post_type = (($item['resource-id']) ? L10n::t('photo') : L10n::t('status'));
$targettype = (($item['resource-id']) ? ACTIVITY_OBJ_IMAGE : ACTIVITY_OBJ_NOTE );
$href = System::baseUrl() . '/display/' . $item['guid'];
}
- $link = xmlify('<link rel="alternate" type="text/html" href="'. $href . '" />' . "\n") ;
+ $link = XML::xmlify('<link rel="alternate" type="text/html" href="'. $href . '" />' . "\n") ;
- $body = xmlify($item['body']);
+ $body = XML::xmlify($item['body']);
$target = <<< EOT
<target>