<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Core Five Labs &#187; Uncategorized</title>
	<atom:link href="http://labs.corefive.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://labs.corefive.com</link>
	<description>Insights, experiments, goodies, and musings on web development from Core Five Creative.</description>
	<lastBuildDate>Thu, 29 Jul 2010 17:53:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Building CKEditor with HTML5 Support</title>
		<link>http://labs.corefive.com/2010/07/29/building-ckeditor-with-html5-support/</link>
		<comments>http://labs.corefive.com/2010/07/29/building-ckeditor-with-html5-support/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 17:53:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://labs.corefive.com/?p=70</guid>
		<description><![CDATA[Using CKEditor but frustrated by the lack of HTML5 support? Here&#8217;s a quick fix that will resolve the bulk of the compatibility issues.
CKEditor is a forward-thinking project in many ways, but for some reason has lagged behind in supporting HTML5. One of the biggest issues is that it doesn&#8217;t know about all of the new [...]]]></description>
			<content:encoded><![CDATA[<p><em>Using CKEditor but frustrated by the lack of HTML5 support? Here&#8217;s a quick fix that will resolve the bulk of the compatibility issues.</em></p>
<p>CKEditor is a forward-thinking project in many ways, but for some reason has lagged behind in supporting HTML5. One of the biggest issues is that it doesn&#8217;t know about all of the new block-level elements like header, footer, article, section, and aside, and while it doesn&#8217;t remove them, it does treat them as inline elements and wraps them in paragraph tags.</p>
<p>Thankfully, CKEditor is beautifully architected, making it quite easy to enhance or replace nearly any aspect of its functionality. There is a set of core plugins that are compiled together into the released version, which in turn can make use of external plugins for additional features. Included in the core is a DTD plugin which, as the name implies, defines all of the HTML elements the editor understands and governs how they should be treated. Adding basic HTML5 support is merely a matter of expanding on the definitions within this file and packaging it together with the rest of the core into a new version of ckeditor.js</p>
<p>The good news is that someone has already done this. Jonathan Neal provides an updated dtd.js file in the official ticket (<a href="http://dev.ckeditor.com/ticket/4556" target="_blank">#4556</a>) as well as a <a href="http://sandbox.thewikies.com/html5-ckeditor/" target="_blank">rebuilt version of CKEditor and a live demo</a>. The only problem is that it&#8217;s built against version 3.1 of CKEditor, and the current stable release as of this writing is 3.3.1. So, in order to have the latest version of CKEditor AND incorporate the HTML5 additions, we have to build our own from source. That may sound daunting to some, but in fact it&#8217;s quite simple. Here&#8217;s how:</p>
<ul>
<li>
<p>Check out a local working copy of the CKEditor source using Subversion. For version 3.3.1, use this:</p.</p>
<p><code>svn co <a href="http://svn.fckeditor.net/CKEditor/tags/3.3.1/" target="_blank">http://svn.fckeditor.net/CKEditor/tags/3.3.1/</a></code></p>
</li>
<li>
<p>Update the dtd.js file within your working copy here:</p>
<p><code>_source/core/dtd.js</code></p>
</li>
<li>
<p>I compared Jonathan&#8217;s customized version from 3.1 against the released version for 3.3.1 and the only differences were in simple element lists that needed to be expanded, so for 3.3.1 at least, it&#8217;s safe to just drop in the modified version of dtd.js as a complete replacement.</p>
</li>
<li>
<p>Repackage ckeditor.js using the provided packager tool. There&#8217;s a BAT file for Windows and a shell script for Linux and OS X. Both simply call a java packager that does the dirty work for you:</p>
<p><code>_dev/packager/packager.sh</code></p>
<p>The packager makes new versions of ckeditor.js and ckeditor_basic.js from source, replacing the ones already there. There is also a &#8220;releaser&#8221; tool that does that, as well as creating a complete, zipped release package, including documentation. Usage is similar. However, I just downloaded 3.3.1, unzipped it, and copied over the new ckeditor.js and ckeditor_basic.js files from my working copy.</p>
</li>
</ul>
<p>That&#8217;s all there is to it! Until a future version of CKEditor includes official support for HTML5, this will allow most new HTML5 elements to render properly.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.corefive.com/2010/07/29/building-ckeditor-with-html5-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An Open File Manager for CKEditor 3.0</title>
		<link>http://labs.corefive.com/2009/10/30/an-open-file-manager-for-ckeditor-3-0/</link>
		<comments>http://labs.corefive.com/2009/10/30/an-open-file-manager-for-ckeditor-3-0/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 17:34:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://lab.corefive.net/?p=45</guid>
		<description><![CDATA[CKEditor is the successor to FCKEditor, an open-source, embeddable HTML editor which adds WYSIWYG editing capabilities to countless content management systems, blogs, and other web-based applications. FCKEditor was extremely feature-rich compared to its competition, being one of the few of its kind to include its own file browser and upload mechanisms, along with an API [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ckeditor.com/" target="_blank">CKEditor</a> is the successor to FCKEditor, an open-source, embeddable HTML editor which adds WYSIWYG editing capabilities to countless content management systems, blogs, and other web-based applications. FCKEditor was extremely feature-rich compared to its competition, being one of the few of its kind to include its own file browser and upload mechanisms, along with an API which enabled developers to integrate it with their server-side language of choice. The final version of FCKEditor shipped with built-in connectors for a wide variety of languages and platforms, including ASP.NET, ColdFusion, Java, Lasso, PHP, and Python. (Core Five contributed the Lasso connector to the project.)</p>
<p>However, over time, and despite a highly configurable, pluggable architecture, the code base for FCKEditor, initially released in 2003, began showing its age. Markup and scripting were a patchwork quilt of outdated methods, and performance was suffering. Thus, a complete, ground-up rewrite was started, culminating in the release of the newly-dubbed CKEditor 3.0 in 2009.</p>
<p>The new release is very impressive. Load times are noticeably faster, and a new, modern API makes client-side configuration and integration considerably more direct and powerful. Unfortunately, one victim of the streamlining was the built-in file manager. CKEditor is now pure JavaScript. The developers offer a commercial package, <a href="http://ckfinder.com/" target="_blank">CKFinder</a>, which provides server-side integration for ASP.NET, ColdFusion, and PHP, but there is no longer a free file manager built into the open source editor to which you can add your own server-side connector.</p>
<p>Thus, we decided to write our own replacement file manager, which we are releasing today. We didn&#8217;t bother giving it a fancy name; we&#8217;re just calling it <em>FileManager</em>. FileManager is powered by <a href="http://jquery.com/" target="_blank">jQuery</a>, and incorporates a variety of plugins to provide various bits of functionality:</p>
<ul class="bulleted">
<li><span style="background-color: #ffffff;">The layout is handled with Dave Methvin&#8217;s <a href="http://methvin.com/splitter/" target="_blank">Splitter</a> plugin, which allows the user to adjust the width of the panes (<a href="http://methvin.com/splitter/" target="_blank">http://methvin.com/splitter/</a>).<br />
</span></li>
<li><span style="background-color: #ffffff;">A slightly modified version of Cory S. N. LaViska&#8217;s <a href="http://abeautifulsite.net/notebook/58" target="_blank">FileTree</a> plugin, used to create the tree view. (We added some additional callbacks.) (<a href="http://abeautifulsite.net/notebook/58" target="_blank">http://abeautifulsite.net/notebook/58</a>)<br />
</span></li>
<li><span style="background-color: #ffffff;">We also used Cory&#8217;s <a href="http://abeautifulsite.net/notebook/80" target="_blank">ContextMenu</a> plugin for contextual menus (<a href="http://abeautifulsite.net/notebook/80" target="_blank">http://abeautifulsite.net/notebook/80</a>).<br />
</span></li>
<li><span style="background-color: #ffffff;">Alert dialogs and user prompts are presented via Trent Richardson&#8217;s <a href="http://trentrichardson.com/Impromptu/" target="_blank">Impromptu</a> plugin (<a href="http://trentrichardson.com/Impromptu/" target="_blank">http://trentrichardson.com/Impromptu/</a>).<br />
</span></li>
<li><span style="background-color: #ffffff;">Tables are managed via Christian Bach&#8217;s <a href="http://tablesorter.com/" target="_blank">TableSorter</a> plugin (<a href="http://tablesorter.com/" target="_blank">http://tablesorter.com/</a>).<br />
</span></li>
<li><span style="background-color: #ffffff;">Finally, uploads and other form submissions are handled with malsup&#8217;s ubiquitous Form plugin (<a href="http://malsup.com/jquery/form/" target="_blank">http://malsup.com/jquery/form/</a>).</span></li>
</ul>
<p>The mini icons are from the venerable <a href="http://www.famfamfam.com/lab/icons/silk/" target="_blank">Silk</a> icon library (<a href="http://www.famfamfam.com/lab/icons/silk/" target="_blank">http://www.famfamfam.com/lab/icons/silk/</a>), and the large icons are based on the <a href="http://plainz.oh.land.to/download_icon.html" target="_blank">FineFiles</a> collection (<a href="http://plainz.oh.land.to/download_icon.html" target="_blank">http://plainz.oh.land.to/download_icon.html</a>), though we have created a handful of additional icons on our own.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-52" title="FileManager Preview" src="/wp-content/uploads/2009/10/FileManager_Preview.png" alt="FileManager Preview" /></p>
<p>In the spirit of the original FCKEditor file manager it is intended to replace, FileManager provides a simple javascript API which you can use to write a connector for your preferred server-side language. The API is described in detail in the ReadMe.txt file within the project, and also on the <a href="/Projects/FileManager/">FileManager project page</a>. At the time of this writing, the only <em>complete</em> connector is for <a href="http://www.lassosoft.com/" target="_blank">Lasso</a>. A python connector is nearly finished. Submissions for other languages (as well as bug fixes and suggestions in general) are encouraged!</p>
<p>FileManager integrates with both FCKEditor 2.x and CKEditor 3.x. For complete instructions, including how to download the project, see the <a href="/Projects/FileManager/">project page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.corefive.com/2009/10/30/an-open-file-manager-for-ckeditor-3-0/feed/</wfw:commentRss>
		<slash:comments>86</slash:comments>
		</item>
		<item>
		<title>Welcome to Core Five Labs!</title>
		<link>http://labs.corefive.com/2009/06/26/welcome-to-core-five-labs/</link>
		<comments>http://labs.corefive.com/2009/06/26/welcome-to-core-five-labs/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 17:40:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://lab.corefive.net/?p=31</guid>
		<description><![CDATA[The inaugural post.]]></description>
			<content:encoded><![CDATA[<p>We decided to open up this new section of our site so that we can share, in a less formal way, our commentary, reactions, and solutions to various issues we encounter in the web development business during the day-to-day plying of our trade. </p>
<p>Some of the topics we have planned include tutorials for everything from simple scripting tricks to advanced network configuration, some software releases (from single file solutions to full-blown apps), our own unique take on the lingering IE6 problem, and more. We might even convince the creatives to pop in with their two cents on the design topic du jour as well, whether it&#8217;s the Tropicana packaging debacle or the leaked Pepsi identity brief.</p>
<p>We hope you find this stuff as interesting as we do, and that perhaps it will, over time, become a useful resource for our peers in the web development community.</p>
<p>Cheers!</p>
<p>Jason Huck<br />
Director of Technology<br />
Core Five Creative</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.corefive.com/2009/06/26/welcome-to-core-five-labs/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
