<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.voxeo.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.voxeo.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Behind The Blog</title>
	
	<link>http://blogs.voxeo.com/behindtheblog</link>
	<description>A blog about a blog (site)... a view inside a WordPress MU installation</description>
	<pubDate>Tue, 28 Oct 2008 14:32:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.voxeo.com/BehindTheBlog" type="application/rss+xml" /><feedburner:emailServiceId>1515192</feedburner:emailServiceId><feedburner:feedburnerHostname>http://www.feedburner.com</feedburner:feedburnerHostname><item>
		<title>How to allow the upload of newer file types not listed in WordPress</title>
		<link>http://feeds.voxeo.com/~r/BehindTheBlog/~3/434766532/</link>
		<comments>http://blogs.voxeo.com/behindtheblog/2008/10/28/how-to-allow-the-upload-of-newer-file-types-not-listed-in-wordpress/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 14:32:29 +0000</pubDate>
		<dc:creator>Dan York</dc:creator>
		
		<category><![CDATA[WordPress MU]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[wordpressmu]]></category>

		<category><![CDATA[WPMU]]></category>

		<guid isPermaLink="false">http://blogs.voxeo.com/behindtheblog/?p=40</guid>
		<description><![CDATA[In putting together his post on the basics of programming with SIP Servlets, my colleague Wei Chen had a simple need: he wanted to include a link to a file containing actual SIP servlet code.  The challenge was that the WordPress MU user interface was not letting him upload a file ending in &#8220;.sar&#8220;, [...]

<script type="text/javascript">
SHARETHIS.addEntry({
	title: "How to allow the upload of newer file types not listed in WordPress",
	url: "http://blogs.voxeo.com/behindtheblog/2008/10/28/how-to-allow-the-upload-of-newer-file-types-not-listed-in-wordpress/"
});
</script>
	]]></description>
			<content:encoded><![CDATA[<p>In putting together <a href="http://blogs.voxeo.com/voxeodeveloperscorner/2008/10/24/sip-servlet-programming-basics/">his post on the basics of programming with SIP Servlets</a>, my colleague Wei Chen had a simple need: he wanted to include a link to a file containing actual SIP servlet code.  The challenge was that the WordPress MU user interface was not letting him upload a file ending in &#8220;<tt>.sar</tt>&#8220;, which is the suffix used for SAR files (essentially SIP servlet versions of Java JAR files).</p>
<p>No problem, I thought, I&#8217;ll just go to the WPMU Site Admin menu and add &#8220;sar&#8221; to the list of allowed file types on the &#8220;Options&#8221; page:</p>
<div style="text-align:center"><img src="http://blogs.voxeo.com/behindtheblog/files/2008/10/imageswpmu-uploadfiletypes.jpg" alt="wpmu-uploadfiletypes.jpg" border="0" width="349" height="30" /></div>
<p>While I was there I added &#8220;java&#8221;, &#8220;jar&#8221;, &#8220;jsp&#8221; and &#8220;war&#8221;, all of which could be file types we&#8217;d like to upload as we do more with Java.</p>
<p><em>Nope!</em></p>
<p>Try as he could, Wei was still unable to upload the SAR file.  I tried changing his permissions. Still no.  He sent me the SAR file. I tried. Nope.</p>
<p>And thus commenced several hours of looking through potential plugins and reading WPMU Forum posts until I finally figured out the problem:</p>
<blockquote><p><em>The &#8220;Upload File Types&#8221; field on the Site Admin Options page only allows you to enter in file types <strong>FROM A PREVIOUSLY ESTABLISHED LIST OF ALLOWABLE FILE TYPES</strong>.</em></p></blockquote>
<p>And of course &#8220;sar&#8221; and friends were <em>not</em> included in that included list of allowable file types. So it didn&#8217;t matter that I included the file extensions in that field in the WPMU web GUI - the underlying software was ignoring extensions that weren&#8217;t in its list.</p>
<p>Searching through the various files in my WPMU installation for the text of the error string I found (&#8221;<tt>grep -R</tt>&#8221; is your friend!), I finally tracked the issue down to the file &#8220;<tt>&lt;WPMUHome&gt;wp-includes/functions.php</tt>&#8221; and the specific function <tt>wp_check_filetype</tt> within that file. There, as shown below, there is a full list of the various allowed file types.  My modification was simply this (my change in red):<br />
<blockquote><em>&#8216;class<span style="color:#ff0c18"><strong>|jar|sar|java|war|jsp</strong></span>&#8216; =&gt; &#8216;application/java&#8217;,<br />
</em></p></blockquote>
<p>After that, the upload worked perfectly fine because &#8220;sar&#8221; was already in the list of &#8220;Upload File Types&#8221; in the WPMU Site Admin Options page. Wei was able to upload his SAR file and <a href="http://blogs.voxeo.com/voxeodeveloperscorner/2008/10/24/sip-servlet-programming-basics/">complete his tutorial blog post</a>.  I learned a bit more about how WordPress is put together.</p>
<p>Hopefully this post will help some of you who might run into similar issues.  (It&#8217;s also, quite frankly, a reminder to myself because, of course, this change will <em>not</em> survive a WPMU upgrade that replaces <tt>functions.php</tt> so I will need to add this to my checklist of post-upgrade items to check.)</p>
<hr />
<p>For the sake of completeness, here is the entire function that I modified:</p>
<blockquote><pre>function wp_check_filetype( $filename, $mimes = null ) {
        // Accepted MIME types are set here as PCRE unless provided.
        $mimes = ( is_array( $mimes ) ) ? $mimes : apply_filters( 'upload_mimes', array(
                'jpg|jpeg|jpe' =&gt; 'image/jpeg',
                'gif' =&gt; 'image/gif',
                'png' =&gt; 'image/png',
                'bmp' =&gt; 'image/bmp',
                'tif|tiff' =&gt; 'image/tiff',
                'ico' =&gt; 'image/x-icon',
                'asf|asx|wax|wmv|wmx' =&gt; 'video/asf',
                'avi' =&gt; 'video/avi',
                'mov|qt' =&gt; 'video/quicktime',
                'mpeg|mpg|mpe|mp4' =&gt; 'video/mpeg',
                'txt|c|cc|h' =&gt; 'text/plain',
                'rtx' =&gt; 'text/richtext',
                'css' =&gt; 'text/css',
                'htm|html' =&gt; 'text/html',
                'mp3|m4a' =&gt; 'audio/mpeg',
                'ra|ram' =&gt; 'audio/x-realaudio',
                'wav' =&gt; 'audio/wav',
                'ogg' =&gt; 'audio/ogg',
                'mid|midi' =&gt; 'audio/midi',
                'wma' =&gt; 'audio/wma',
                'rtf' =&gt; 'application/rtf',
                'js' =&gt; 'application/javascript',
                'pdf' =&gt; 'application/pdf',
                'doc' =&gt; 'application/msword',
                'pot|pps|ppt' =&gt; 'application/vnd.ms-powerpoint',
                'wri' =&gt; 'application/vnd.ms-write',
                'xla|xls|xlt|xlw' =&gt; 'application/vnd.ms-excel',
                'mdb' =&gt; 'application/vnd.ms-access',
                'mpp' =&gt; 'application/vnd.ms-project',
                'swf' =&gt; 'application/x-shockwave-flash',
                'class<span style="color:#ff0c18"><strong>|jar|sar|java|war|jsp</strong></span>' =&gt; 'application/java',
                'tar' =&gt; 'application/x-tar',
                'zip' =&gt; 'application/zip',
                'gz|gzip' =&gt; 'application/x-gzip',
                'exe' =&gt; 'application/x-msdownload',
                // openoffice formats
                'odt' =&gt; 'application/vnd.oasis.opendocument.text',
                'odp' =&gt; 'application/vnd.oasis.opendocument.presentation',
                'ods' =&gt; 'application/vnd.oasis.opendocument.spreadsheet',
                'odg' =&gt; 'application/vnd.oasis.opendocument.graphics',
                'odc' =&gt; 'application/vnd.oasis.opendocument.chart',
                'odb' =&gt; 'application/vnd.oasis.opendocument.database',
                'odf' =&gt; 'application/vnd.oasis.opendocument.formula',
                )
        );</pre>
</blockquote>
<hr />
<p><!-- Technorati Tags Start --></p>
<p>Technorati Tags:<br />
<a href="http://technorati.com/tag/wordpress" rel="tag">wordpress</a>, <a href="http://technorati.com/tag/wordpressmu" rel="tag">wordpressmu</a>, <a href="http://technorati.com/tag/wpmu" rel="tag">wpmu</a>
</p>
<p><!-- Technorati Tags End --></p>
<p><a href="http://sharethis.com/item?publisher=eb4321dc-f90d-4f2c-8ce5-3de4cbdb2a4a&title=How+to+allow+the+upload+of+newer+file+types+not+listed+in+WordPress&url=http%3A%2F%2Fblogs.voxeo.com%2Fbehindtheblog%2F2008%2F10%2F28%2Fhow-to-allow-the-upload-of-newer-file-types-not-listed-in-wordpress%2F">ShareThis</a></p><img src="http://feeds.voxeo.com/~r/BehindTheBlog/~4/434766532" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.voxeo.com/behindtheblog/2008/10/28/how-to-allow-the-upload-of-newer-file-types-not-listed-in-wordpress/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.voxeo.com/behindtheblog/2008/10/28/how-to-allow-the-upload-of-newer-file-types-not-listed-in-wordpress/</feedburner:origLink></item>
		<item>
		<title>Upgrading to WordPress 2.6.2…</title>
		<link>http://feeds.voxeo.com/~r/BehindTheBlog/~3/419523498/</link>
		<comments>http://blogs.voxeo.com/behindtheblog/2008/10/13/upgrading-to-wordpress-262/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 13:36:18 +0000</pubDate>
		<dc:creator>Dan York</dc:creator>
		
		<category><![CDATA[1]]></category>

		<category><![CDATA[WordPress MU]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[wordpressmu]]></category>

		<category><![CDATA[WPMU]]></category>

		<guid isPermaLink="false">http://blogs.voxeo.com/behindtheblog/?p=37</guid>
		<description><![CDATA[On Friday, I made the jump to bring this site up to WordPress 2.6.2, the latest WPMU release. I pretty much just followed the upgrade steps I&#8217;d outlined back in June.  For those curious, here was the database backup command I used:
mysqldump wordpress --add-drop-table -u username -ppassword &#124; bzip2 -c &#62; wpmudb-backup-20081010.bz2

Obviously I removed [...]

<script type="text/javascript">
SHARETHIS.addEntry({
	title: "Upgrading to WordPress 2.6.2&#8230;",
	url: "http://blogs.voxeo.com/behindtheblog/2008/10/13/upgrading-to-wordpress-262/"
});
</script>
	]]></description>
			<content:encoded><![CDATA[<p>On Friday, I made the jump to bring this site up to WordPress 2.6.2, the latest WPMU release. I pretty much just followed <a href="http://blogs.voxeo.com/behindtheblog/2008/06/11/successful-upgrade-to-wpmu-151-with-some-lessons-learned/">the upgrade steps I&#8217;d outlined back in June</a>.  For those curious, here was the database backup command I used:</p>
<blockquote><pre>mysqldump wordpress --add-drop-table -u <em>username</em> -p<em>password</em> | bzip2 -c &gt; wpmudb-backup-20081010.bz2</pre>
</blockquote>
<p>Obviously I removed the username and password, and yes, there <em>is</em> a space between &#8220;-u&#8221; and the username and there is <em>not</em> a space between &#8220;-p&#8221; and the password.  I didn&#8217;t research whether that was required&#8230; I admittedly followed the steps in one of the WPMU Forum posts I found.</p>
<p>With WordPress 2.6.2, I did need to add the following lines to my <tt>wp-config.php</tt> file:</p>
<blockquote><pre>define( 'LOGGED_IN_KEY', '<em>text removed</em>' );
define( 'LOGGED_IN_SALT', '<em>text removed</em>' );
define( 'AUTH_KEY', '<em>text removed</em>' );
define( 'SECURE_AUTH_KEY', '<em>text removed</em>' );
define( 'SECURE_AUTH_SALT', '<em>text removed</em>' );</pre>
</blockquote>
<p>Obviously I&#8217;m again removing the values specific to our system.  These lines were shown to me right at the top of the admin interface after I logged in after the upgrade.  I just copied/pasted and then needed to login again.</p>
<p>Thankfully by this point, we&#8217;ve made most of our customizations either in the custom theme we use for the site or in specific plugins, so really the only post-upgrade manual tweak I had to do was to modify kses.php to allow &#8220;skype&#8221; and &#8220;sip&#8221; protocols in URLs as <a href="http://blogs.voxeo.com/behindtheblog/2008/06/11/enabling-skype-and-sip-urls-in-wordpress-mu-151/">I had documented earlier</a>. At some point I should probably figure out how to make this a plugin so that it survives upgrades&#8230; in the meantime it&#8217;s not a big deal provided I remember to do so. (Upgrade checklists are your friend!)</p>
<p>I did the upgrade primarily because I knew I needed to keep the site up-to-date on security issues and fixes, but also because I wanted to try out the WordPress app on the iPhone now that <a href="http://blogs.voxeo.com/voxeotalks/2008/10/07/goodbye-blackberry-hello-iphone-making-the-corporate-switch/">we have made the switch from Blackberries to iPhones</a>.  As you can see in <a href="http://blogs.voxeo.com/behindtheblog/2008/10/10/testing-from-an-iphone/">this test post</a>, the WordPress app on the iPhone does work.  It does, though, seem to have one rather annoying limitation for working with WordPress MU that I mentioned there and will write about in more detail in another post.</p>
<p>Meanwhile, we&#8217;re up and running on WPMU 2.6.2&#8230;</p>
<p><!-- Technorati Tags Start --></p>
<p>Technorati Tags:<br />
<a href="http://technorati.com/tag/wordpress" rel="tag">wordpress</a>, <a href="http://technorati.com/tag/wordpress%20mu" rel="tag">wordpress mu</a>, <a href="http://technorati.com/tag/wpmu" rel="tag">wpmu</a>, <a href="http://technorati.com/tag/voxeo" rel="tag">voxeo</a>
</p>
<p><!-- Technorati Tags End --></p>
<p><a href="http://sharethis.com/item?publisher=eb4321dc-f90d-4f2c-8ce5-3de4cbdb2a4a&title=Upgrading+to+WordPress+2.6.2%26%238230%3B&url=http%3A%2F%2Fblogs.voxeo.com%2Fbehindtheblog%2F2008%2F10%2F13%2Fupgrading-to-wordpress-262%2F">ShareThis</a></p><img src="http://feeds.voxeo.com/~r/BehindTheBlog/~4/419523498" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.voxeo.com/behindtheblog/2008/10/13/upgrading-to-wordpress-262/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.voxeo.com/behindtheblog/2008/10/13/upgrading-to-wordpress-262/</feedburner:origLink></item>
		<item>
		<title>Testing from an iphone</title>
		<link>http://feeds.voxeo.com/~r/BehindTheBlog/~3/417019269/</link>
		<comments>http://blogs.voxeo.com/behindtheblog/2008/10/10/testing-from-an-iphone/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 17:56:13 +0000</pubDate>
		<dc:creator>Dan York</dc:creator>
		
		<category><![CDATA[WordPress MU]]></category>

		<category><![CDATA[iPhone]]></category>

		<category><![CDATA[blogging]]></category>

		<guid isPermaLink="false">http://blogs.voxeo.com/behindtheblog/2008/10/10/testing-from-an-iphone/</guid>
		<description><![CDATA[So with our new iPhones I naturally had to try the WordPress app for the iPhone. I don&#8217;t know that I will write many posts this way, but it is nice to have the option. 
The only technical issue so far is that ALL of our blogs seem to show up in the iPhone app [...]

<script type="text/javascript">
SHARETHIS.addEntry({
	title: "Testing from an iphone",
	url: "http://blogs.voxeo.com/behindtheblog/2008/10/10/testing-from-an-iphone/"
});
</script>
	]]></description>
			<content:encoded><![CDATA[<p>So with our new iPhones I naturally had to try the WordPress app for the iPhone. I don&#8217;t know that I will write many posts this way, but it is nice to have the option. </p>
<p>The only technical issue so far is that ALL of our blogs seem to show up in the iPhone app as &#8220;Speaking of Standards&#8221; instead of their correct names.</p>
<p><a href="http://sharethis.com/item?publisher=eb4321dc-f90d-4f2c-8ce5-3de4cbdb2a4a&title=Testing+from+an+iphone&url=http%3A%2F%2Fblogs.voxeo.com%2Fbehindtheblog%2F2008%2F10%2F10%2Ftesting-from-an-iphone%2F">ShareThis</a></p><img src="http://feeds.voxeo.com/~r/BehindTheBlog/~4/417019269" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.voxeo.com/behindtheblog/2008/10/10/testing-from-an-iphone/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.voxeo.com/behindtheblog/2008/10/10/testing-from-an-iphone/</feedburner:origLink></item>
		<item>
		<title>Adding space above the Seesmic plugin video comment link</title>
		<link>http://feeds.voxeo.com/~r/BehindTheBlog/~3/364210076/</link>
		<comments>http://blogs.voxeo.com/behindtheblog/2008/08/13/adding-space-above-the-seesmic-plugin-video-comment-link/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 20:55:03 +0000</pubDate>
		<dc:creator>Dan York</dc:creator>
		
		<category><![CDATA[Plugins]]></category>

		<category><![CDATA[Video]]></category>

		<category><![CDATA[WordPress MU]]></category>

		<category><![CDATA[Seesmic]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[wordpressmu]]></category>

		<category><![CDATA[WPMU]]></category>

		<guid isPermaLink="false">http://blogs.voxeo.com/behindtheblog/?p=35</guid>
		<description><![CDATA[Earlier today while fixing another problem here on the site, it was pointed out to me that the &#8220;Submit Comment&#8221; button was almost on top of the Seesmic raccoon logo for video comments:

This fix was relatively straightforward.  I just headed into &#60;WPMU&#62;/wp-content/plugins/seesmic-wp-plugin and then found my way down to lines 179 and 180:
&#60;div id="see_buttons_div" [...]

<script type="text/javascript">
SHARETHIS.addEntry({
	title: "Adding space above the Seesmic plugin video comment link",
	url: "http://blogs.voxeo.com/behindtheblog/2008/08/13/adding-space-above-the-seesmic-plugin-video-comment-link/"
});
</script>
	]]></description>
			<content:encoded><![CDATA[<p>Earlier today while <a href="http://blogs.voxeo.com/behindtheblog/2008/08/13/getting-rid-of-extra-br-lines-in-wordpress-mu/">fixing another problem</a> here on the site, it was pointed out to me that the &#8220;Submit Comment&#8221; button was almost on top of the Seesmic raccoon logo for video comments:</p>
<div style="text-align:center"><img src="http://blogs.voxeo.com/behindtheblog/files/2008/08/imagesseesmiclinetooclose-1.jpg" alt="seesmiclinetooclose-1.jpg" border="0" width="300" height="128" /></div>
<p>This fix was relatively straightforward.  I just headed into <tt>&lt;WPMU&gt;/wp-content/plugins/seesmic-wp-plugin</tt> and then found my way down to lines 179 and 180:</p>
<blockquote><pre>&lt;div id="see_buttons_div" style="display:block; width:100%; clear:both"&gt;
                &lt;a onclick="see_set_comment_mode('videoRec','comment')" style=</pre>
</blockquote>
<p>where, yes, indeed, I simply inserted two &lt;br&gt;&#8217;s on line 180:</p>
<blockquote><pre>&lt;div id="see_buttons_div" style="display:block; width:100%; clear:both"&gt;
                <span style="color:#ff0c18">&lt;br/&gt;&lt;br/&gt;</span>&lt;a onclick="see_set_comment_mode('videoRec','comment')" style=</pre>
</blockquote>
<p>And yes, the irony of <em>adding</em> BR tags after <a href="http://blogs.voxeo.com/behindtheblog/2008/08/13/getting-rid-of-extra-br-lines-in-wordpress-mu/">today&#8217;s earlier exercise</a> was not lost on me. In any event, the little racoon is now not practically on top of the Submit Comment button:</p>
<div style="text-align:center"><img src="http://blogs.voxeo.com/behindtheblog/files/2008/08/imagesseesmictooclose-fixed.jpg" alt="seesmictooclose-fixed.jpg" border="0" width="300" height="153" /></div>
<p>And yes, it&#8217;s a kludgy hack that will undoubtedly be blown away if I ever upgrade the Seesmic plugin&#8230; but hey, the beauty of it all was that I <em>could</em> tweak it to fit our site.</p>
<p><!-- Technorati Tags Start --></p>
<p>Technorati Tags:<br />
<a href="http://technorati.com/tag/wordpress" rel="tag">wordpress</a>, <a href="http://technorati.com/tag/wordpressmu" rel="tag">wordpressmu</a>, <a href="http://technorati.com/tag/wpmu" rel="tag">wpmu</a>, <a href="http://technorati.com/tag/plugins" rel="tag">plugins</a>, <a href="http://technorati.com/tag/seesmic" rel="tag">seesmic</a>, <a href="http://technorati.com/tag/video" rel="tag">video</a>
</p>
<p><!-- Technorati Tags End --></p>
<p><a href="http://sharethis.com/item?publisher=eb4321dc-f90d-4f2c-8ce5-3de4cbdb2a4a&title=Adding+space+above+the+Seesmic+plugin+video+comment+link&url=http%3A%2F%2Fblogs.voxeo.com%2Fbehindtheblog%2F2008%2F08%2F13%2Fadding-space-above-the-seesmic-plugin-video-comment-link%2F">ShareThis</a></p><img src="http://feeds.voxeo.com/~r/BehindTheBlog/~4/364210076" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.voxeo.com/behindtheblog/2008/08/13/adding-space-above-the-seesmic-plugin-video-comment-link/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.voxeo.com/behindtheblog/2008/08/13/adding-space-above-the-seesmic-plugin-video-comment-link/</feedburner:origLink></item>
		<item>
		<title>Getting rid of extra BR lines in WordPress MU</title>
		<link>http://feeds.voxeo.com/~r/BehindTheBlog/~3/364197250/</link>
		<comments>http://blogs.voxeo.com/behindtheblog/2008/08/13/getting-rid-of-extra-br-lines-in-wordpress-mu/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 20:39:04 +0000</pubDate>
		<dc:creator>Dan York</dc:creator>
		
		<category><![CDATA[WordPress MU]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[wordpressmu]]></category>

		<category><![CDATA[WPMU]]></category>

		<guid isPermaLink="false">http://blogs.voxeo.com/behindtheblog/?p=33</guid>
		<description><![CDATA[Today we had a wee bit of fun with HTML tables&#8230; Jeremy, a member of our support team, published a post on our Voxeo Developer&#8217;s Corner blog that had an HTML &#60;table&#62; in it. Now it turned out that this was the first time in the 10 months that we&#8217;ve had this blog site up [...]

<script type="text/javascript">
SHARETHIS.addEntry({
	title: "Getting rid of extra BR lines in WordPress MU",
	url: "http://blogs.voxeo.com/behindtheblog/2008/08/13/getting-rid-of-extra-br-lines-in-wordpress-mu/"
});
</script>
	]]></description>
			<content:encoded><![CDATA[<p>Today we had a wee bit of fun with HTML tables&#8230; Jeremy, a member of our support team,<a href="http://blogs.voxeo.com/voxeodeveloperscorner/2008/08/13/voicexml-variable-scoping/"> published a post on our Voxeo Developer&#8217;s Corner blog</a> that had an HTML &lt;table&gt; in it. Now it turned out that this was the first time in the 10 months that we&#8217;ve had this blog site up that anyone has used a &lt;table&gt; tag&#8230; and WordPress MU wasn&#8217;t terribly happy about it!  What happened is that WPMU inserted a <tt>&lt;br/&gt;</tt> tag <em>at the end of every line of HTML</em> in the table.  Annoyingly, the BR tags were inserted <em>outside</em> of the &lt;TD&gt; tags with the result being that a browser bizarrely interpreted the BRs to be a bunch of blank lines <em>before</em> the table.</p>
<p>Naturally I blamed Rick&#8217;s CSS file for lacking some table handling and he of course blamed all my plugins for messing up the formatting.  A Google search helped us find out that the answer was neither but instead was actually WordPress itself.  </p>
<p><a href="http://irama.org/web/cms/wordpress/">This web page</a> started out with the key heading &#8220;<em>Disabling WordPress&#8217; slap-happy approach to &lt;br /&gt; tags</em>&#8221; and provided the answer. That web page is for WordPress 2.0.2 and we&#8217;re now running the equivalent of WP 2.5, so the file is no longer <tt>functions-formatting.php</tt> but instead simply <tt>formatting.php</tt>.  As before it lives in <tt>&lt;WPMU&gt;/wp-includes</tt>.</p>
<p>Inside the file starting at line 62 was this:</p>
<blockquote><pre>function wpautop($pee, $br = 1) {
        $pee = $pee . "\n"; // just to make things a little easier, pad the end
        $pee = preg_replace('|&lt;br /&gt;\s*&lt;br /&gt;|', "\n\n", $pee);</pre>
</blockquote>
<p>One simple change of &#8220;$br = 1&#8243; to &#8220;$br = 0&#8243;:</p>
<blockquote><pre>function wpautop($pee, <span style="color:#ff0c18">$br = 0</span>) {
        $pee = $pee . "\n"; // just to make things a little easier, pad the end
        $pee = preg_replace('|&lt;br /&gt;\s*&lt;br /&gt;|', "\n\n", $pee);</pre>
</blockquote>
<p>and&#8230; ta da&#8230; the BR tags went away and the table no longer had this mass of white space before it.</p>
<p><P>Fun, fun, fun&#8230;. (well, not really)</p>
<p><!-- Technorati Tags Start --></p>
<p>Technorati Tags:<br />
<a href="http://technorati.com/tag/wordpress" rel="tag">wordpress</a>, <a href="http://technorati.com/tag/wordpressmu" rel="tag">wordpressmu</a>, <a href="http://technorati.com/tag/wpmu" rel="tag">wpmu</a>
</p>
<p><!-- Technorati Tags End --></p>
<p><a href="http://sharethis.com/item?publisher=eb4321dc-f90d-4f2c-8ce5-3de4cbdb2a4a&title=Getting+rid+of+extra+BR+lines+in+WordPress+MU&url=http%3A%2F%2Fblogs.voxeo.com%2Fbehindtheblog%2F2008%2F08%2F13%2Fgetting-rid-of-extra-br-lines-in-wordpress-mu%2F">ShareThis</a></p><img src="http://feeds.voxeo.com/~r/BehindTheBlog/~4/364197250" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.voxeo.com/behindtheblog/2008/08/13/getting-rid-of-extra-br-lines-in-wordpress-mu/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.voxeo.com/behindtheblog/2008/08/13/getting-rid-of-extra-br-lines-in-wordpress-mu/</feedburner:origLink></item>
		<item>
		<title>Tip: How to modify WordPress MU to allow embed objects (specifically for SlideShare)</title>
		<link>http://feeds.voxeo.com/~r/BehindTheBlog/~3/352915566/</link>
		<comments>http://blogs.voxeo.com/behindtheblog/2008/08/01/tip-how-to-modify-wordpress-mu-to-allow-embed-objects-specifically-for-slideshare/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 18:56:17 +0000</pubDate>
		<dc:creator>Dan York</dc:creator>
		
		<category><![CDATA[WordPress MU]]></category>

		<category><![CDATA[Plugins]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[wordpressmu]]></category>

		<category><![CDATA[WPMU]]></category>

		<guid isPermaLink="false">http://blogs.voxeo.com/behindtheblog/?p=31</guid>
		<description><![CDATA[Okay, so this was a serious way to waste a morning! At 8:00am this morning I put up the post about my OSCON 2008 presentation and immediately noticed that the embedded SlideShare slide show was not visible.  The problem was fairly simple to figure out.  Here&#8217;s the embed code from the SlideShare page [...]

<script type="text/javascript">
SHARETHIS.addEntry({
	title: "Tip: How to modify WordPress MU to allow embed objects (specifically for SlideShare)",
	url: "http://blogs.voxeo.com/behindtheblog/2008/08/01/tip-how-to-modify-wordpress-mu-to-allow-embed-objects-specifically-for-slideshare/"
});
</script>
	]]></description>
			<content:encoded><![CDATA[<p>Okay, so this was a serious way to waste a morning! At 8:00am this morning I put up <a href="http://blogs.voxeo.com/voxeotalks/2008/08/01/my-oscon2008-presentation-on-voice-mashups-and-identica-microblogging-now-available/">the post about my OSCON 2008 presentation</a> and immediately noticed that the embedded SlideShare slide show was not visible.  The problem was fairly simple to figure out.  Here&#8217;s the embed code from <a href="http://www.slideshare.net/danyork/oscon-2008-mashing-up-voice-and-the-web-using-open-source-and-xml/">the SlideShare page for my presentation</a> that I had diligently copy and pasted into MarsEdit before sending to WPMU via the API:</p>
<blockquote><p><tt>&lt;div style=&#8221;width:425px;text-align:left&#8221; id=&#8221;__ss_525876&#8243;&gt;&lt;a style=&#8221;font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;&#8221; href=&#8221;http://www.slideshare.net/danyork/oscon-2008-mashing-up-voice-and-the-web-using-open-source-and-xml?src=embed&#8221; title=&#8221;OSCON 2008: Mashing Up Voice and the Web Using Open Source and XML&#8221;&gt;OSCON 2008: Mashing Up Voice and the Web Using Open Source and XML&lt;/a&gt;&lt;object style=&#8221;margin:0px&#8221; width=&#8221;425&#8243; height=&#8221;355&#8243;&gt;&lt;param name=&#8221;movie&#8221; value=&#8221;http://static.slideshare.net/swf/ssplayer2.swf?doc=oscon2008voicemashups-1216853182252884-9&amp;stripped_title=oscon-2008-mashing-up-voice-and-the-web-using-open-source-and-xml&#8221; /&gt;&lt;param name=&#8221;allowFullScreen&#8221; value=&#8221;true&#8221;/&gt;&lt;param name=&#8221;allowScriptAccess&#8221; value=&#8221;always&#8221;/&gt;&lt;embed src=&#8221;http://static.slideshare.net/swf/ssplayer2.swf?doc=oscon2008voicemashups-1216853182252884-9&amp;stripped_title=oscon-2008-mashing-up-voice-and-the-web-using-open-source-and-xml&#8221; type=&#8221;application/x-shockwave-flash&#8221; allowscriptaccess=&#8221;always&#8221; allowfullscreen=&#8221;true&#8221; width=&#8221;425&#8243; height=&#8221;355&#8243;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style=&#8221;font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;&#8221;&gt;view &lt;a style=&#8221;text-decoration:underline;&#8221; href=&#8221;http://www.slideshare.net/danyork/oscon-2008-mashing-up-voice-and-the-web-using-open-source-and-xml?src=embed&#8221; title=&#8221;View OSCON 2008: Mashing Up Voice and the Web Using Open Source and XML on SlideShare&#8221;&gt;presentation&lt;/a&gt; (tags: &lt;a style=&#8221;text-decoration:underline;&#8221; href=&#8221;http://slideshare.net/tag/oscon2008&#8243;&gt;oscon2008&lt;/a&gt; &lt;a style=&#8221;text-decoration:underline;&#8221; href=&#8221;http://slideshare.net/tag/oscon&#8221;&gt;oscon&lt;/a&gt; &lt;a style=&#8221;text-decoration:underline;&#8221; href=&#8221;http://slideshare.net/tag/microblogging&#8221;&gt;microblogging&lt;/a&gt; &lt;a style=&#8221;text-decoration:underline;&#8221; href=&#8221;http://slideshare.net/tag/identi-ca&#8221;&gt;identi.ca&lt;/a&gt;)&lt;/div&gt;&lt;/div&gt;</tt></p></blockquote>
<p>However, when I did a &#8220;View -&gt; Page Source&#8221; in Firefox, this was all that was visible:</p>
<blockquote><p><tt>&lt;div style=&#8221;width:425px;text-align:left&#8221; id=&#8221;__ss_525876&#8243;&gt;&lt;a href=&#8221;http://www.slideshare.net/danyork/oscon-2008-mashing-up-voice-and-the-web-using-open-source-and-xml?src=embed&#8221; title=&#8221;Mashing Up Voice and the Web Using Open Source and XML&#8221;&gt;OSCON 2008: Mashing Up Voice and the Web Using Open Source and XML&lt;/a&gt;<br />
&lt;div style=&#8221;font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px&#8221;&gt;view &lt;a href=&#8221;http://www.slideshare.net/danyork/oscon-2008-mashing-up-voice-and-the-web-using-open-source-and-xml?src=embed&#8221; title=&#8221;Mashing Up Voice and the Web Using Open Source and XML on SlideShare&#8221;&gt;presentation&lt;/a&gt; (tags: &lt;a href=&#8221;http://slideshare.net/tag/oscon2008&#8243;&gt;oscon2008&lt;/a&gt; &lt;a href=&#8221;http://slideshare.net/tag/oscon&#8221;&gt;oscon&lt;/a&gt; &lt;a href=&#8221;http://slideshare.net/tag/microblogging&#8221;&gt;microblogging&lt;/a&gt; &lt;a href=&#8221;http://slideshare.net/tag/identi-ca&#8221;&gt;identi.ca&lt;/a&gt;)&lt;/div&gt;<br />
</tt></p></blockquote>
<p>Without even looking through the code I could just see <em>visually</em> that there was a chunk of code missing. </p>
<p>Oops.</p>
<p>I thought I knew what it was and, sure enough, closer examination of the code showed that the &lt;object&gt; element was being stripped entirely out:</p>
<blockquote><p><tt>&lt;object style=&#8221;margin:0px&#8221; width=&#8221;425&#8243; height=&#8221;355&#8243;&gt;&lt;param name=&#8221;movie&#8221; value=&#8221;http://static.slideshare.net/swf/ssplayer2.swf?doc=oscon2008voicemashups-1216853182252884-9&amp;stripped_title=oscon-2008-mashing-up-voice-and-the-web-using-open-source-and-xml&#8221; /&gt;&lt;param name=&#8221;allowFullScreen&#8221; value=&#8221;true&#8221;/&gt;&lt;param name=&#8221;allowScriptAccess&#8221; value=&#8221;always&#8221;/&gt;&lt;embed src=&#8221;http://static.slideshare.net/swf/ssplayer2.swf?doc=oscon2008voicemashups-1216853182252884-9&amp;stripped_title=oscon-2008-mashing-up-voice-and-the-web-using-open-source-and-xml&#8221; type=&#8221;application/x-shockwave-flash&#8221; allowscriptaccess=&#8221;always&#8221; allowfullscreen=&#8221;true&#8221; width=&#8221;425&#8243; height=&#8221;355&#8243;&gt;&lt;/embed&gt;&lt;/object&gt;</tt></p></blockquote>
<p>Based on past experience with WPMU (documented <a href="http://blogs.voxeo.com/behindtheblog/2008/03/31/the-challenge-of-embedding-xml-into-a-wordpress-mu-blog-entry/">here</a> and <a href="http://blogs.voxeo.com/behindtheblog/2008/06/11/enabling-skype-and-sip-urls-in-wordpress-mu-151/">here</a>), I knew immediately this was an issue with the <code>&lt;WPMUHOME&gt;/wp-includes/kses.php</code> file which, for <em>very</em> valid security reasons, strips out unknown tags when a post is created on the site (either via the web editor or posted through the API).</p>
<p>What confused me, though, was that <a href="http://blogs.voxeo.com/voxeotalks/2008/04/11/did-you-miss-ecomm-2008-you-can-now-see-the-presentations/">SlideShare embeds worked perfectly fine in previous posts</a>. So I had no idea why they weren&#8217;t working now. However, since that earlier post, I&#8217;ve upgraded to WPMU 1.5.1 and for whatever reason something has changed.  It&#8217;s strange, though. &lt;object&gt; was <em>NOT</em> in the <code>kses.php</code> file before (I checked a backup) and it&#8217;s not in there now.  Which makes me wonder <em>how</em> I posted those earlier entries with SlideShare embeds and <a href="http://blogs.voxeo.com/voxeotalks/2008/05/27/joyent-video-what-is-cloud-computing/">others with YouTube videos</a>.   </p>
<p>In searching the WordPress MU forums, I found <a href="http://mu.wordpress.org/forums/topic.php?id=1964">this post from a year ago</a> that was seeking a solution to embed YouTube and Google videos. On the second page of responses, <a href="http://mu.wordpress.org/forums/topic.php?id=1964&amp;page=2#post-46843">I found a great solution</a> from a developer named <a href="http://hendyirawan.com/">Hendy Irawan</a>.</p>
<hr />
<p><strong>WARNING: THIS CAN BE A <em>SERIOUS</em> SECURITY RISK IF YOU DO NOT TRUST YOUR AUTHORS!</strong></p>
<p>In our case (for <a href="http://blogs.voxeo.com/">blogs.voxeo.com</a>), we tightly control who can post to this site, so this security concern is not a major one for us.  However, if you are operating a WPMU site where you let <em>anyone</em> sign up and create a new WPMU blog, I would very <em>STRONGLY</em> recommend you be <em>extremely</em> careful (as in &#8220;Don&#8217;t do it!&#8221;) with this as you can allow for the embedding of all sorts of content.</p>
<hr />
<p>Basically, Hendy&#8217;s plugin simply adds &lt;object&gt; and &lt;embed&gt; to the list of allowed tags in <code>kses.php</code>. The nice aspect, though, is that it is in a separate file in the plugins directory so that it will survive upgrades. This seems an obvious thing to do but was not something I had seen previously. Great idea.</p>
<p>So following the instructions, I created the file <code>&lt;WPMUHOME&gt;/wp-content/mu-plugins/embed_allower.php</code> with Hendy&#8217;s code in it and tried another upload with the SlideShare embed in it.  The result was <em>almost</em> there (new code in red):</p>
<blockquote><p><tt>&lt;div style=&#8221;width:425px;text-align:left&#8221; id=&#8221;__ss_525876&#8243;&gt;&lt;a href=&#8221;http://www.slideshare.net/danyork/oscon-2008-mashing-up-voice-and-the-web-using-open-source-and-xml?src=embed&#8221; title=&#8221;Mashing Up Voice and the Web Using Open Source and XML&#8221;&gt;OSCON 2008: Mashing Up Voice and the Web Using Open Source and XML&lt;/a&gt;<span style="color:#ff0c18">&lt;object width=&#8221;425&#8243; height=&#8221;355&#8243;&gt;&lt;embed src=&#8221;http://static.slideshare.net/swf/ssplayer2.swf?doc=oscon2008voicemashups-1216853182252884-9&amp;stripped_title=oscon-2008-mashing-up-voice-and-the-web-using-open-source-and-xml&#8221; type=&#8221;application/x-shockwave-flash&#8221; width=&#8221;425&#8243; height=&#8221;355&#8243;&gt;&lt;/embed&gt;&lt;/object&gt;</span><br />
&lt;div style=&#8221;font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px&#8221;&gt;view &lt;a href=&#8221;http://www.slideshare.net/danyork/oscon-2008-mashing-up-voice-and-the-web-using-open-source-and-xml?src=embed&#8221; title=&#8221;Mashing Up Voice and the Web Using Open Source and XML on SlideShare&#8221;&gt;presentation&lt;/a&gt; (tags: &lt;a href=&#8221;http://slideshare.net/tag/oscon2008&#8243;&gt;oscon2008&lt;/a&gt; &lt;a href=&#8221;http://slideshare.net/tag/oscon&#8221;&gt;oscon&lt;/a&gt; &lt;a href=&#8221;http://slideshare.net/tag/microblogging&#8221;&gt;microblogging&lt;/a&gt; &lt;a href=&#8221;http://slideshare.net/tag/identi-ca&#8221;&gt;identi.ca&lt;/a&gt;)&lt;/div&gt;</tt></p></blockquote>
<p>If you compare to the &lt;object&gt; snippet above, you&#8217;ll notice that the &lt;param&gt; element is missing and there are some other attributes on the &lt;embed&gt; object that aren&#8217;t there, either.</p>
<p>To accomplish this, I need to modify Hendy&#8217;s code, which is now shown below:</p>
<blockquote><pre>&lt;?php
/*
* Plugin Name: Embed Allower 2
* Plugin URI: http://blogs.voxeo.com/behindtheblog/wp-plugin-embed-allower-2/
* Description: Allows embed, object, and other security risks tags. LGPLv3.
* Version: 1.0
* Author: Dan York
* Author URI: http://blogs.voxeo.com/behindtheblog/
**/
/*
* Based on Embed Allower from Hendy Irawan at http://hendyirawan.com/
*
* WARNING: THERE ARE SERIOUS SECURITY RISKS with allowing these object and
* embed tags, especially in multi-author environments where you don't trust
* your users.  Please make sure you know what you are doing before using
* this.
*
* Dan York and Voxeo Corporation assume absolutely no liability if you have any
* security issues as a result of using this plugin. USE AT YOUR OWN RISK!
*/

// For more info see wp-includes/kses.php
if (!CUSTOM_TAGS) {
	$allowedposttags['embed'] = array(
		'style' =&gt; array(),
		'type' =&gt; array (),
		'id' =&gt; array (),
		'height' =&gt; array (),
		'width' =&gt; array (),
		'src' =&gt; array (),
		'object' =&gt; array(
			'height' =&gt; array (),
			'width' =&gt; array (),
			'param' =&gt; array (
				'name' =&gt; array (),
				'value' =&gt; array ()
			)
		)
	);
	$allowedposttags['object'] = array(
	        'style' =&gt; array (),
		'height' =&gt; array (),
		'width' =&gt; array (),
		'param' =&gt; array (
			'name' =&gt; array (),
			'value' =&gt; array ()
		),
		'embed' =&gt; array(
			'style' =&gt; array(),
			'type' =&gt; array (),
			'id' =&gt; array (),
			'height' =&gt; array (),
			'width' =&gt; array (),
			'src' =&gt; array (),
			'allowfullscreen' =&gt; array (),
			'allowscriptaccess' =&gt; array ()
		)
	);
	$allowedposttags['param'] = array (
	        'name' =&gt; array (),
		'value' =&gt; array ()
	);
}
?&gt;</pre>
</blockquote>
<p>I&#8217;ve now created <a href="http://blogs.voxeo.com/behindtheblog/plugin-embed-allower-2/">a specific page</a> for this plugin.  If you put it in your <code>&lt;WPMUHOME&gt;/wp-content/mu-plugins</code> directory it should now let you upload objects like SlideShare slide shows and other embedded objects.</p>
<p>If you do have any comments about this, please feel free to leave them here.  </p>
<p>And again, <em>please understand the security risks</em> of using this.  I would again strongly recommend <em>NOT</em> using this if you do not trust your authors. (On the other hand, if you run a corporate blog portal like we do, this may be perfectly fine.)</p>
<p><!-- Technorati Tags Start --></p>
<p>Technorati Tags:<br />
<a href="http://technorati.com/tag/wordpress" rel="tag">wordpress</a>, <a href="http://technorati.com/tag/wordpress%20mu" rel="tag">wordpress mu</a>, <a href="http://technorati.com/tag/wpmu" rel="tag">wpmu</a>, <a href="http://technorati.com/tag/plugins" rel="tag">plugins</a>, <a href="http://technorati.com/tag/wordpress%20plugins" rel="tag">wordpress plugins</a>
</p>
<p><!-- Technorati Tags End --></p>
<p><a href="http://sharethis.com/item?publisher=eb4321dc-f90d-4f2c-8ce5-3de4cbdb2a4a&title=Tip%3A+How+to+modify+WordPress+MU+to+allow+embed+objects+%28specifically+for+SlideShare%29&url=http%3A%2F%2Fblogs.voxeo.com%2Fbehindtheblog%2F2008%2F08%2F01%2Ftip-how-to-modify-wordpress-mu-to-allow-embed-objects-specifically-for-slideshare%2F">ShareThis</a></p><img src="http://feeds.voxeo.com/~r/BehindTheBlog/~4/352915566" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.voxeo.com/behindtheblog/2008/08/01/tip-how-to-modify-wordpress-mu-to-allow-embed-objects-specifically-for-slideshare/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.voxeo.com/behindtheblog/2008/08/01/tip-how-to-modify-wordpress-mu-to-allow-embed-objects-specifically-for-slideshare/</feedburner:origLink></item>
		<item>
		<title>Enabling skype: and sip: URLs in WordPress MU 1.5.1</title>
		<link>http://feeds.voxeo.com/~r/BehindTheBlog/~3/310104872/</link>
		<comments>http://blogs.voxeo.com/behindtheblog/2008/06/11/enabling-skype-and-sip-urls-in-wordpress-mu-151/#comments</comments>
		<pubDate>Thu, 12 Jun 2008 02:45:45 +0000</pubDate>
		<dc:creator>Dan York</dc:creator>
		
		<category><![CDATA[SIP]]></category>

		<category><![CDATA[Skype]]></category>

		<category><![CDATA[WordPress MU]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[wordpressmu]]></category>

		<category><![CDATA[WPMU]]></category>

		<guid isPermaLink="false">http://blogs.voxeo.com/behindtheblog/?p=25</guid>
		<description><![CDATA[Last week when I put up my request for readers to dial into some sample voice applications, I received the feedback (ironically via Twitter) that my &#8220;skype:&#8221; and &#8220;sip:&#8221; URLs weren&#8217;t working.  They appeared in the text correctly:
skype:+990009369996076704sip:9996076704@sip.voxeo.net
but they weren&#8217;t &#8220;clickable&#8221;. Instead of launching your Skype or SIP client, they went instead to:
http://blogs.voxeo.com/voiplab/2008/06/03/got-a-minute-to-make-a-couple-of-phone-calls-to-generate-some-traffic-for-screencasts/+990009369996076704
http://blogs.voxeo.com/voiplab/2008/06/03/got-a-minute-to-make-a-couple-of-phone-calls-to-generate-some-traffic-for-screencasts/9996076704@sip.voxeo.ne
Neither of [...]

<script type="text/javascript">
SHARETHIS.addEntry({
	title: "Enabling skype: and sip: URLs in WordPress MU 1.5.1",
	url: "http://blogs.voxeo.com/behindtheblog/2008/06/11/enabling-skype-and-sip-urls-in-wordpress-mu-151/"
});
</script>
	]]></description>
			<content:encoded><![CDATA[<p>Last week when I put up <a href="http://blogs.voxeo.com/voiplab/2008/06/03/got-a-minute-to-make-a-couple-of-phone-calls-to-generate-some-traffic-for-screencasts/">my request for readers to dial into some sample voice applications</a>, I received the feedback (ironically <a href="http://twitter.com/AndrewHansen/statuses/826022129">via Twitter</a>) that my &#8220;skype:&#8221; and &#8220;sip:&#8221; URLs weren&#8217;t working.  They appeared in the text correctly:<br />
<blockquote>skype:+990009369996076704<br />sip:9996076704@sip.voxeo.net</p></blockquote>
<p>but they weren&#8217;t &#8220;clickable&#8221;. Instead of launching your Skype or SIP client, they went instead to:</p>
<blockquote><p>http://blogs.voxeo.com/voiplab/2008/06/03/got-a-minute-to-make-a-couple-of-phone-calls-to-generate-some-traffic-for-screencasts/+990009369996076704</p>
<p>http://blogs.voxeo.com/voiplab/2008/06/03/got-a-minute-to-make-a-couple-of-phone-calls-to-generate-some-traffic-for-screencasts/9996076704@sip.voxeo.ne</p></blockquote>
<p>Neither of which worked, of course, so people got the good old 404 screen.  (Some of you may know where this is going&#8230;)  A quick look at the code showed the problem:<br />
<blockquote><tt>&lt;a href=&#8221;+990009369996076704&#8243;&gt;skype:+990009369996076704&#038;t;/a&gt; or &lt;a href=&#8221;sip:9996076704@sip.voxeo.net&#8221;&gt;9996076704@sip.voxeo.net&lt;/a&gt;</tt></p></blockquote>
<p>The &#8220;skype:&#8221; and &#8220;sip:&#8221; URL prefixes were being helpfully stripped out when the post was being published!  The links were then relative URLs which were of course bogus.</p>
<p>The solution turned out to be similar to what I <em>could</em> do to solve <a href="http://blogs.voxeo.com/behindtheblog/2008/03/31/the-challenge-of-embedding-xml-into-a-wordpress-mu-blog-entry/">my embedding XML problem</a>&#8230; modify the <tt>kses.php</tt> file. There at line 338 was this:<br />
<blockquote><tt>function wp_kses($string, $allowed_html, $allowed_protocols = array (&#8217;http&#8217;, &#8216;https&#8217;, &#8216;ftp&#8217;, &#8216;ftps&#8217;, &#8216;mailto&#8217;, &#8216;news&#8217;, &#8216;irc&#8217;, &#8216;gopher&#8217;, &#8216;nntp&#8217;, &#8216;feed&#8217;, &#8216;telnet&#8217;)) {</tt></p></blockquote>
<p>And so a simple change of adding &#8217;skype&#8217; and &#8217;sip&#8217; to the end of the list like this:<br />
<blockquote><tt>function wp_kses($string, $allowed_html, $allowed_protocols = array (&#8217;http&#8217;, &#8216;https&#8217;, &#8216;ftp&#8217;, &#8216;ftps&#8217;, &#8216;mailto&#8217;, &#8216;news&#8217;, &#8216;irc&#8217;, &#8216;gopher&#8217;, &#8216;nntp&#8217;, &#8216;feed&#8217;, &#8216;telnet&#8217;, &#8217;skype&#8217;, &#8217;sip&#8217;)) {</tt></p></blockquote>
<p>seems to have fixed the problem.  I had to re-enter the URL prefixes on the original post, but now the &#8220;skype:&#8221; and &#8220;sip:&#8221; URLs <em>do</em> work in <a href="http://blogs.voxeo.com/voiplab/2008/06/03/got-a-minute-to-make-a-couple-of-phone-calls-to-generate-some-traffic-for-screencasts/">the edited post</a>.</p>
<p>Fun, fun, fun&#8230;</p>
<p><!-- Technorati Tags Start --></p>
<p>Technorati Tags:<br />
<a href="http://technorati.com/tag/wordpress" rel="tag">wordpress</a>, <a href="http://technorati.com/tag/wordpress%20mu" rel="tag">wordpress mu</a>, <a href="http://technorati.com/tag/wpmu" rel="tag">wpmu</a>, <a href="http://technorati.com/tag/skype" rel="tag">skype</a>, <a href="http://technorati.com/tag/sip" rel="tag">sip</a>
</p>
<p><!-- Technorati Tags End --></p>
<p><a href="http://sharethis.com/item?publisher=eb4321dc-f90d-4f2c-8ce5-3de4cbdb2a4a&title=Enabling+skype%3A+and+sip%3A+URLs+in+WordPress+MU+1.5.1&url=http%3A%2F%2Fblogs.voxeo.com%2Fbehindtheblog%2F2008%2F06%2F11%2Fenabling-skype-and-sip-urls-in-wordpress-mu-151%2F">ShareThis</a></p><img src="http://feeds.voxeo.com/~r/BehindTheBlog/~4/310104872" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.voxeo.com/behindtheblog/2008/06/11/enabling-skype-and-sip-urls-in-wordpress-mu-151/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.voxeo.com/behindtheblog/2008/06/11/enabling-skype-and-sip-urls-in-wordpress-mu-151/</feedburner:origLink></item>
		<item>
		<title>Successful upgrade to WPMU 1.5.1 - with some lessons learned</title>
		<link>http://feeds.voxeo.com/~r/BehindTheBlog/~3/310093302/</link>
		<comments>http://blogs.voxeo.com/behindtheblog/2008/06/11/successful-upgrade-to-wpmu-151-with-some-lessons-learned/#comments</comments>
		<pubDate>Thu, 12 Jun 2008 02:26:09 +0000</pubDate>
		<dc:creator>Dan York</dc:creator>
		
		<category><![CDATA[1]]></category>

		<category><![CDATA[WordPress MU]]></category>

		<category><![CDATA[WPMU]]></category>

		<guid isPermaLink="false">http://blogs.voxeo.com/behindtheblog/?p=24</guid>
		<description><![CDATA[Tonight I successfully upgraded blogs.voxeo.com to WordPress MU 1.5.1, the latest version. I&#8217;ve been wanting to do this since the release a month ago but I&#8217;ve held off to monitor the WPMU Forums to see what upgrade issues there were. The other challenge is, of course, that doing a site-wide upgrade requires setting aside a [...]

<script type="text/javascript">
SHARETHIS.addEntry({
	title: "Successful upgrade to WPMU 1.5.1 - with some lessons learned",
	url: "http://blogs.voxeo.com/behindtheblog/2008/06/11/successful-upgrade-to-wpmu-151-with-some-lessons-learned/"
});
</script>
	]]></description>
			<content:encoded><![CDATA[<p>Tonight I successfully upgraded <a href="http://blogs.voxeo.com">blogs.voxeo.com</a> to WordPress MU 1.5.1, <a href="http://mu.wordpress.org/download/">the latest version</a>. I&#8217;ve been wanting to do this since<a href="http://ocaoimh.ie/2008/05/12/wordpress-mu-151/"> the release a month ago</a> but I&#8217;ve held off to monitor the <a href="http://mu.wordpress.org/forums">WPMU Forums</a> to see what upgrade issues there were. The other challenge is, of course, that doing a site-wide upgrade requires setting aside a block of time in case anything goes wrong (and it did&#8230; see below).  However, in light of <a href="http://www.techcrunch.com/2008/06/11/my-blog-was-hacked-is-yours-next-huge-wordpress-security-issues/">reports of mass hacking of WordPress sites</a> (see also <a href="http://ocaoimh.ie/2008/06/08/did-your-wordpress-site-get-hacked/">here</a>), I decided to make the upgrade tonight.</p>
<p>Following some of the links off of this forum post, I did successfully complete the upgrade, but I thought I&#8217;d record several lessons I learned in case they help others:</p>
<p><strong>1. BACKUPS ARE YOUR FRIEND</strong> - Before doing anything, I had done the good old<br />
<blockquote>
<pre><tt>tar -cvzf wpmu-backup-20080612.tgz wpmu</tt></pre>
</blockquote>
<p> command in the directory above my WPMU installation to have a nice little tar file sitting there. This turned out to be critical as I did in fact need to restore it all to how it originally was after messing it up with #2 below. I also <a href="http://codex.wordpress.org/Backup_WPMU">performed a MySQL backup</a> to be safe although that turned out not be needed.</p>
<p><strong>2. DISABLE ALL PLUGINS</strong> - This was mentioned in a few posts but for whatever reason I didn&#8217;t do it.  Bad move.  There was something about <a href="http://blogs.voxeo.com/behindtheblog/2008/01/11/supporting-openid-part-2a-setting-up-wpmu-to-accept-openid-logins/">the OpenID plugins</a> I was using that did <em>not</em> like the upgrade. It was somewhat bizarre in that the plugin to accept OpenID logins actually seemed to <em>start working</em>, which it hadn&#8217;t done before!  However, it was causing a host of errors - bizarrely even when I reverted to a backup&#8230; so I wound up going into <tt>mu-plugins</tt> and blowing away the OpenID plugins from the directory (thanks to having the backup in #1).</p>
<p><strong>3. YOU DO HAVE TO ADD THE SECRET KEY AND SALT</strong> - Just as detailed<a href="http://ocaoimh.ie/2008/05/12/wordpress-mu-151/"> on Donncha&#8217;s blog post</a>, on my first login to the admin interface I was given the warning that I needed to add two lines to my wp-config.php file.  This was a very simple copy/paste into a shell window I had open.</p>
<p><strong>4. USE &#8216;UPGRADE&#8217; FROM SITEADMIN</strong> - Once you&#8217;ve copied the WPMU 1.5.1 files into your WPMU directory, the upgrade process for the individual blogs is a simple matter of choosing &#8216;Upgrade&#8217; from the Site Admin menu.</p>
<p><strong>5. THE &#8216;DEFAULT&#8217; THEME GETS OVERWRITTEN!</strong> - After the upgrade, our <a href="http://blogs.voxeo.com/">home page</a> was perfectly fine, but each of the individual blogs looked horrible. After a forced browser refresh it became clear that they had reverted to the default Kubrick theme.  The issue became clear - <em>the &#8216;default&#8217; WP theme gets overwritten by the upgrade</em>. In retrospect, this makes sense, but here&#8217;s the problem - <em>we <em>replaced</em> the &#8216;default&#8217; theme with our own</em> that is visible on <a href="http://blogs.voxeo.com/behindtheblog/">any of our blogs</a>. The reason is simple&#8230; on this site, the only blogs that will be created will be with this theme.  It <em>will</em> be the default for all blogs.  Rather than create a separate theme directory and require blogs to be changed to that separate theme, it seemed to make sense to just replace the &#8216;default&#8217; theme.</p>
<p>Oops.</p>
<p>Thankfully because of the backup from #1, restoring our &#8216;default&#8217; theme was a trivial matter.</p>
<p>In a nutshell, those were my lessons from tonight.  We&#8217;ll see if there are any further issues as we use it, but so far everything seems fine (outside of the fact that I have to go back and add the OpenID plugins back in - which will be for another day).</p>
<p><!-- Technorati Tags Start --></p>
<p>Technorati Tags:<br />
<a href="http://technorati.com/tag/wordpress" rel="tag">wordpress</a>, <a href="http://technorati.com/tag/wordpressmu" rel="tag">wordpressmu</a>, <a href="http://technorati.com/tag/wordpress%20mu" rel="tag">wordpress mu</a>, <a href="http://technorati.com/tag/wpmu" rel="tag">wpmu</a>
</p>
<p><!-- Technorati Tags End --></p>
<p><a href="http://sharethis.com/item?publisher=eb4321dc-f90d-4f2c-8ce5-3de4cbdb2a4a&title=Successful+upgrade+to+WPMU+1.5.1+-+with+some+lessons+learned&url=http%3A%2F%2Fblogs.voxeo.com%2Fbehindtheblog%2F2008%2F06%2F11%2Fsuccessful-upgrade-to-wpmu-151-with-some-lessons-learned%2F">ShareThis</a></p><img src="http://feeds.voxeo.com/~r/BehindTheBlog/~4/310093302" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.voxeo.com/behindtheblog/2008/06/11/successful-upgrade-to-wpmu-151-with-some-lessons-learned/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.voxeo.com/behindtheblog/2008/06/11/successful-upgrade-to-wpmu-151-with-some-lessons-learned/</feedburner:origLink></item>
		<item>
		<title>Email subscription now available for this blog - and the challenges therein</title>
		<link>http://feeds.voxeo.com/~r/BehindTheBlog/~3/280312667/</link>
		<comments>http://blogs.voxeo.com/behindtheblog/2008/04/29/email-subscription-now-available-for-this-blog-and-the-challenges-therein/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 20:32:04 +0000</pubDate>
		<dc:creator>Dan York</dc:creator>
		
		<category><![CDATA[Feeds]]></category>

		<category><![CDATA[WordPress MU]]></category>

		<category><![CDATA[Subscriptions]]></category>

		<guid isPermaLink="false">http://blogs.voxeo.com/behindtheblog/2008/04/29/email-subscription-now-available-for-this-blog-and-the-challenges-therein/</guid>
		<description><![CDATA[As noted over on our Voxeo Talks blog, I&#8217;ve now set up an email subscription option to our &#8220;All Voxeo Blogs&#8221; feed through Feedburner.  For a reason I&#8217;ll discuss below, I&#8217;ve only enabled it for our all blogs feed.  
However, given that this &#8220;Behind the Blog&#8221; blog is different from all of our [...]

<script type="text/javascript">
SHARETHIS.addEntry({
	title: "Email subscription now available for this blog - and the challenges therein",
	url: "http://blogs.voxeo.com/behindtheblog/2008/04/29/email-subscription-now-available-for-this-blog-and-the-challenges-therein/"
});
</script>
	]]></description>
			<content:encoded><![CDATA[<p>As noted over <a href="http://blogs.voxeo.com/voxeotalks/2008/04/29/you-can-now-subscribe-to-our-blog-content-via-email/">on our Voxeo Talks blog</a>, I&#8217;ve now set up an email subscription option to our &#8220;All Voxeo Blogs&#8221; feed through Feedburner.  For a reason I&#8217;ll discuss below, I&#8217;ve only enabled it for our <em>all blogs feed</em>.  </p>
<p>However, given that this &#8220;Behind the Blog&#8221; blog is different from all of our other blogs, and also, quite frankly, because a reader requested it, I&#8217;ve also enabled the email subscription option for this particular blog. You can subscribe to just this blog via email by either entering your email address in the box in the far right sidebar - or by <a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=1515192&amp;loc=en_US">clicking this link</a>. Follow the link in the confirmation email and, ta da, you&#8217;re done.</p>
<p>So why haven&#8217;t I done this for <em>all</em> of our individual blogs?</p>
<p>Simple. I can&#8217;t easily automate it and have it appear in the same place as the other subscription options.</p>
<p>Let me explain a bit more. If you go to our main portal page of <a href="http://blogs.voxeo.com/">blogs.voxeo.com</a> you will see in the first sidebar under the heading &#8220;Subscribe&#8221; a link that says &#8220;<em>Subscribe via email</em>&#8220;. Click on that and a confirmation email later you are subscribed to the &#8220;all blogs&#8221; feed. Nice and easy.  </p>
<p>We use Feedburner for all of our feeds mostly to get the stats and also because it provides nice options like this email subscription option.</p>
<p>Here&#8217;s the thing. That &#8220;portal&#8221; page uses its own unique WPMU &#8220;theme&#8221; (very creatively called &#8220;voxeo-home&#8221;) to deal with how we present entries across all blogs and other ways in which we want to make the portal page different from our regular blog pages.  Because it is using its own unique theme, it&#8217;s trivial for me to add the &#8220;Subscribe via email&#8221; link. I just go into &#8220;<tt>sidebar1.php</tt>&#8220;, find the right place and add the link. Piece of cake.</p>
<p>However, all the actual blogs on the site use the <em>same</em> WPMU theme (&#8221;default&#8221;) and so they have the same sidebars by default. The problem, though, is this:<br />
<blockquote><em>Each blog has a unique Feedburner email subscription URL.</em></p></blockquote>
<p>So I can&#8217;t just add some magic to template sidebar and have this automagically work.  As I&#8217;ve thought about this, I see a couple of choices:
<ol>
<li><strong>Add only the All Blogs email subscription option</strong> - This is what I have done now. I&#8217;ve gone into the <tt>sidebar1.php</tt> file for the template and added the link to subscribe to the all blogs feed via email. This is simple and consistent with the other formatting. The problem of course is that it doesn&#8217;t let readers subscribe to <em>only</em> the blog they care about.  Readers of this blog about WPMU may not care about all the other stuff we&#8217;re doing at Voxeo. Readers to &#8220;<a href="http://blogs.voxeo.com/speakingofstandards">Speaking of Standards</a>&#8221; may only be interested in our positions on standards.  I&#8217;d like to offer the option. This choice doesn&#8217;t provide that option.
<li><strong>Manually add widgets to the blog sidebars</strong> - That&#8217;s what I&#8217;ve done here on this blog where I&#8217;ve added the widget over in sidebar 2 using the standard way to do so in the WP &#8220;Presentation-&gt;Widgets&#8221; menu. The good news is that I can offer the option, but the bad news is that it is off in a different area from the &#8220;Subscribe&#8221; options over in sidebar 1. (And for whatever reason, I can&#8217;t get the darn widget to say &#8220;Subscribe via email&#8221; on top, but that&#8217;s a different issue that I&#8217;m sure I&#8217;ll eventually sort out.)
<li><strong>Write some WP code to modify the template</strong> - I suspect the <em>real</em> answer is to write a WP function that grabs a URL from the database and inserts it in the relevant spot. In that way I&#8217;d enter the URL for the Feedburner email subscription for each individual blog into the database and then modify <tt>sidebar1.php</tt> in the theme to call the new WP function, which would pull the blog-specific URL from the database and insert it.  Sounds cool&#8230; but I also don&#8217;t see me having the cycles to do that anytime soon.
<li><strong>Search for a plugin that does #3</strong> - I suppose the other thing I can do is to search for a plugin that does what I described in #3. This involves searching through the various directories of plugins, trying out the code to see if it works with WPMU, etc. Maybe there&#8217;s one out there. (Heard of one?)</ol>
<p>That&#8217;s why I haven&#8217;t yet rolled out email subscriptions for each individual blog. Have any of you out there solved this issue?  What have you done? Is there a plugin you use for WPMU?</p>
<p><!-- Technorati Tags Start --></p>
<p>Technorati Tags:<br />
<a href="http://technorati.com/tag/feeds" rel="tag">feeds</a>, <a href="http://technorati.com/tag/subscription" rel="tag">subscription</a>, <a href="http://technorati.com/tag/feedburner" rel="tag">feedburner</a>, <a href="http://technorati.com/tag/wpmu" rel="tag">wpmu</a>, <a href="http://technorati.com/tag/wordpress%20mu" rel="tag">wordpress mu</a>, <a href="http://technorati.com/tag/wordpress" rel="tag">wordpress</a>, <a href="http://technorati.com/tag/plugins" rel="tag">plugins</a>
</p>
<p><!-- Technorati Tags End --></p>
<p><a href="http://sharethis.com/item?publisher=eb4321dc-f90d-4f2c-8ce5-3de4cbdb2a4a&title=Email+subscription+now+available+for+this+blog+-+and+the+challenges+therein&url=http%3A%2F%2Fblogs.voxeo.com%2Fbehindtheblog%2F2008%2F04%2F29%2Femail-subscription-now-available-for-this-blog-and-the-challenges-therein%2F">ShareThis</a></p><img src="http://feeds.voxeo.com/~r/BehindTheBlog/~4/280312667" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.voxeo.com/behindtheblog/2008/04/29/email-subscription-now-available-for-this-blog-and-the-challenges-therein/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.voxeo.com/behindtheblog/2008/04/29/email-subscription-now-available-for-this-blog-and-the-challenges-therein/</feedburner:origLink></item>
		<item>
		<title>Adding video comments to WPMU using Seesmic’s new plugin</title>
		<link>http://feeds.voxeo.com/~r/BehindTheBlog/~3/276953786/</link>
		<comments>http://blogs.voxeo.com/behindtheblog/2008/04/24/adding-video-comments-to-wpmu-using-seesmics-new-plugin/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 14:55:41 +0000</pubDate>
		<dc:creator>Dan York</dc:creator>
		
		<category><![CDATA[Video]]></category>

		<category><![CDATA[WordPress MU]]></category>

		<category><![CDATA[blogging]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[wordpressmu]]></category>

		<category><![CDATA[WPMU]]></category>

		<guid isPermaLink="false">http://blogs.voxeo.com/behindtheblog/2008/04/24/adding-video-comments-to-wpmu-using-seesmics-new-plugin/</guid>
		<description><![CDATA[If you look down in the comments area of this - or any other blog post - you&#8217;ll now see a link that says you can add a video comment:

What&#8217;s going on?  Well, I&#8217;ve added a new video plugin for Wordpress from the folks at Seesmic.  Here&#8217;s brief video intro from me:
Adding Seesmic&#8217;s [...]

<script type="text/javascript">
SHARETHIS.addEntry({
	title: "Adding video comments to WPMU using Seesmic&#8217;s new plugin",
	url: "http://blogs.voxeo.com/behindtheblog/2008/04/24/adding-video-comments-to-wpmu-using-seesmics-new-plugin/"
});
</script>
	]]></description>
			<content:encoded><![CDATA[<p><a href="http://wiki.seesmic.com/Wp-plugin"><img src="http://blogs.voxeo.com/behindtheblog/files/2008/04/imagesseesmiclogo.jpg" alt="seesmiclogo.jpg" border="0" height="136" width="134" align="right" /></a>If you look down in the comments area of this - or any other blog post - you&#8217;ll now see a link that says you can add a video comment:<br />
<img src="http://blogs.voxeo.com/behindtheblog/files/2008/04/imagesseesmicvideocomment.jpg" alt="seesmicvideocomment.jpg" border="0" height="53" width="330" /></p>
<p>What&#8217;s going on?  Well, I&#8217;ve added <a href="http://wiki.seesmic.com/Wp-plugin">a new video plugin for Wordpress</a> from the folks at <a href="http://www.seesmic.com/">Seesmic</a>.  Here&#8217;s brief video intro from me:<br />
<div style='display:block; clear:both; width:100%'><div id='HPiBziWhfW_preview'><a href='http://www.seesmic.com/video/HPiBziWhfW' target='_blank' class='see_link' >Adding Seesmic&#8217;s WP plugin to our WPMU site </a><br><div style='display:block;width:160px; height:120px; border:none; background-image:url(http://t.seesmic.com/thumbnail/drqRzo4T9X_th1.jpg)'><div id='HPiBziWhfW_hide' class='seePlayOverlay' style='display:none;'><img onclick="see_play_video('HPiBziWhfW',false)" src='http://blogs.voxeo.com/behindtheblog/wp-content/plugins/seesmic-wp-plugin/images/stopOverlay.png' width='50'  height='50' style='cursor:pointer; cursor:hand' /></div><div id='HPiBziWhfW_show' class='seePlayOverlay'><img onclick="see_play_video('HPiBziWhfW',true)" src='http://blogs.voxeo.com/behindtheblog/wp-content/plugins/seesmic-wp-plugin/images/playOverlay.png' width='50'  height='50' style='cursor:pointer; cursor:hand; border:none' /></div></div></div><div id='HPiBziWhfW_content' style='display:block; clear:both; width:100%; padding-top:5px'></div></div></p>
<p>The plugin was <a href="http://www.techcrunch.com/2008/04/23/new-video-comments-on-all-techcrunch-blogs/">announced yesterday on Techcrunch</a> and also on (Seesmic founder) <a href="http://www.loiclemeur.com/english/2008/04/just-launched-v.html">Loic LeMeur&#8217;s blog</a>. The folks at Seesmic even nicely created a little YouTube tutorial about the plugin:<br />
<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/juIttYPzuIU&amp;hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/juIttYPzuIU&amp;hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>
<p>Adding the plugin to WordPress MU was very straightforward. I downloaded the code, unzipped it and copied the directory into the &#8220;plugins&#8221; directory (NOT mu-plugins).  I then went into Site Administration -&gt; Plugin Commander and clicked on the &#8220;Allow&#8221; link to allow individual blogs to have this capability.  Next I went into the admin dashboard for <em>this</em> blog and enabled the plugin for this blog.  Ta da&#8230; video comments and embeds into posts are now enabled.</p>
<p>Why didn&#8217;t I just enable it across all blogs?  Well, I like the granularity of being able to enable or disable it on a per-blog basis.  The reality is that I&#8217;ll probably enable it for all the blogs on this site that <em>I</em> primarily run.  But we may have other blogs here that others run (as Chris does with the <a href="http://blogs.voxeo.com/voiplab">Voxeo Labs blog</a>) where they don&#8217;t want to use video. </p>
<p>One note I should make. In the Seesmic plugin configuration (for each blog), I have opted to <em>allow</em> &#8220;anonymous&#8221; video comments, meaning that someone does not need to have a Seesmic account in order to leave a video comment.  There&#8217;s a checkbox there that enables that kind of posting:<br />
<img src="http://blogs.voxeo.com/behindtheblog/files/2008/04/imagesseesmicanonymouscheckbox.jpg" alt="seesmicanonymouscheckbox.jpg" border="0" width="284" height="103" /></p>
<p>Now, the one down-side I&#8217;ve already discovered is that in order to use it to embed a video in a post like this, I have to use the WordPress web editor to write my post.  However, I almost <em>never</em> use this web editor because I&#8217;ve gotten very addicted to doing all my blogging offline using MarsEdit.  However, I think odds are that when I want to embed a video, I probably won&#8217;t want to write as much text, so I probably won&#8217;t need all the shortcuts that I&#8217;ve gotten used to in MarsEdit.  (I may also be able to go into the web editor, record and embed the video, save it as a draft, and then pull it down into MarsEdit and do further editing there - I&#8217;ll have to try it.)</p>
<p>Outside of that, it seems like a cool way to add video into the blogging platform.  Let me know what you think.  Hey&#8230; if you have a webcam, you can leave me a video comment!<br />
<!-- Technorati Tags Start --></p>
<p>Technorati Tags:<br />
<a href="http://technorati.com/tag/video" rel="tag">video</a>, <a href="http://technorati.com/tag/seesmic" rel="tag">seesmic</a>, <a href="http://technorati.com/tag/wordpress" rel="tag">wordpress</a>, <a href="http://technorati.com/tag/wordpressmu" rel="tag">wordpressmu</a>, <a href="http://technorati.com/tag/wpmu" rel="tag">wpmu</a>, <a href="http://technorati.com/tag/blogging" rel="tag">blogging</a>
</p>
<p><!-- Technorati Tags End --></p>
<p><a href="http://sharethis.com/item?publisher=eb4321dc-f90d-4f2c-8ce5-3de4cbdb2a4a&title=Adding+video+comments+to+WPMU+using+Seesmic%26%238217%3Bs+new+plugin&url=http%3A%2F%2Fblogs.voxeo.com%2Fbehindtheblog%2F2008%2F04%2F24%2Fadding-video-comments-to-wpmu-using-seesmics-new-plugin%2F">ShareThis</a></p><img src="http://feeds.voxeo.com/~r/BehindTheBlog/~4/276953786" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.voxeo.com/behindtheblog/2008/04/24/adding-video-comments-to-wpmu-using-seesmics-new-plugin/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.voxeo.com/behindtheblog/2008/04/24/adding-video-comments-to-wpmu-using-seesmics-new-plugin/</feedburner:origLink></item>
	</channel>
</rss>
