mirror of
https://github.com/friendica/friendica
synced 2025-04-19 05:50:10 +00:00
Caching for scrape, keywords for remote_self, notifications for addresses that aren't in your contact list.
This commit is contained in:
parent
7d34648373
commit
184dcf75a7
7 changed files with 130 additions and 85 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue