Caching for scrape, keywords for remote_self, notifications for addresses that aren't in your contact list.

This commit is contained in:
Michael Vogel 2015-01-20 22:54:25 +01:00
parent 7d34648373
commit 184dcf75a7
7 changed files with 130 additions and 85 deletions

View file

@ -76,13 +76,14 @@ function node2bbcodesub(&$doc, $oldnode, $attributes, $startbb, $endbb)
return($replace);
}
if(!function_exists('deletenode')) {
function deletenode(&$doc, $node)
{
$xpath = new DomXPath($doc);
$list = $xpath->query("//".$node);
foreach ($list as $child)
$child->parentNode->removeChild($child);
}
}}
function html2bbcode($message)
{