From a0674af4169a8c929c89887d4e7796b21ee55a91 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 27 Mar 2014 15:35:29 -0700 Subject: firehose fixes and optimisations. In particular get rid of the unresponsive script warning when trying to load updates (sine they aren't our posts, we can't check for unseen, hence we can't really load updates). Also make the url selection pluggable. --- mod/update_community.php | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 mod/update_community.php (limited to 'mod/update_community.php') diff --git a/mod/update_community.php b/mod/update_community.php deleted file mode 100644 index 3dcbce6b1..000000000 --- a/mod/update_community.php +++ /dev/null @@ -1,33 +0,0 @@ -\r\n"; - echo (($_GET['msie'] == 1) ? '
' : '
'); - - $text = community_content($a,true); - $pattern = "/]*) src=\"([^\"]*)\"/"; - $replace = "'; - $pattern = "/<\s*audio[^>]*>(.*?)<\s*\/\s*audio>/i"; - $text = preg_replace($pattern, $replace, $text); - $pattern = "/<\s*video[^>]*>(.*?)<\s*\/\s*video>/i"; - $text = preg_replace($pattern, $replace, $text); - $pattern = "/<\s*embed[^>]*>(.*?)<\s*\/\s*embed>/i"; - $text = preg_replace($pattern, $replace, $text); - $pattern = "/<\s*iframe[^>]*>(.*?)<\s*\/\s*iframe>/i"; - $text = preg_replace($pattern, $replace, $text); - - echo str_replace("\t",' ',$text); - echo (($_GET['msie'] == 1) ? '
' : ''); - echo "\r\n"; - killme(); - -} \ No newline at end of file -- cgit v1.2.3