This plugin allows you to cross post to your Red Matrix channel.
- - -(.*?)\<\/code\>/is',
- '/\
/is',
- '/\(.*?)\<\/strong\>/is',
- '/\(.*?)\<\/em\>/is',
- '/\(.*?)\<\/a\>/is',
- '/\http:\/\/(.*?)\<\/a\>/is',
- '/\(.*?)\<\/a\>/is'
- );
-
- $bbtags = array(
- '[b]$1[/b]',
- '[i]$1[/i]',
- '[u]$1[/u]',
- '[list]$1[/list]',
- '[*]$1',
- '$3',
- '[img]http://$2[/img]' . "\n",
- ':$3',
- '[quote]$1[/quote]',
- '[code]$1[/code]',
- '',
- '',
- '',
- '[quote]$1[/quote]',
- '$1',
- '[code]$1[/code]',
- "\n",
- '[b]$1[/b]',
- '[i]$1[/i]',
- '[email=$1]$3[/email]',
- '[url]$1[/url]',
- '[url=$1]$3[/url]'
- );
-
- $text = str_replace ("\n", ' ', $text);
- $ntext = preg_replace ($htmltags, $bbtags, $text);
- $ntext = preg_replace ($htmltags, $bbtags, $ntext);
-
- // for too large text and cannot handle by str_replace
- if (!$ntext) {
- $ntext = str_replace(array('
', '
'), "\n", $text);
- $ntext = str_replace(array('', ''), array('[b]', '[/b]'), $ntext);
- $ntext = str_replace(array('', ''), array('[i]', '[/i]'), $ntext);
- }
-
- $ntext = strip_tags($ntext);
-
- $ntext = trim(html_entity_decode($ntext,ENT_QUOTES,'UTF-8'));
- return $ntext;
- }
-}
-
-
diff --git a/util/wp/post_to_red/readme.txt b/util/wp/post_to_red/readme.txt
deleted file mode 100644
index e27c46236..000000000
--- a/util/wp/post_to_red/readme.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-=== CrossPost to redmatrix ===
-Contributors: duthied, macgirvin
-Donate link: TBD
-Tags: redmatrix, crosspost
-Requires at least: 3.2
-Tested up to: 3.2
-Stable tag: 1.2
-
-CrossPost to Red Matrix for WordPress
-
-== Description ==
-This plugin allows you to cross post to your Red Matrix account.
-
-**Note, this plugin converts the html from wordpress into bbcode.
-The bbcode conversion doesn't handle height and width of an image, so be warned that if you post a very large
-image that is resized via height and with attributes, those attributes won't be honored in the resulatant post.
-
-== Changelog ==
-= 1.2 =
-* ensured no function name collision
-
-= 1.1 =
-* Added feedback to settings form post.
-
-= 1.0 =
-* Initial release.
-
-== Installation ==
-
-1. Install the plugin from your Wordpress admin panel.
-
-OR
-
-1. Upload the plugin folder to the `/wp-content/plugins/` directory.
-2. Activate the plugin through the 'Plugins' menu in WordPress.
-3. On the settings page enter your account name and password and the nickname of the channel to post to - then click the submit button
-4. To cross-post ensure the check box in the 'Cross Post To redmatrix' is checked before publishing.
-
-== Frequently Asked Questions ==
diff --git a/version.inc b/version.inc
index 98534153c..ae378dbba 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2014-10-24.838
+2014-10-25.839