<?php
class Af_Explosm extends Plugin {
- private $link;
private $host;
function about() {
}
function init($host) {
- $this->link = $host->get_link();
$this->host = $host;
$host->add_hook($host::HOOK_ARTICLE_FILTER, $this);
}
if ($basenode) {
- $article["content"] = $doc->saveXML($basenode, LIBXML_NOEMPTYTAG);
+ $article["content"] = $doc->saveXML($basenode);
$article["plugin_data"] = "explosm,$owner_uid:" . $article["plugin_data"];
}
}