mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Implement xml functions
implement functions moved to xml class
This commit is contained in:
parent
0c9ea00439
commit
1a2b0b2565
7 changed files with 30 additions and 22 deletions
|
@ -17,6 +17,7 @@ use Friendica\Core\PConfig;
|
|||
use Friendica\Database\DBA;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
use Friendica\Util\Network;
|
||||
use Friendica\Util\XML;
|
||||
|
||||
function dwpost_install()
|
||||
{
|
||||
|
@ -189,7 +190,7 @@ function dwpost_send(App $a, array &$b)
|
|||
if ($dw_username && $dw_password && $dw_blog) {
|
||||
$title = $b['title'];
|
||||
$post = BBCode::convert($b['body']);
|
||||
$post = xmlify($post);
|
||||
$post = XML::xmlify($post);
|
||||
$tags = dwpost_get_tags($b['tag']);
|
||||
|
||||
$date = DateTimeFormat::convert($b['created'], $tz);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue