<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.ephox.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.ephox.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" version="2.0">

<channel>
	<title>Ephox LiveWorks!</title>
	
	<link>http://liveworks.ephox.com</link>
	<description>Early Access And Add-ons From Ephox</description>
	<pubDate>Tue, 22 Jul 2008 16:00:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.ephox.com/EphoxLiveworks" type="application/rss+xml" /><item>
		<title>Setting The Default Font In EditLive!</title>
		<link>http://liveworks.ephox.com/2008/07/22/setting-the-default-font-in-editlive/</link>
		<comments>http://liveworks.ephox.com/2008/07/22/setting-the-default-font-in-editlive/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 16:00:24 +0000</pubDate>
		<dc:creator>Adrian Sutton</dc:creator>
		
		<category><![CDATA[EditLive!]]></category>

		<category><![CDATA[Hints &amp; Tips]]></category>

		<category><![CDATA[Styles]]></category>

		<guid isPermaLink="false">http://liveworks.ephox.com/?p=154</guid>
		<description><![CDATA[
       One of the questions that we commonly get asked is how to set the default font in EditLive! The answer is actually quite simple, just specify it in your stylesheet. &#160;If you already have a stylesheet that you’re using with EditLive! simply add the CSS&#160;rule:
    [...]]]></description>
			<content:encoded><![CDATA[<p>
       One of the questions that we commonly get asked is how to set the default font in EditLive! The answer is actually quite simple, just specify it in your stylesheet. &#160;If you already have a stylesheet that you’re using with EditLive! simply add the CSS&#160;rule:
    </p>
<pre>
body {
  font-family: “Arial”;
}
</pre>
<p>
       This will set the default font to “Arial”. You can set the font name to any font you like, but remember that the font may not be available on all the computer that view you pages and if it’s not, it will fall back to the browser’s default font which is usually Times New Roman.
    </p>
<p>
       If you aren’t currently using a stylesheet, you can insert it in to the EditLive! configuration file instead. &#160;Your configuration file will have a structure like:
    </p>
<pre>
&#60;EditLive&#62;
&#160;&#160;&#160;&#160;…
&#160;&#160;&#160;&#160;&#60;document&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;html&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;head&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;/head&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;body&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;/body&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;/html&#62;
&#160;&#160;&#160;&#160;&#60;/document&#62;
&#160;&#160;&#160;&#160;…
&#60;/EditLive&#62;
</pre>
<p>
       You simply need to add a style tag inside the “head” element, like below:
    </p>
<pre>
&#60;EditLive&#62;
&#160;&#160;&#160;&#160;…
&#160;&#160;&#160;&#160;&#60;document&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;html&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;head&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;style type=”text/css”&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;body {
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;font-family: “Arial”;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;/style&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;/head&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;body&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;/body&#62;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;/html&#62;
&#160;&#160;&#160;&#160;&#60;/document&#62;
&#160;&#160;&#160;&#160;…
&#60;/EditLive&#62;
</pre>
<p>
       Note that when you specify the style element in the configuration file, it will replace any style tags that already exist in your documents.
    </p>
<p>
       The reason EditLive! uses CSS&#160;for this is so that it matches the look of your site. Like EditLive!, browsers default to Times New Roman if you don’t specify a font so if you just change the default that EditLive! uses, it would still use Times New Roman in your browser. By specifying the font with CSS instead, it changes in both EditLive! and your browser. Of course, if you specify the style tag in the configuration file, and then only retrieve the body content you’ll need to add the CSS to your site template as well, but if you retrieve the entire document the style tag will be included.
    </p>
<p>
       The other advantage of using CSS is that this isn’t limited to just changing the default font. You can change the size, color and a whole range of other settings in the same way, just by including them in your CSS.
    </p>
]]></content:encoded>
			<wfw:commentRss>http://liveworks.ephox.com/2008/07/22/setting-the-default-font-in-editlive/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Permanently Accepting EditLive’s Certificate</title>
		<link>http://liveworks.ephox.com/2008/07/15/permanently-accepting-editlives-certificate/</link>
		<comments>http://liveworks.ephox.com/2008/07/15/permanently-accepting-editlives-certificate/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 15:00:54 +0000</pubDate>
		<dc:creator>Adrian Sutton</dc:creator>
		
		<category><![CDATA[EditLive!]]></category>

		<category><![CDATA[Hints &amp; Tips]]></category>

		<category><![CDATA[User Experience]]></category>

		<guid isPermaLink="false">http://liveworks.ephox.com/?p=153</guid>
		<description><![CDATA[
       When users first run EditLive! they are asked if they trust EditLive! &#160;This is an important security measure to prevent malicious applications from running on your computer but it can be annoying for users to be asked to trust EditLive! repeatedly. &#160;Fortunately, it&#39;s simple, and for the majority [...]]]></description>
			<content:encoded><![CDATA[<p>
       When users first run EditLive! they are asked if they trust EditLive! &#160;This is an important security measure to prevent malicious applications from running on your computer but it can be annoying for users to be asked to trust EditLive! repeatedly. &#160;Fortunately, it&#39;s simple, and for the majority of users the default, to permanently trust EditLive! so the security dialog never comes up again.
    </p>
<p>
       For Java 1.4 on Windows, Linux and Solaris, the dialog will look like:
    </p>
<p>
       <img alt="" width="514" height="336" src="http://liveworks.ephox.com/wp-content/uploads/java14accept.png" />
    </p>
<p>
       The user can simply click &quot;Always&quot; and the dialog will not be shown again.
    </p>
<p>
       For Java 1.5 and 1.6 on Windows, Linux and Solaris the dialog will look like:
    </p>
<p>
       <img alt="" width="518" height="328" src="http://liveworks.ephox.com/wp-content/uploads/java16cert.png" />
    </p>
<p>
       The user simply checks the &quot;Always trust content from this publisher&quot; if it&#39;s not already checked and then clicks &quot;Run&quot;.
    </p>
<p>
       Mac OS&#160;X makes it a little more difficult. Initially the dialog looks roughly like (this one is actually from our Equation Editor integration):
    </p>
<p>
       <img alt="" width="599" height="264" src="http://liveworks.ephox.com/wp-content/uploads/macosxcert.png" />
    </p>
<p>
       To permanently trust&#160;EditLive! the user must first click &quot;Show Certificate&quot; and the dialog will expand to look like:
    </p>
<p>
       <img alt="" width="599" height="497" src="http://liveworks.ephox.com/wp-content/uploads/maxosxcertalways.png" />
    </p>
<p>
       Then check the &quot;Always trust&quot; checkbox and then click the &quot;Trust&quot;&#160;button.
    </p>
]]></content:encoded>
			<wfw:commentRss>http://liveworks.ephox.com/2008/07/15/permanently-accepting-editlives-certificate/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Using “Pop Out” Mode To Improve The User Experience</title>
		<link>http://liveworks.ephox.com/2008/07/08/using-pop-out-mode-to-improve-the-user-experience/</link>
		<comments>http://liveworks.ephox.com/2008/07/08/using-pop-out-mode-to-improve-the-user-experience/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 17:00:12 +0000</pubDate>
		<dc:creator>Suneth Mendis</dc:creator>
		
		<category><![CDATA[EditLive!]]></category>

		<category><![CDATA[Hints &amp; Tips]]></category>

		<category><![CDATA[User Experience]]></category>

		<guid isPermaLink="false">http://liveworks.ephox.com/?p=152</guid>
		<description><![CDATA[
       Popout window mode is one of the hidden gems of EditLive!. Once the button is pressed, EditLive! pops out from your browser and behaves like a native window which you can move and resize to your hearts content. This means you really don&#39;t need to strain your eyes [...]]]></description>
			<content:encoded><![CDATA[<p>
       Popout window mode is one of the hidden gems of EditLive!. Once the button is pressed, EditLive! pops out from your browser and behaves like a native window which you can move and resize to your hearts content. This means you really don&#39;t need to strain your eyes to edit great looking content in EditLive!. Recently I discovered that many users tend to ignore or simply didn&#39;t know about this wonderful feature built into the editor. Enabling window mode is really easy. All you have to do is include the appropriate toolbar or menubar item on your configuration file.
    </p>
<h3>
       Menubar<br />
    </h3>
<pre class="code">
<span class="xml_tag_symbols">&#60;</span><span class="xml_tag_name">menuItem</span> <span class="xml_attribute_name">name</span><span class="xml_tag_symbols">=</span><span class="xml_attribute_value">&quot;Popout&quot;</span><span class="xml_tag_symbols">/&#62;</span>
</pre>
<p>
       <img src="http://liveworks.ephox.com/wp-content/uploads/popoutmenu.png" alt="" />
    </p>
<h3>
       Toolbar<br />
    </h3>
<pre class="code">
<span class="xml_tag_symbols">&#60;</span><span class="xml_tag_name">toolbarButton</span> <span class="xml_attribute_name">name</span><span class="xml_tag_symbols">=</span><span class="xml_attribute_value">&quot;popout&quot;</span><span class="xml_tag_symbols">/&#62;</span>
</pre>
<p>
       <img src="http://liveworks.ephox.com/wp-content/uploads/popouttoolbar.png" alt="" />
    </p>
<p>
       Once the button is included in the configuration file, you will see the pop out icon appear in your toolbar or the menubar or both.
    </p>
<h3>
       JavaScript<br />
    </h3>
<p>
       Alternatively, if you like to do this via a javascript button, rather than from the toolbar or the menubar you can utilize EditLive! advance API goodness to get the job done. Process involve 3 easy steps.
    </p>
<ol>
<li>
<p>
           Assign a onclick event to your button which call a javascript function
        </p>
<pre>
<span class="xml_tag_symbols">&#60;</span><span class="xml_tag_name">input</span> <span class="xml_attribute_name">type</span><span class="xml_tag_symbols">=</span><span class="xml_attribute_value">&quot;button&quot;</span> <span class="xml_attribute_name">value</span><span class="xml_tag_symbols">=</span><span class="xml_attribute_value">&quot;Window Mode&quot;</span> <span class="xml_attribute_name">onclick</span><span class="xml_tag_symbols">=</span><span class="xml_attribute_value">&quot;javascript:showWindowMode();&quot;</span><span class="xml_tag_symbols">/&#62;</span>
</pre>
</li>
<li>
<p>
           Define a javascript function and call RaiseEvent method on your EditLive! instance
        </p>
<pre class="code">
<span class="java_plain">function showWindowMode</span><span class="java_separator">()</span> <span class="java_separator">{</span>
<span class="java_plain"> <em>EDITLIVE_INSTANCE_NAME</em></span><span class="java_separator">.</span><span class="java_type">RaiseEvent</span><span class="java_separator">(</span><span class="java_literal">&quot;openFullWindow&quot;</span><span class="java_separator">);
}</span>
</pre>
</li>
<li>
        Catch the custom event in your Advance API class in raiseEvent method: </p>
<pre class="code">
<span class="java_keyword">public</span> <span class="java_type">void</span><span class="java_plain"> raiseEvent</span><span class="java_separator">(</span><span class="java_type">TextEvent</span><span class="java_plain"> e</span><span class="java_separator">)</span> <span class="java_separator">{</span>
<span class="java_keyword">  switch</span> <span class="java_separator">(</span><span class="java_plain">e</span><span class="java_separator">.</span><span class="java_plain">getActionCommand</span><span class="java_separator">())</span> <span class="java_separator">{</span>
<span class="java_keyword">    case</span> <span class="java_type">TextEvent</span><span class="java_separator">.</span><span class="java_plain">CUSTOM_ACTION</span><span class="java_operator">:</span>
<span class="java_keyword">      if</span> <span class="java_separator">(</span><span class="java_literal">&quot;openFullWindow&quot;</span><span class="java_separator">.</span><span class="java_plain">equals</span><span class="java_separator">(</span><span class="java_plain">e</span><span class="java_separator">.</span><span class="java_plain">getExtraString</span><span class="java_separator">()))</span> <span class="java_separator">{</span>
<span class="java_plain">        _bean</span><span class="java_separator">.</span><span class="java_plain">raiseEvent</span><span class="java_separator">(</span><span class="java_keyword">new</span> <span class="java_type">TextEvent</span><span class="java_separator">(</span><span class="java_keyword">this</span><span class="java_separator">,</span> <span class="java_type">TextEvent</span><span class="java_separator">.</span><span class="java_plain">WINDOW_MODE</span><span class="java_separator">,</span> <span class="java_literal">&quot;&quot;</span><span class="java_separator">,</span> <span class="java_literal">0</span><span class="java_separator">));</span>
<span class="java_separator">      }</span>
<span class="java_keyword">      break</span><span class="java_separator">;</span>
<span class="java_separator">    }</span>
<span class="java_separator">  }</span>
<span class="java_separator">}</span>
</pre>
<p>
           Note that the extra string is the parameter you passed from your javascript function, like &quot;openFullWindow&quot; in this example.
        </p>
</li>
</ol>
<p>
       And that’s it really! Now &#160;you can enjoy the EditLive! goodness without the applet size constraints. Happy editing!
    </p>
<p>
       &#160;
    </p>
]]></content:encoded>
			<wfw:commentRss>http://liveworks.ephox.com/2008/07/08/using-pop-out-mode-to-improve-the-user-experience/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Getting the URI to a image or file component with the IBM WCM APIs</title>
		<link>http://liveworks.ephox.com/2008/07/01/getting-the-uri-to-a-image-or-file-component-with-the-ibm-wcm-apis/</link>
		<comments>http://liveworks.ephox.com/2008/07/01/getting-the-uri-to-a-image-or-file-component-with-the-ibm-wcm-apis/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 15:00:46 +0000</pubDate>
		<dc:creator>Robert Dawson</dc:creator>
		
		<category><![CDATA[Hints &amp; Tips]]></category>

		<category><![CDATA[IWWCM]]></category>

		<guid isPermaLink="false">http://liveworks.ephox.com/?p=148</guid>
		<description><![CDATA[
       In order to create a link to a file or image component in the WCM repository, there is a 4 step process.
    


        Create a renderer
      

       [...]]]></description>
			<content:encoded><![CDATA[<p>
       In order to create a link to a file or image component in the WCM repository, there is a 4 step process.
    </p>
<ol>
<li>
        Create a renderer
      </li>
<li>
        Set the default context on the renderer to a site area.
      </li>
<li>
        Render out a link tag that references the component.
      </li>
<li>
        Get the actual desired url using a regex
      </li>
</ol>
<p>
       The code which you can use as a starting point for doing this is included below:
    </p>
<pre>
<span style=" color: #2f9956;">//create a renderer</span>
workspace<span style=" color: #000000;">.createRenderingContext(
</span>&#160;&#160;&#160;&#160;portletRequest<span style=" color: #000000;">,</span> portletResponse<span style=" color: #000000;">,</span> <span style=" font-weight: bold; color: #7f0055;">Collections</span><span style=" color: #000000;">.</span>EMPTY_MAP<span style=" color: #000000;">);</span>
<span style=" color: #2f9956;">//set the rendered content to a site area</span>
renderingContext<span style=" color: #000000;">.setRenderedContent(</span>siteArea<span style=" color: #000000;">);</span>

<span style=" color: #2f9956;">//render the component (which will create an a tag)</span>
<span style=" font-weight: bold; color: #7f0055;">String</span> linkToComponent <span style=" color: #000000;">=</span> workspace<span style=" color: #000000;">.render(
</span>&#160;&#160;&#160;&#160;renderingContext<span style=" color: #000000;">,</span> fileOrImageComponent<span style=" color: #000000;">);</span>

<span style=" color: #2f9956;">//get the url for the component (using the below code)</span>
result <span style=" color: #000000;">=</span> <span style=" color: #000000;">getUrl(</span>linkToComponent<span style=" color: #000000;">));</span>

<span style=" color: #2f9956;">//regular expression that can be used to refer to the rendered link</span>
<span style=" font-weight: bold; color: #7f0055;">public static final</span> <span style=" font-weight: bold; color: #7f0055;">Pattern</span> IMG_SRC_PATTERN <span style=" color: #000000;">=</span>
        <span style=" font-weight: bold; color: #7f0055;">Pattern</span><span style=" color: #000000;">.compile(
</span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style=" color: #0000ff;">&quot;&#60;\\s*img\\s[^&#62;]*src\\s*=\\s*\&quot;([^\\\&quot;]*)(\&quot;)[^&#62;]*&#62;&quot;</span><span style=" color: #000000;">);</span>

<span style=" color: #2f9956;">//used a regex to get the url for the component</span>
<span style=" font-weight: bold; color: #7f0055;">String</span> <span style=" color: #000000;">getUrl(</span><span style=" font-weight: bold; color: #7f0055;">String</span> url<span style=" color: #000000;">) {</span>
	<span style=" font-weight: bold; color: #7f0055;">String</span> result <span style=" color: #000000;">=</span> <span style=" color: #0000ff;">&quot;&quot;</span><span style=" color: #000000;">;</span>
	<span style=" font-weight: bold; color: #7f0055;">Matcher</span> matcher <span style=" color: #000000;">=</span> IMG_SRC_PATTERN<span style=" color: #000000;">.matcher(</span>url<span style=" color: #000000;">);</span>
	<span style=" font-weight: bold; color: #7f0055;">boolean</span> found <span style=" color: #000000;">=</span> matcher<span style=" color: #000000;">.find();</span>

	<span style=" font-weight: bold; color: #7f0055;">if</span> <span style=" color: #000000;">(</span>found<span style=" color: #000000;">) {</span>
		result <span style=" color: #000000;">=</span> matcher<span style=" color: #000000;">.group(1);</span>
	<span style=" color: #000000;">}</span>
	<span style=" font-weight: bold; color: #7f0055;">return</span> result<span style=" color: #000000;">;</span>
<span style=" color: #000000;">}</span>
</pre>
<p>
       &#160;
    </p>
]]></content:encoded>
			<wfw:commentRss>http://liveworks.ephox.com/2008/07/01/getting-the-uri-to-a-image-or-file-component-with-the-ibm-wcm-apis/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Certificate Expired Warning Dialog Appears</title>
		<link>http://liveworks.ephox.com/2008/06/24/certificate-expired-warning-dialog-appears/</link>
		<comments>http://liveworks.ephox.com/2008/06/24/certificate-expired-warning-dialog-appears/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 15:00:08 +0000</pubDate>
		<dc:creator>Adrian Sutton</dc:creator>
		
		<category><![CDATA[EditLive!]]></category>

		<category><![CDATA[Hints &amp; Tips]]></category>

		<guid isPermaLink="false">http://liveworks.ephox.com/?p=147</guid>
		<description><![CDATA[       Symptom    
       When loading EditLive! for the first time in a browser session, a security warning dialog appears stating that the certificate has expired. Note that this is slightly different to the initial security warning dialog which states that [...]]]></description>
			<content:encoded><![CDATA[<h3>       Symptom    </h3>
<p>       When loading EditLive! for the first time in a browser session, a security warning dialog appears stating that the certificate has expired. Note that this is slightly different to the initial security warning dialog which states that the certificate is valid - that’s normal and users should choose to “Always&#160;Accept” the certificate to prevent it reappearing.    </p>
<h3>       Cause    </h3>
<p>       For security reasons, the&#160;EditLive! applet is signed with a digital certificate that verifies that the applet is provided by Ephox and that it hasn’t been modified maliciously. This lets users know that it is safe to run the applet. The digital certificates used to do this are issued by a trusted issuer who verifies that Ephox is a legitimate company, however the certificate can only be issued for a specific period of time - usually two years.    </p>
<p>       The security warning appears once the digital certificate used to sign the editlivejava.jar file has expired.    </p>
<h3>       Solution    </h3>
<p>       The simplest solution is to update to the latest version of EditLive! which will be signed with a valid certificate (we renew the certificate some time before it expires to help avoid this issue). &#160;Alternatively, users can simply choose to always accept the certificate again and the warning will not reappear.    </p>
]]></content:encoded>
			<wfw:commentRss>http://liveworks.ephox.com/2008/06/24/certificate-expired-warning-dialog-appears/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ensuring IWWCM Inline Editing Uses EditLive!</title>
		<link>http://liveworks.ephox.com/2008/06/17/ensuring-iwwcm-inline-editing-uses-editlive/</link>
		<comments>http://liveworks.ephox.com/2008/06/17/ensuring-iwwcm-inline-editing-uses-editlive/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 15:00:44 +0000</pubDate>
		<dc:creator>Jack Mason</dc:creator>
		
		<category><![CDATA[Hints &amp; Tips]]></category>

		<category><![CDATA[IWWCM]]></category>

		<guid isPermaLink="false">http://liveworks.ephox.com/?p=146</guid>
		<description><![CDATA[       Symptom    
       After installing EditLive! for IBM&#160;WCM, the default editor is still used when using inline editing. When using the standard WCM&#160;interface, EditLive! is correctly used to edit rich text sections.    
     [...]]]></description>
			<content:encoded><![CDATA[<h3>       Symptom    </h3>
<p>       After installing EditLive! for IBM&#160;WCM, the default editor is still used when using inline editing. When using the standard WCM&#160;interface, EditLive! is correctly used to edit rich text sections.    </p>
<h3>       Cause    </h3>
<p>       The WCM&#160;rendering portlet which provides the inline editing has a separate configuration option for which rich text editor to use. In most cases, this setting is correctly changed to use EditLive! when installing but in certain environments the setting may revert to the default editor.    </p>
<h3>       Solution    </h3>
<ol>
<li>        Log in as the portal administrator.      </li>
<li>        Go to Portal Administration &#8211;&#62; Portlet management &#8211;&#62; Portlets.      </li>
<li>        Search for portlets starting with Web.      </li>
<li>        Click on the “Configure Portlet”&#160;button (displayed as a spanner icon) for the “Web Content Viewer” portlet.      </li>
<li>        Set the value of the WCM_RICH_TEXT_EDITOR&#160;field to “EditLiveJavaEditor.jsp”&#160;(without the quotes). If the field is not present, add it.      </li>
<li>        Save the changes.      </li>
</ol>
<p>       EditLive! should now correctly load in both the standard editing form and in the inline editing view.    </p>
]]></content:encoded>
			<wfw:commentRss>http://liveworks.ephox.com/2008/06/17/ensuring-iwwcm-inline-editing-uses-editlive/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Plugin: Paste As Code</title>
		<link>http://liveworks.ephox.com/2008/06/16/new-plugin-paste-as-code/</link>
		<comments>http://liveworks.ephox.com/2008/06/16/new-plugin-paste-as-code/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 10:52:56 +0000</pubDate>
		<dc:creator>Adrian Sutton</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://liveworks.ephox.com/?p=150</guid>
		<description><![CDATA[
       Two of our engineers, Andy and Rob have put their heads together and come up with a new plugin to help sites like LiveWorks! that paste code snippets. It provides a “Paste As Code…” menu item that neatly formats the code on the clipboard and marks it up [...]]]></description>
			<content:encoded><![CDATA[<p>
       Two of our engineers, Andy and Rob have put their heads together and come up with <a href="/plugins/paste-as-code/">a new plugin</a> to help sites like LiveWorks! that paste code snippets. It provides a “Paste As Code…” menu item that neatly formats the code on the clipboard and marks it up with class names so it’s easy to apply syntax highlighting. A sample stylesheet is included with the plugin.
    </p>
<p>
       So in the future you should see much clearer and easier to read code snippets on LiveWorks!
    </p>
]]></content:encoded>
			<wfw:commentRss>http://liveworks.ephox.com/2008/06/16/new-plugin-paste-as-code/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Uninstalling EditLive! for IBM Web Content Management</title>
		<link>http://liveworks.ephox.com/2008/06/10/uninstalling-editlive-for-ibm-web-content-management/</link>
		<comments>http://liveworks.ephox.com/2008/06/10/uninstalling-editlive-for-ibm-web-content-management/#comments</comments>
		<pubDate>Tue, 10 Jun 2008 15:00:35 +0000</pubDate>
		<dc:creator>Adrian Sutton</dc:creator>
		
		<category><![CDATA[Hints &amp; Tips]]></category>

		<category><![CDATA[IWWCM]]></category>

		<guid isPermaLink="false">http://liveworks.ephox.com/?p=145</guid>
		<description><![CDATA[       While we hope you never need or want to, if you ever decide to uninstall EditLive! and go back to using the default editor within IBM’s Web Content Management system (IWWCM), simply follow the steps below. If you’ve decided not to use EditLive! anymore we’d appreciate it if [...]]]></description>
			<content:encoded><![CDATA[<p>       While we hope you never need or want to, if you ever decide to uninstall EditLive! and go back to using the default editor within IBM’s Web Content Management system (IWWCM), simply follow the steps below. If you’ve decided not to use EditLive! anymore we’d appreciate it if you could <a href="http://www.ephox.com/contactus.html">drop us a note</a> to let us know why as it will help us to improve our products in the future.    </p>
<ol>
<li>        In the IWWCM Authoring interface, click the Configure link.      </li>
<li>        Expand the Rich Text section. Remove the reference to EditLiveJavaEditor.jsp in the provided text field (so that it is blank). Click OK. The ODC Editor is now the default editor for new rich text fields.      </li>
<li>        Select your desired Authoring template. Once open, click the Edit button.      </li>
<li>        Click the Default Content Settings link. Notice that EditLive! will still appear for each registered rich text field in the Authoring template.      </li>
<li>        For each rich text field element open the properties of the rich text field.      </li>
<li>        Where the EditLiveJavaEditor.jsp file is referenced, remove the reference to EditLiveJavaEditor.jsp so that the text field is blank.      </li>
<li>        Save the Authoring template. Each content item which uses this Authoring template will represent Rich Text fields using the IBM editor.      </li>
<li>        Perform steps 3 to 8 for all the authoring templates where you no longer wish to use EditLive! for IWWCM.      </li>
</ol>
<p>       &#160;    </p>
]]></content:encoded>
			<wfw:commentRss>http://liveworks.ephox.com/2008/06/10/uninstalling-editlive-for-ibm-web-content-management/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Solving Extremely Slow Load Times</title>
		<link>http://liveworks.ephox.com/2008/06/03/solving-extremely-slow-load-times/</link>
		<comments>http://liveworks.ephox.com/2008/06/03/solving-extremely-slow-load-times/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 15:00:35 +0000</pubDate>
		<dc:creator>Adrian Sutton</dc:creator>
		
		<category><![CDATA[EditLive!]]></category>

		<category><![CDATA[Hints &amp; Tips]]></category>

		<guid isPermaLink="false">http://liveworks.ephox.com/?p=144</guid>
		<description><![CDATA[       Symptom    
       Loading EditLive! takes 5 minutes or more. The loading progress indicator may progress but extremely slowly or the browser may appear to have hung.    
       Cause   [...]]]></description>
			<content:encoded><![CDATA[<h3>       Symptom    </h3>
<p>       Loading EditLive! takes 5 minutes or more. The loading progress indicator may progress but extremely slowly or the browser may appear to have hung.    </p>
<h3>       Cause    </h3>
<p>       The delay in loading is triggered when the editlivejava.jar file is served without a “Last-Modified” HTTP&#160;header, preventing the Java plugin from caching the jar. Due to this, every time a new class is initialized the entire jar file is downloaded again. Even on fast networks or local access this causes substantial delays.    </p>
<p>       In all known cases this has been caused by a web server or proxy misconfiguration. Either the web server is not including a Last-Modified header at all or a proxy server is stripping it out. In particular this issue has been seen with the Vignette Trusted Authentication Service (TAS)&#160;and Microsoft ISA&#160;Proxy but is possibly with any server or proxy if configured incorrectly.    </p>
<p>       Note that using the “Pragma:&#160;no-cache” header for the EditLive! files does not trigger these extreme load times. The “Pragma:&#160;no-cache” header still allows the jar file to be cached, but the plugin checks for updates with every new browser session. If EditLive!&#160;hasn’t been updated, the file is not downloaded again.    </p>
<h3>       Solution    </h3>
<p>       The server or proxy configuration must be corrected so that the Last-Modified header is correctly sent. It is not possible to work around the issue within EditLive! or the user’s computer configuration.    </p>
]]></content:encoded>
			<wfw:commentRss>http://liveworks.ephox.com/2008/06/03/solving-extremely-slow-load-times/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Making EditLive! Content Behave More Like Word</title>
		<link>http://liveworks.ephox.com/2008/05/27/making-editlive-content-behave-more-like-word/</link>
		<comments>http://liveworks.ephox.com/2008/05/27/making-editlive-content-behave-more-like-word/#comments</comments>
		<pubDate>Tue, 27 May 2008 17:00:44 +0000</pubDate>
		<dc:creator>Damien Fitzpatrick</dc:creator>
		
		<category><![CDATA[EditLive!]]></category>

		<category><![CDATA[Hints &amp; Tips]]></category>

		<category><![CDATA[Styles]]></category>

		<category><![CDATA[User Experience]]></category>

		<guid isPermaLink="false">http://liveworks.ephox.com/?p=142</guid>
		<description><![CDATA[
       This month I travelled around Australia and met with several long term Ephox clients and talked with them about their experiences with EditLive!, what they’d like to see in the product and what’s coming in EditLive!.
    

       Their feedback [...]]]></description>
			<content:encoded><![CDATA[<p>
       This month I travelled around Australia and met with several long term Ephox clients and talked with them about their experiences with EditLive!, what they’d like to see in the product and what’s coming in EditLive!.
    </p>
<p>
       Their feedback was very valuable and it’s safe to say that the trip is likely to be the first of many very client focused trips. &#160;In fact, if you’d like to share your own EditLive! experiences, please get in touch with us via the <a href="http://liveworks.ephox.com/mailing-list/">LiveWorks! mailing list</a>, we’d love to hear from you.
    </p>
<p>
       One of the things that came up a few times was some inconsistencies between HTML and Word rendering that can cause confusion when users are importing content from Word.&#160;There are two simple things you can do to your web site’s CSS&#160;to help users out with this.
    </p>
<p>
       Firstly, default top and bottom margins. &#160;Users experiencing this issue often complain that, when content is pasted from Word into EditLive! there’s “double spacing” between paragraphs. &#160;This happens because the top and bottom margins on paragraphs in Word are set to 0, but in HTML it tends to be around 6 pixels or so. &#160;The simple solution here is to override the HTML&#160;defaults in your CSS by adding something like this:
    </p>
<p style=" margin-left: 20.0px;">
       p{<br />
       &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;margin-top:0px;<br />
       &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;margin-bottom:0px;<br />
       }
    </p>
<p>
       It’s worth noting that you could also fix this issue by changing the top and bottom margins in your word processor’s default document template (normal.dot in Word) to match HTML, but it’s much easier to change this in your style sheet because it’s settings are centrally administered.
    </p>
<p>
       The second thing that often confuses people more used to creating content on their desktop rather than online is the nature of HTML tables. &#160;This is because tables in desktop word processors have a single border, whereas HTML tables, by default actually have two borders. &#160;You usually can’t see this because there’s no cell spacing specified. &#160;However, if you look at the table below where I’ve set the cell spacing attribute to 2 you can clearly see the borders.
    </p>
<div align="center">
<table width="30%" border="1" style=" border: 1px solid black;" cellpadding="0" cellspacing="2">
<tr>
<td width="50%" align="center" style=" border: 1px solid black;">
            &#160;
          </td>
<td width="50%" align="center" style=" border: 1px solid black;">
            &#160;
          </td>
</tr>
<tr>
<td width="50%" align="center" style=" border: 1px solid black;" height="15">
            &#160;
          </td>
<td width="50%" align="center" style=" border: 1px solid black;" height="15">
            &#160;
          </td>
</tr>
</table></div>
<p>
       This is because each cell border is made up of two border lines - the border of the cell and the border of either the table or the neighbouring cell.
    </p>
<p>
       Fortunately CSS comes to the rescue again. &#160;In order to make HTML tables behave just like tables in desktop word processors all you need to do is collapse the table borders. &#160;This can be done by adding the following code to your site’s CSS:
    </p>
<p style=" margin-left: 20.0px;">
       table{<br />
       &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;border-collapse:collapse;<br />
       }
    </p>
<p>
       Which will make your table look more like this (note I’ve not changed the cell spacing here, just applied border-collapse):
    </p>
<div align="center">
<table width="30%" border="1" style=" border-collapse: collapse; border: 1px solid black;" cellpadding="0" cellspacing="2">
<tr>
<td width="50%" align="center" style=" border: 1px solid black;">
            &#160;
          </td>
<td width="50%" align="center" style=" border: 1px solid black;">
            &#160;
          </td>
</tr>
<tr>
<td width="50%" align="center" style=" border: 1px solid black;" height="15">
            &#160;
          </td>
<td width="50%" align="center" style=" border: 1px solid black;" height="15">
            &#160;
          </td>
</tr>
</table></div>
<p>
       And that’s it. &#160;These two simple CSS&#160;changes can make a world of difference for your EditLive! users, especially when they’re importing content from desktop word processors. &#160;Just a couple of final things to remember before you start applying this CSS&#160;everywhere:
    </p>
<ul>
<li>
        Remember if you’ve got a CMS often the published CSS is different to the authoring CSS that EditLive! uses. &#160;Make sure you make the required changes to both sets of styles.
      </li>
<li>
        You’ll want to test this CSS&#160;in a development/testing environment first to make sure it doesn’t have an unexpected impact on your web site’s layout.
      </li>
<li>
        If you’ve already got CSS specified for the “p” tag and/or the “table” tag just add these properties to what you already have.
      </li>
<li>
        If you add this CSS to the root element style (i.e. not a class style) like I have above, it should inherit across all the other classes you have in your CSS for tables and paragraphs.
      </li>
</ul>
<p>
       Hopefully you’ll find this very useful and if you’ve got any questions just get in contact with us via the LiveWorks! mailing list.
    </p>
]]></content:encoded>
			<wfw:commentRss>http://liveworks.ephox.com/2008/05/27/making-editlive-content-behave-more-like-word/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
