<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: An evil little trick.</title>
	<atom:link href="http://brassblogs.com/blog/an-evil-little-trick/feed" rel="self" type="application/rss+xml" />
	<link>http://brassblogs.com/blog/an-evil-little-trick</link>
	<description>Web Design located in Simsbury (a suburb of Hartford) CT</description>
	<lastBuildDate>Mon, 26 Jul 2010 11:07:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Shelly</title>
		<link>http://brassblogs.com/blog/an-evil-little-trick#comment-83</link>
		<dc:creator>Shelly</dc:creator>
		<pubDate>Mon, 20 Apr 2009 14:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://brassblogs.com/?p=24#comment-83</guid>
		<description>I thought I should mention an edit to his.  i actually had someone use this and it didn&#039;t work for them.  Turns out the client was using something else (I can&#039;t remember what,exactly, but it was another Microsoft Editor of some kind) and the $find array wasn&#039;t catching the text, and the stuff was slipping by.

To fix it, we just edited the array slightly.  The happy thing about Microsoft stuff is that they love that &quot;MsoNormal&quot; crap.  So instead of:

&lt;code&gt;$find = array( &#039;&lt;p class=&quot;MsoNormal&quot;&#039;, &#039;&lt;font&#039; );&lt;/code&gt;

we edited it to reflect the following:

&lt;code&gt;$find = array( &#039;MsoNormal&#039;, &#039;&lt;font&#039; );&lt;/code&gt;

And now anytime &quot;MsoNormal&quot; is used( it&#039;s not case-sensitive), or the &lt;code&gt;&lt;font&gt;&lt;/code&gt; tag, it&#039;s found.  A little less specific, but still very effective.</description>
		<content:encoded><![CDATA[<p>I thought I should mention an edit to his.  i actually had someone use this and it didn&#8217;t work for them.  Turns out the client was using something else (I can&#8217;t remember what,exactly, but it was another Microsoft Editor of some kind) and the $find array wasn&#8217;t catching the text, and the stuff was slipping by.</p>
<p>To fix it, we just edited the array slightly.  The happy thing about Microsoft stuff is that they love that &#8220;MsoNormal&#8221; crap.  So instead of:</p>
<p><code>$find = array( '&lt;p class="MsoNormal"', '&lt;font' );</code></p>
<p>we edited it to reflect the following:</p>
<p><code>$find = array( 'MsoNormal', '&lt;font' );</code></p>
<p>And now anytime &#8220;MsoNormal&#8221; is used( it&#8217;s not case-sensitive), or the <code>&lt;font></code> tag, it&#8217;s found.  A little less specific, but still very effective.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shelly</title>
		<link>http://brassblogs.com/blog/an-evil-little-trick#comment-82</link>
		<dc:creator>Shelly</dc:creator>
		<pubDate>Mon, 20 Apr 2009 14:26:43 +0000</pubDate>
		<guid isPermaLink="false">http://brassblogs.com/?p=24#comment-82</guid>
		<description>LOL - I shall now don my silver armor and ride my white horse against the tyranny of Microsoft! ;)</description>
		<content:encoded><![CDATA[<p>LOL &#8211; I shall now don my silver armor and ride my white horse against the tyranny of Microsoft! <img src='http://brassblogs.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://brassblogs.com/blog/an-evil-little-trick#comment-81</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Mon, 20 Apr 2009 13:20:12 +0000</pubDate>
		<guid isPermaLink="false">http://brassblogs.com/?p=24#comment-81</guid>
		<description>Beautiful!

It&#039;s MS Word that&#039;s evil; this trick purges the world of evil, so has to be good.

Don&#039;t give up the moral high ground so easily!</description>
		<content:encoded><![CDATA[<p>Beautiful!</p>
<p>It&#8217;s MS Word that&#8217;s evil; this trick purges the world of evil, so has to be good.</p>
<p>Don&#8217;t give up the moral high ground so easily!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shelly</title>
		<link>http://brassblogs.com/blog/an-evil-little-trick#comment-13</link>
		<dc:creator>Shelly</dc:creator>
		<pubDate>Thu, 08 Jan 2009 12:45:26 +0000</pubDate>
		<guid isPermaLink="false">http://brassblogs.com/?p=24#comment-13</guid>
		<description>Yes, I agree.  This isn&#039;t something I&#039;ve ever actually implemented (well, okay - ONCE I did.  I couldn&#039;t help it.  After a while, you really get tired of the &quot;emergency&quot; emails that the site is broken because they&#039;ve used Word again, after you&#039;ve told them not to about 800 times LOL) 

I would have liked to put this within the editor itself as well, but most clients who use Word to do their content also use the Visual Rich Editor - which utilizes TinyMCE.  I&#039;m not a Javascript guru, but the one time (a few years ago) when I did try to add a plugin to TinyMCE, it was a nightmare.  I can&#039;t imagine editing it so that it would recognize Word stuff.  Well, I can, but I know *I* couldn&#039;t do it!

This was a &quot;quickie test&quot; thing that I wrote in response to a query, and it actually worked pretty well.  The lady I wrote it for actually used an image to notify the client that the post was broken - so it&#039;s very versatile. 

Anyway, if you ever do try to make it work with Tiny MCE, by all means, share! :)</description>
		<content:encoded><![CDATA[<p>Yes, I agree.  This isn&#8217;t something I&#8217;ve ever actually implemented (well, okay &#8211; ONCE I did.  I couldn&#8217;t help it.  After a while, you really get tired of the &#8220;emergency&#8221; emails that the site is broken because they&#8217;ve used Word again, after you&#8217;ve told them not to about 800 times LOL) </p>
<p>I would have liked to put this within the editor itself as well, but most clients who use Word to do their content also use the Visual Rich Editor &#8211; which utilizes TinyMCE.  I&#8217;m not a Javascript guru, but the one time (a few years ago) when I did try to add a plugin to TinyMCE, it was a nightmare.  I can&#8217;t imagine editing it so that it would recognize Word stuff.  Well, I can, but I know *I* couldn&#8217;t do it!</p>
<p>This was a &#8220;quickie test&#8221; thing that I wrote in response to a query, and it actually worked pretty well.  The lady I wrote it for actually used an image to notify the client that the post was broken &#8211; so it&#8217;s very versatile. </p>
<p>Anyway, if you ever do try to make it work with Tiny MCE, by all means, share! <img src='http://brassblogs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LGR</title>
		<link>http://brassblogs.com/blog/an-evil-little-trick#comment-12</link>
		<dc:creator>LGR</dc:creator>
		<pubDate>Thu, 08 Jan 2009 06:22:43 +0000</pubDate>
		<guid isPermaLink="false">http://brassblogs.com/?p=24#comment-12</guid>
		<description>I have thought of doing something like this. My thought was to just let them use Word, and change the behaviour of the editor to always look for Word content. Basically run the Paste from Word script all the time. But on the other hand the clients break it, they still pay to fix it. Oh well.</description>
		<content:encoded><![CDATA[<p>I have thought of doing something like this. My thought was to just let them use Word, and change the behaviour of the editor to always look for Word content. Basically run the Paste from Word script all the time. But on the other hand the clients break it, they still pay to fix it. Oh well.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
