<?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>Daelgren &#187; Uncategorized</title>
	<atom:link href="http://daelgren.com/blog/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://daelgren.com/blog</link>
	<description>Flash Development</description>
	<lastBuildDate>Fri, 11 Feb 2011 21:35:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Modern MIME-TYPE&#8217;s we should all add to our websites</title>
		<link>http://daelgren.com/blog/2011/02/11/modern-mime-types-we-should-all-add-to-our-websites/</link>
		<comments>http://daelgren.com/blog/2011/02/11/modern-mime-types-we-should-all-add-to-our-websites/#comments</comments>
		<pubDate>Fri, 11 Feb 2011 21:35:56 +0000</pubDate>
		<dc:creator>Bela Korcsog</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://daelgren.com/blog/?p=183</guid>
		<description><![CDATA[Been updating the mime types of my servers recently as I develop more html content and came across a number that I hadn&#8217;t needed to worry about before. With the advent of font embedding becoming more available outside of IE &#8230; <a href="http://daelgren.com/blog/2011/02/11/modern-mime-types-we-should-all-add-to-our-websites/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Been updating the mime types of my servers recently as I develop more html content and came across a number that I hadn&#8217;t needed to worry about before.</p>
<p>With the advent of font embedding becoming more available outside of IE (been available in IE since version 6) there&#8217;s a need to encode and font-face the fonts for the various browsers to render on the client side. Flash has been embedding fonts silently for years and nothing makes your site look more professional than a good short choice of fonts to embed. </p>
<p>Here&#8217;s what you need to add to your htaccess file (on apache servers) to allow the client side to download the files from restricted servers (including other media types commonly referenced in HTML5):</p>
<p>AddType application/vnd.ms-fontobject .eot<br />
AddType application/octet-stream .otf .ttf<br />
AddType application/x-font-ttf .ttf<br />
AddType application/x-woff .woff</p>
<p>(WOFF is the new version of EOT. Chrome and IE 9 RC support WOFF. EOT is supported by IE 6-9 Beta).<br />
(OTF/TTF is supported by many other browsers but definitely not IE).<br />
I&#8217;ve come across conflicting definitions for TTF &#8212; some indicate the octet-stream and other&#8217;s indicate x-font-ttf &#8212; I&#8217;d gone with the latter on my sites but the former is here in case you don&#8217;t get the right results with your system.</p>
<p>//For html audio types, you&#8217;ll need to add:</p>
<p>AddType audio/mp4 .mp4 .m4a<br />
AddType audio/mpeg .mp3<br />
AddType audio/ogg .ogg .oga<br />
AddType audio/wav .wav</p>
<p>//For video types:</p>
<p>AddType video/ogg .ogm .ogv .ogg<br />
AddType video/mp4 .mp4 .m4v .f4v<br />
AddType video/webm .webm<br />
AddType video/x-flv .flv</p>
<p>// for SWF (Flash) files<br />
AddType application/x-shockwave-flash .swf<br />
AddType application/pdf .pdf</p>
<p>// archive files<br />
application/zip .zip .7z</p>
<p>Mime types are becoming much more important as the browser wars of 2010 continue into 2011/2012 based on some being more adamant that the mime be properly defined on the server. </p>
<p>Some browsers on micro platforms like the embedded systems may become more dependent on the mime as a way of constricting bandwidth or filtering content on low bandwidth or conservative networks.</p>
<p>Also, more advanced client side applications may behave incorrectly if the mime of an asset is not correctly defined (as3 applications which load .swf content into themselves may not issue the correct eventHandler if the asset is considered an image rather than an application).</p>
<p>Just as REST requires browsers to correctly handle server side status codes, so will mime types properly restrict and filter content based on type.</p>
<p>It doesn&#8217;t hurt to define the mime types correctly, but it certainly will become an issue if you don&#8217;t configure them for the content that you deliver on your sites.</p>
]]></content:encoded>
			<wfw:commentRss>http://daelgren.com/blog/2011/02/11/modern-mime-types-we-should-all-add-to-our-websites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Omniture s_code.js to play nice with HTML 5 video</title>
		<link>http://daelgren.com/blog/2011/01/26/getting-omniture-s_code-js-to-play-nice-with-html-5-video/</link>
		<comments>http://daelgren.com/blog/2011/01/26/getting-omniture-s_code-js-to-play-nice-with-html-5-video/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 19:36:32 +0000</pubDate>
		<dc:creator>Bela Korcsog</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://daelgren.com/blog/?p=184</guid>
		<description><![CDATA[Omniture produces some great tracking reports and generally their code is really well produced, but the documentation is sorely lacking on implementation of the Media tracking for video. Here&#8217;s a sample html page that works with tracking of Media and &#8230; <a href="http://daelgren.com/blog/2011/01/26/getting-omniture-s_code-js-to-play-nice-with-html-5-video/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Omniture produces some great tracking reports and generally their code is really well produced, but the documentation is sorely lacking on implementation of the Media tracking for video.</p>
<p>Here&#8217;s a sample html page that works with tracking of Media and SiteCatalyst:</p>
<div id="_mcePaste">&lt;!DOCTYPE HTML&gt;</div>
<div id="_mcePaste">&lt;html&gt;</div>
<div id="_mcePaste">&lt;head&gt;</div>
<div id="_mcePaste">&lt;title&gt;html5videoplayerwithomnituresupport&lt;/title&gt;</div>
<div id="_mcePaste">&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=utf-8&#8243;&gt;</div>
<div id="_mcePaste">&lt;meta name=&#8221;language&#8221; content=&#8221;en&#8221;&gt;</div>
<div id="_mcePaste">&lt;meta name=&#8221;Description&#8221; content=&#8221;"&gt;</div>
<div id="_mcePaste">&lt;meta name=&#8221;Keywords&#8221; content=&#8221;"&gt;</div>
<div id="_mcePaste">&lt;script type=&#8221;text/javascript&#8221;&gt;</div>
<div id="_mcePaste">mediaparams = {Media:{trackWhilePlaying:true,autoTrack:false,playerName:&#8221;testplayer&#8221;,trackMilestones:&#8221;0,25,50,75&#8243;}};</div>
<div id="_mcePaste">videoplaying = false;</div>
<div id="_mcePaste">function myHandler(e) {</div>
<div id="_mcePaste">var currentTime;</div>
<div id="_mcePaste">var vid = document.getElementById(&#8216;videoasset&#8217;);</div>
<div id="_mcePaste">if (vid.currentTime &gt; 0) {</div>
<div id="_mcePaste">currentTime = vid.currentTime;</div>
<div id="_mcePaste">} else {</div>
<div id="_mcePaste">currentTime = 0;</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">var stringvalues = &#8220;event["+e.type+"] src:&#8221;+vid.src+&#8221; currentTime:&#8221;+currentTime+&#8221; duration:&#8221;+vid.duration+&#8221; \n&#8221;;</div>
<div id="_mcePaste">var tarea = document.getElementById(&#8216;texttrace&#8217;);</div>
<div id="_mcePaste">var textareavalue = tarea.value;</div>
<div id="_mcePaste">tarea.value = textareavalue+stringvalues;</div>
<div id="_mcePaste">if (e.type == &#8220;loadedmetadata&#8221;) {</div>
<div id="_mcePaste">// don&#8217;t do anything at this time.</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">if (e.type == &#8220;seeking&#8221; &amp;&amp; videoplaying) {</div>
<div id="_mcePaste">s.Media.stop(&#8220;testhtml5video&#8221;,currentTime);</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">if (e.type == &#8220;play&#8221; &amp;&amp; videoplaying) {</div>
<div id="_mcePaste">s.Media.play(&#8220;testhtml5video&#8221;,currentTime);</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">if (e.type == &#8220;play&#8221; &amp;&amp; !videoplaying) {</div>
<div id="_mcePaste">videoplaying = true;</div>
<div id="_mcePaste">s.Media.open(&#8220;testhtml5video&#8221;,vid.duration,mediaparams.Media.playerName);</div>
<div id="_mcePaste">s.Media.play(&#8220;testhtml5video&#8221;,currentTime);</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">if (e.type == &#8220;seeked&#8221; &amp;&amp; videoplaying) {</div>
<div id="_mcePaste">s.Media.play(&#8220;testhtml5video&#8221;,currentTime);</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">if (e.type == &#8220;pause&#8221; &amp;&amp; videoplaying) {</div>
<div id="_mcePaste">s.Media.stop(&#8220;testhtml5video&#8221;,currentTime);</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">if (e.type == &#8220;ended&#8221;) {</div>
<div id="_mcePaste">videoplaying = false;</div>
<div id="_mcePaste">s.Media.stop(&#8220;testhtml5video&#8221;,currentTime);</div>
<div id="_mcePaste">s.Media.close(&#8220;testhtml5video&#8221;);</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">&lt;/script&gt;</div>
<div id="_mcePaste">&lt;style&gt;</div>
<div id="_mcePaste">html, body { height:100%; }</div>
<div id="_mcePaste">body { margin:0; }</div>
<div id="_mcePaste">div {width:100%}</div>
<div id="_mcePaste">&lt;/style&gt;</div>
<div id="_mcePaste">&lt;/head&gt;</div>
<div id="_mcePaste">&lt;body&gt;</div>
<div id="_mcePaste">&lt;script src=&#8221;js/s_code.js&#8221; type=&#8221;text/javascript&#8221; &gt;&lt;/script&gt;</div>
<div id="_mcePaste">&lt;video id=&#8221;videoasset&#8221; controls=&#8221;controls&#8221; autoplay=&#8221;autoplay&#8221; &gt;</div>
<div id="_mcePaste">&lt;source src=&#8221;testhtml5video.m4v&#8221; type=&#8217;video/mp4; codecs=&#8221;avc1.42E01E, mp4a.40.2&#8243;&#8216; &gt;</div>
<div id="_mcePaste">&lt;source src=&#8221;testhtml5video.ogg&#8221; type=&#8217;video/ogg; codecs=&#8221;theora, vorbis&#8221;&#8216;&gt;</div>
<div id="_mcePaste">Either the tag isn&#8217;t correct for this browser or there might be an issue with the version of browser that you are using.</div>
<div id="_mcePaste">&lt;/video&gt;</div>
<div id="_mcePaste">&lt;form name=&#8221;textform&#8221;&gt;&lt;textarea id=&#8221;texttrace&#8221; style=&#8221;width:90%;height:300px;&#8221;&gt;&lt;/textarea&gt;&lt;/form&gt;</div>
<div id="_mcePaste">&lt;script&gt;</div>
<div id="_mcePaste">s.loadModule(&#8220;Media&#8221;);</div>
<div id="_mcePaste">var tarea1 = document.getElementById(&#8216;texttrace&#8217;);</div>
<div id="_mcePaste">for (var prop in mediaparams ) {</div>
<div id="_mcePaste">//tarea1.value += &#8220;["+prop+"]&#8220;+typeof(mediaparams [prop]);</div>
<div id="_mcePaste">if (typeof(mediaparams [prop]) == &#8220;object&#8221;) {</div>
<div id="_mcePaste">for (var prop1 in mediaparams [prop]) {</div>
<div id="_mcePaste">tarea1.value += &#8220;["+prop+"]["+prop1+"]&#8220;+mediaparams [prop][prop1]+&#8221;\n&#8221;;</div>
<div id="_mcePaste">s[prop][prop1] = mediaparams [prop][prop1];</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">} else {</div>
<div id="_mcePaste">s[prop] = mediaparams [prop];</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">myvid = document.getElementById(&#8216;videoasset&#8217;);</div>
<div id="_mcePaste">myvid.addEventListener(&#8216;loadedmetadata&#8217;,myHandler,false);</div>
<div id="_mcePaste">myvid.addEventListener(&#8216;seeked&#8217;,myHandler,false);</div>
<div id="_mcePaste">myvid.addEventListener(&#8216;seeking&#8217;,myHandler,false);</div>
<div id="_mcePaste">myvid.addEventListener(&#8216;play&#8217;,myHandler,false);</div>
<div id="_mcePaste">myvid.addEventListener(&#8216;pause&#8217;,myHandler,false);</div>
<div id="_mcePaste">myvid.addEventListener(&#8216;ended&#8217;,myHandler,false);</div>
<div id="_mcePaste">if (myvid.error) {</div>
<div id="_mcePaste">switch (myvid.error.code) {</div>
<div id="_mcePaste">case MEDIA_ERR_ABORTED:</div>
<div id="_mcePaste">alert(&#8220;Video stopped before load.&#8221;);</div>
<div id="_mcePaste">break;</div>
<div id="_mcePaste">case MEDIA_ERR_NETWORK:</div>
<div id="_mcePaste">alert(&#8220;Network error&#8221;);</div>
<div id="_mcePaste">break;</div>
<div id="_mcePaste">case MEDIA_ERR_DECODE:</div>
<div id="_mcePaste">alert(&#8220;Video is broken&#8221;);</div>
<div id="_mcePaste">break;</div>
<div id="_mcePaste">case MEDIA_ERR_SRC_NOT_SUPPORTED:</div>
<div id="_mcePaste">alert(&#8220;Codec is unsupported by this browser&#8221;);</div>
<div id="_mcePaste">break;</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">&lt;/script&gt;</div>
<div id="_mcePaste">&lt;/body&gt;</div>
<div id="_mcePaste">&lt;/html&gt;</div>
<p>You need to provide your own s_code.js from the admin for the site. &#8216;s_code.js&#8217; is preconfigured from SiteCatalyst with the parameters for your account and tracking servers and shouldn&#8217;t generally be edited manually (just an FYI, you do what you like of course).</p>
<p>This should get you started on setting up an HTML 5 video player and hooking it up to track usage with Omniture SiteCatalyst.</p>
]]></content:encoded>
			<wfw:commentRss>http://daelgren.com/blog/2011/01/26/getting-omniture-s_code-js-to-play-nice-with-html-5-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript / HTML 5 based Flash Player in Development</title>
		<link>http://daelgren.com/blog/2010/08/11/javascript-html-5-based-flash-player-in-development/</link>
		<comments>http://daelgren.com/blog/2010/08/11/javascript-html-5-based-flash-player-in-development/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 20:54:25 +0000</pubDate>
		<dc:creator>Bela Korcsog</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://daelgren.com/blog/?p=150</guid>
		<description><![CDATA[Interesting site showcasing a javascript based Flash Player &#8212; http://smokescreen.us. The limitations are many but this will be great for getting ad banners out there onto iPhone type devices like the iPad, iPod and iPhones. Limitations are: No script execution &#8230; <a href="http://daelgren.com/blog/2010/08/11/javascript-html-5-based-flash-player-in-development/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Interesting site showcasing a javascript based Flash Player &#8212; http://smokescreen.us.</p>
<p>The limitations are many but this will be great for getting ad banners out there onto iPhone type devices like the iPad, iPod and iPhones.</p>
<p>Limitations are:<br />
No script execution &#8211; strictly a timeline animation tool<br />
No support of any advance api&#8217;s &#8212; like camera and custom communication protocols.<br />
No support of filters as yet.<br />
No subpixel rendering</p>
<p>But I&#8217;m very impressed in any case.</p>
]]></content:encoded>
			<wfw:commentRss>http://daelgren.com/blog/2010/08/11/javascript-html-5-based-flash-player-in-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embedding Fonts part 3</title>
		<link>http://daelgren.com/blog/2010/07/12/embedding-fonts-part-3/</link>
		<comments>http://daelgren.com/blog/2010/07/12/embedding-fonts-part-3/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 15:22:14 +0000</pubDate>
		<dc:creator>Bela Korcsog</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://daelgren.com/blog/?p=134</guid>
		<description><![CDATA[I ran through this one more time today to get this ironed out once and for all. Seems folks are still having issues identifying fonts and targeting them for use in sub movies from externally loaded libraries. I&#8217;ve attached a &#8230; <a href="http://daelgren.com/blog/2010/07/12/embedding-fonts-part-3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I ran through this one more time today to get this ironed out once and for all. Seems folks are still having issues identifying fonts and targeting them for use in sub movies from externally loaded libraries.</p>
<p>I&#8217;ve attached a .zip with two FlashDevelop projects which uses the FlexSDK to compile. You should really be using FlashDevelop if you&#8217;re on a PC &#8212; it&#8217;s bar none the best IDE for Flash out there. If you&#8217;re on a Mac, you can use FlashBuilder which does much of the same thing but is missing a few key features that I really love about FlashDevelop. It&#8217;s the only reason I still use a PC over a Mac.</p>
<p>Okay, here&#8217;s the run down on how I built out the pieces:</p>
<p>First there&#8217;s a project called &#8216;FontTester.as3proj&#8217; that compiles a simple font library swf. There are two embeds in that file and in the constructor it registers those fonts for use by the static Font class. They should already be registered but what I&#8217;m doing is forcing it to redo the action in the parent swf when it loads this swf file.</p>
<p>Compiling this project generates the file &#8216;FONTLOADER.swf&#8217; in the bin.</p>
<p>The second project (&#8216;FontEmbeddingAS3&#8242;) is the shell app that will load the library swf and take all the fonts from that swf and make them available in the shell:</p>
<p>First thing I do is make sure everything is loaded and ready.</p>
<p>Then I load the library swf and wait for it to load.</p>
<p>Next is the great part; in the function fontsloaded I enumerate the fonts that are now registered in the system and reregister the fonts in the current application domain so that they&#8217;re available for the current domain to use.</p>
<p>This happens in the very terse line:</p>
<p>Font.registerFont(e.currentTarget.loader.content.loaderInfo.applicationDomain.getDefinition(f.fontName) as Class);</p>
<p>You&#8217;ll need to do this in a level that is accessible by the current application domain. If you find that the fonts are not showing up in a specific domain level you&#8217;ll need to repeat this process there.</p>
<p>For example, you&#8217;ve created a movieclip at some point and are attaching text fields to the movieclip. If your creation happens before your loading and attaching the fonts (always possible in an asyncronyous environment) fonts will fail to be available. Timing is everything so to ensure that the fonts are ready you really should put your font library loading as a first step before your application launches.</p>
<p>Here&#8217;s the source:</p>
<p>Find unicode ranges <a title="Unicode Values" href="http://en.wikipedia.org/wiki/Latin_characters_in_Unicode" target="_blank">here</a>. I&#8217;ve got part of the line commented out for the setting of unicode ranges for example.</p>
<p>For non latin fonts you&#8217;ll need to use a non latin font for embedding (arialuni.ttf for example). Luckily in Flash 10 this isn&#8217;t an issue any longer but it does come up occationally.</p>
<p>Here&#8217;s the <a href="http://daelgren.com/blog/wp-content/uploads/2010/07/FontEmbeddingAS3.zip">FontEmbeddingAS3</a> source.</p>
]]></content:encoded>
			<wfw:commentRss>http://daelgren.com/blog/2010/07/12/embedding-fonts-part-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recent Projects</title>
		<link>http://daelgren.com/blog/2008/03/27/recent-projects/</link>
		<comments>http://daelgren.com/blog/2008/03/27/recent-projects/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 13:53:26 +0000</pubDate>
		<dc:creator>Bela Korcsog</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wabbit.ca/blog/?p=75</guid>
		<description><![CDATA[Been busy the last few months, and haven&#8217;t really posted too mucho about what is new and exciting. Here&#8217;s a few links to enjoy: http://www.fordvehicles.com/transitconnect/  (Bill Shippy helped me when the going got tough. Creatively not inspirational but the architecture &#8230; <a href="http://daelgren.com/blog/2008/03/27/recent-projects/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Been busy the last few months, and haven&#8217;t really posted too mucho about what is new and exciting.</p>
<p>Here&#8217;s a few links to enjoy:</p>
<p><a href="http://www.fordvehicles.com/transitconnect/">http://www.fordvehicles.com/transitconnect/</a> <br />
(Bill Shippy helped me when the going got tough. Creatively not inspirational but the architecture is good, and lightweight. I like the deferred downloading and integration of some metrics and incremental updates supported &#8212; almost the whole interface is driven by xml data).</p>
<p><a href="http://www.fordvehicles.com/sync/">http://www.fordvehicles.com/sync/</a> <br />
(screen savers only &#8212; Lee Felarca and Bill Shippy were the developers on the main site)</p>
<p><a href="http://www.clickbooq.com/">http://www.clickbooq.com/</a><br />
(rewire from PHP to Ruby on Rails &#8212; the Flex CMS migration was my baby and it was intense. Originally built by three different development groups (myself included), I took all those divergent styles and coalesced them into a functional rewire and repair)</p>
<p><a href="http://www.airgid.com/">http://www.airgid.com/</a><br />
(flash development work for a good friend of mine &#8212; it was also kind of intense but enjoyable &#8212; and with all the papervision sites going down these days I&#8217;m happy we curbed the itch to do it in papervision &#8212; it would get lost in the crowd of 3D spinning cubes when really it should be a fast, light sales tool only)</p>
<p><span id="more-36"></span></p>
<p>I&#8217;m working on some cool stuff but for the most part I&#8217;m hitting video players like they&#8217;re going out of style =).</p>
<p>All of a sudden video players are the new flash photo gallery (seems like all I built for 2004 was photo galleries).</p>
<p>Itching for some heavy application work (which is what I did for five years from 2001 to 2006) I&#8217;m aiming to open source a presentation layer app sooner or later. I used to build apps in Visual Studio with a Flash presentation layer for companies like AIAG and Chrysler through a few companies I worked with (Plexcan/Plexus and McGill) and it was really nice to switch out to web based advertising work, which is a little more diverse but also much more prosaic. Before AIR, I used to spec projects in Delphi and C# which integrated the Flash .ocx to leverage custom RAD environments to Flash&#8217;s nice integrated development environment. Folks used to ask me &#8216;why are you using Flash when C# and Delphi have much of the same abilities and more&#8217; &#8212; my answer was the same as my answer to AJAX development versus Flash &#8212; it&#8217;s nice to be able to distribute the functional elements of an application to a control that is best suited to the task &#8212; AJAX is crap in general and C# and Delphi allow you to put buttons on a form, but for a presentation layer Flash kicks ass (and Silverlight is also an awesome environment, but there&#8217;s not much business call for that yet).</p>
<p>I think I&#8217;d spec AIR only now, and do away with C# and Delphi altogether (although, for a stand alone application Delphi still generates a completely Win32 app, which needs no installer or other such nonsense to deploy &#8212; great for Enterprise environments where you have no control over the security of the system and deployment to the environment would be a three month interaction with the IT group at the enterprise to deploy, when most users need the product for a day or two. ZINC and Screenweaver used to come in handy too, for single package delivery of a flash app to desktops, but with ZINC 3 it&#8217;s still too buggy to use (very poor effort there I have to say MDM), and Screenweaver has become the Ruby of Flash wrapper apps (command lines R US). I&#8217;m personally very tired of command line app deployment having worked in a Java environment for four years and having to debug and deploy that mess on a monthly basis.</p>
<p>I&#8217;ve been saying to the guys at work that next year, this time we could all be doing Silverlight instead of Flash, or AJAX if that crowd wins the war. But it&#8217;s nice to see someone pushing a technology (MS and Silverlight) that is creative with some level of interest &#8212; Flash has a bit of an ego these days sadly &#8212; great environment, but what built the Flash platform was agreements by MS and Apple to distribute the player. If MS decides one day to only deploy it&#8217;s own player (Silverlight showed up recently on my Windows updates as an optional install &#8212; Adobe should be scared) and anyone that uses the new update site (which they are currently Beta testing Silverlight enabled) must have Silverlight installed we could be doing SL in a year to two years instead of Flash. Now, also imagine that MSN has the gonads to dictate that if an ad is delivered in SL format it will have reduced deployment costs over a Flash ad, now you&#8217;re talking 1/3 of the ad buys going SL instead of Flash. And if that&#8217;s the case, I&#8217;m going to be a Visual Studio lover in no time, since I&#8217;d have an integrated environment, with an excellent coding system and very mature language (mostly based off the same type of syntax as Java / Flash). All they need there is a streamlined delivery to Enterprise where an installer is not necessary for the application to run (for the marketing crowd) and we&#8217;re off to the races.</p>
<p>But that&#8217;s a fantasy right now. It&#8217;s very interesting times to be in this business!</p>
]]></content:encoded>
			<wfw:commentRss>http://daelgren.com/blog/2008/03/27/recent-projects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dell XPS m1530</title>
		<link>http://daelgren.com/blog/2008/03/27/dell-xps-m1530/</link>
		<comments>http://daelgren.com/blog/2008/03/27/dell-xps-m1530/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 12:16:44 +0000</pubDate>
		<dc:creator>Bela Korcsog</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wabbit.ca/blog/?p=74</guid>
		<description><![CDATA[I&#8217;ve got to write about my new laptop! It&#8217;s a Dell XPS m1530 and I&#8217;m pretty impressed with how it performs. I got a system outfitted with most of what I thought is cool for Vista based laptops these days &#8230; <a href="http://daelgren.com/blog/2008/03/27/dell-xps-m1530/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got to write about my new laptop! It&#8217;s a Dell XPS m1530 and I&#8217;m pretty impressed with how it performs. I got a system outfitted with most of what I thought is cool for Vista based laptops these days (I went with Vista and I&#8217;m pretty happy with how well it runs).</p>
<p><span id="more-35"></span></p>
<p> Some initial things that I thought made my purchase enjoyable:</p>
<ul>
<li>Ordered from Dell on Feb 15, delivered on Feb 25 (even with all the custom stuff selected)!</li>
<li>Nvidia Geforce 8600 GT card rocks!</li>
<li>200g 7200 rpm drive is fast!</li>
<li>1680&#215;1050 resolution &#8212; so glad I got it!</li>
<li>AverTV card &#8212; awesome for those areas that have HDTV signals and you&#8217;re on the road!</li>
<li>Gyroscopic remote &#8212; great for those times you want to present and don&#8217;t want to sit in front of the laptop but need to use a mouse to show your presentation.</li>
<li>Touch sensitive buttons for common functions.</li>
<li>Zero setup time.</li>
<li>Battery life (2.5 &#8211; 3 on the 6 cell).</li>
<li>Vista rocks!</li>
<li>Webcam is awesome &#8212; follows you around when you move and does an automatic zoom in on your face!</li>
</ul>
<p><a target="_blank" href="/blog/wp-content/uploads/2008/03/video.swf">click here for a video sample</a></p>
<p>Some things that would have made the experience better:</p>
<ul>
<li>Loose bezel on top</li>
<li>Loose frame at barrel hinge</li>
<li>Don&#8217;t like the location of the expresscard slot</li>
<li>Only three usb ports</li>
<li>Getting used to Vista&#8217;s security makes me feel stupid, but I&#8217;m very happy that it&#8217;s there to protect the system from instability.</li>
<li>Don&#8217;t care for the rabbit ears for the AverTV card &#8212; could have come up with something more elegant than that!</li>
</ul>
<p>I&#8217;ll post some shots of the packaging and system at a future point &#8212; I had some projects I needed to do right away once I got the system that threw me for a loop.</p>
<p>Overall, system rocks.</p>
<p>Oh, and if you&#8217;re Canadian like me, you can enter to win one for yourself here:</p>
<p><a href="http://www.winwithdell.com/EN/index.php?Blink=L1206453367318884349 target="><img border="0" width="214" src="http://www.winwithdell.com/EN/images/banner.gif" alt="DELL" height="95" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://daelgren.com/blog/2008/03/27/dell-xps-m1530/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Garbage collection in AS3/Flex</title>
		<link>http://daelgren.com/blog/2007/12/03/garbage-collection-in-as3flex/</link>
		<comments>http://daelgren.com/blog/2007/12/03/garbage-collection-in-as3flex/#comments</comments>
		<pubDate>Mon, 03 Dec 2007 15:22:40 +0000</pubDate>
		<dc:creator>Bela Korcsog</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wabbit.ca/blog/?p=69</guid>
		<description><![CDATA[Matthew Tretter (of StateManager fame) has a great post on garbage collection and Tween, URLLoader, Timer and Loader classes in AS3. He&#8217;s provided replacement classes that solve the issues and this will be something you hit at some point.  Really &#8230; <a href="http://daelgren.com/blog/2007/12/03/garbage-collection-in-as3flex/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Matthew Tretter (of StateManager fame) has a great post on garbage collection and Tween, URLLoader, Timer and Loader classes in AS3. He&#8217;s provided replacement classes that solve the issues and this will be something you hit at some point.</p>
<p><span id="more-32"></span><br />
</p>
<p> Really there&#8217;s nothing specifically wrong with how the classes work, it&#8217;s just the implementation using temporary vars that GC will clean up before the request is complete and the events will never fire.</p>
<p><a target="_blank" href="http://exanimo.com/actionscript/never-use-tween-or-urlloader/">http://exanimo.com/actionscript/never-use-tween-or-urlloader/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://daelgren.com/blog/2007/12/03/garbage-collection-in-as3flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Serendipity</title>
		<link>http://daelgren.com/blog/2007/11/27/serendipity/</link>
		<comments>http://daelgren.com/blog/2007/11/27/serendipity/#comments</comments>
		<pubDate>Tue, 27 Nov 2007 19:49:35 +0000</pubDate>
		<dc:creator>Bela Korcsog</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wabbit.ca/blog/?p=68</guid>
		<description><![CDATA[It&#8217;s nice to see ideas validated through concurrent creative endevours &#8212; as shown by Airgid&#8217;s new site (www.airgid.com) and Adobe&#8217;s new Flash On (http://www.adobe.com/flashon/). Neither site knew of the other&#8217;s development (I know because I wrote Kevin&#8217;s site code), but &#8230; <a href="http://daelgren.com/blog/2007/11/27/serendipity/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s nice to see ideas validated through concurrent creative endevours &#8212; as shown by Airgid&#8217;s new site (<a target="_blank" href="http://www.airgid.com">www.airgid.com</a>) and Adobe&#8217;s new Flash On (<a target="_blank" href="http://www.adobe.com/flashon/">http://www.adobe.com/flashon/</a>).<br />
<span id="more-31"></span><br />
</p>
<p>Neither site knew of the other&#8217;s development (I know because I wrote Kevin&#8217;s site code), but with being released within a week of each other they show that creatively there&#8217;s some semblance of a universal mind at work =). Needless to say, I enjoy both sites.</p>
]]></content:encoded>
			<wfw:commentRss>http://daelgren.com/blog/2007/11/27/serendipity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fun with Winsock (Windows == work of the Devil)</title>
		<link>http://daelgren.com/blog/2007/08/22/fun-with-winsock-pcs-are-fun-every-four-months/</link>
		<comments>http://daelgren.com/blog/2007/08/22/fun-with-winsock-pcs-are-fun-every-four-months/#comments</comments>
		<pubDate>Wed, 22 Aug 2007 14:23:15 +0000</pubDate>
		<dc:creator>Bela Korcsog</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wabbit.ca/blog/?p=59</guid>
		<description><![CDATA[I spend a few hours last night trying to fix my PC and thought I&#8217;d mention how it got fixed.  Turns out either getting spyware or removing spyware or even removing spyware shield programs can screw up your winsock chain. &#8230; <a href="http://daelgren.com/blog/2007/08/22/fun-with-winsock-pcs-are-fun-every-four-months/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I spend a few hours last night trying to fix my PC and thought I&#8217;d mention how it got fixed.</p>
<p> Turns out either getting spyware or removing spyware or even removing spyware shield programs can screw up your winsock chain.</p>
<p><span id="more-26"></span><br />
</p>
<p>Anyway, being as I am, I fixed it by using this app (XP only, no version for Vista that I could find): <a target="_blank" href="http://www.pcworld.com/downloads/file/fid,25701-order,1-page,1-c,alldownloads/description.html">Winsock XP Fix</a></p>
<p>There isn&#8217;t any official page (option explicit was the author, but his site is no longer up), but a ton of sites provide the download and you should keep this one handy on a floppy or USB key.</p>
<p>What does it fix? If you&#8217;ve ever gotten &#8220;cannot connect to the internet&#8221; and you know your router is working fine (especially for other systems on your network) then you&#8217;ve been &#8216;fixed&#8217; by removing spyware that then will leave your system inoperable for browsing.</p>
<p> There&#8217;s some other stuff I came across at the same time, where I couldn&#8217;t get my Windows Firewall to start because of a bunch of issues related to the services being modified on the system by whichever program thought it was a good idea.</p>
<p> First there are three important settings for your windows services, which keep the house of cards standing:</p>
<p>The login, enable/disabled settings, and whether the service starts automatically, manually or is disabled.</p>
<p>Microsoft has a listing of the primary services which will get you back to showroom specs pretty quick if some nice piece of software decided that your services were not set up correctly.</p>
<p><a target="_blank" href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sys_srv_default_settings.mspx?mfr=true">Microsoft Default Windows settings</a></p>
<p> I came across the most excellent site for infomation on windows services and their settings at <a target="_blank" href="http://www.blackviper.com/WinXP/registry.htm">blackviper</a>. This is a great site.</p>
<p> I was still having problems after going through all this, but finally got everything working by following <a target="_blank" href="http://www.duxcw.com/yabbse/index.php?board=2;action=display;threadid=12984">these final steps</a>.</p>
<p>Also, running a last:</p>
<p><strong><a target="_blank" href="http://support.microsoft.com/kb/299357">netsh int ip reset c:\resetlog.txt</a></strong></p>
<p>Seems to clinch the deal. Whew!</p>
]]></content:encoded>
			<wfw:commentRss>http://daelgren.com/blog/2007/08/22/fun-with-winsock-pcs-are-fun-every-four-months/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TIDY up XML source</title>
		<link>http://daelgren.com/blog/2007/08/09/using-scite-scintella-to-tidy-up-xml-html-source/</link>
		<comments>http://daelgren.com/blog/2007/08/09/using-scite-scintella-to-tidy-up-xml-html-source/#comments</comments>
		<pubDate>Thu, 09 Aug 2007 14:19:21 +0000</pubDate>
		<dc:creator>Bela Korcsog</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wabbit.ca/blog/?p=49</guid>
		<description><![CDATA[SCITE includes TIDY for cleaning up HTML/XML documents (rewrapping lines, cleaning up spacing, etc). If you&#8217;ve never used Scintilla based products before (and you have if you&#8217;ve used SEPY, FlashDevelop, Scite&#124;Flash) it&#8217;s a great text editing library that is wrapped &#8230; <a href="http://daelgren.com/blog/2007/08/09/using-scite-scintella-to-tidy-up-xml-html-source/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://www.scintilla.org/">SCITE </a>includes <a target="_blank" href="http://tidy.sourceforge.net/">TIDY </a>for cleaning up HTML/XML documents (rewrapping lines, cleaning up spacing, etc). If you&#8217;ve never used Scintilla based products before (and you have if you&#8217;ve used SEPY, FlashDevelop, Scite|Flash) it&#8217;s a great text editing library that is wrapped in an application layer (Scite). Try out one of the installers they include &#8212; they&#8217;re ultra lightweight and really nice to have around.</p>
<p> Information on parameters used by TIDY are noted here. The default values of the cleanup never really worked with how I used the app so I&#8217;ve made modifications to the html.properties file in the Scintilla Text Editor folder.</p>
<p><span id="more-23"></span><br />
</p>
<p>command.name.1.$(file.patterns.xml)=Save and Indent XML<br />
command.1.$(file.patterns.xml)=tidy -xml -indent -modify &#8220;$(FilePath)&#8221;<br />
command.is.filter.1.$(file.patterns.xml)=1<br />
command.save.before.1.$(file.patterns.xml)=1</p>
<p> <a target="_blank" href="http://tidy.sourceforge.net/docs/tidy_man.html#USAGE">TIDY Quick Reference</a></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="95%">
<blockquote><p><strong>File manipulation</strong></p></blockquote>
</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-output &lt;file&gt;</strong>, <strong>-o &lt;file&gt;</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">write output to the specified &lt;file&gt; (<em>output-file: &lt;file&gt;</em>)</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-config &lt;file&gt;</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">set configuration options from the specified &lt;file&gt;</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-file &lt;file&gt;</strong>, <strong>-f &lt;file&gt;</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">write errors and warnings to the specified &lt;file&gt; (<em>error-file: &lt;file&gt;</em>)</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-modify</strong>, <strong>-m</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">modify the original input files (<em>write-back: yes</em>)</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="4%"></td>
<td width="95%"><strong>Processing directives</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-indent</strong>, <strong>-i</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">indent element content (<em>indent: auto</em>)</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-wrap &lt;column&gt;</strong>, <strong>-w &lt;column&gt;</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">wrap text at the specified &lt;column&gt;. 0 is assumed if &lt;column&gt; is missing. When this option is omitted, the default of the configuration option &#8220;wrap&#8221; applies. (<em>wrap: &lt;column&gt;</em>)</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-upper</strong>, <strong>-u</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">force tags to upper case (<em>uppercase-tags: yes</em>)</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-clean</strong>, <strong>-c</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">replace FONT, NOBR and CENTER tags by CSS (<em>clean: yes</em>)</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-bare</strong>, <strong>-b</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">strip out smart quotes and em dashes, etc. (<em>bare: yes</em>)</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-numeric</strong>, <strong>-n</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">output numeric rather than named entities (<em>numeric-entities: yes</em>)</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-errors</strong>, <strong>-e</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">show only errors and warnings (<em>markup: no</em>)</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-quiet</strong>, <strong>-q</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">suppress nonessential output (<em>quiet: yes</em>)</td>
</tr>
</table>
<p><!-- TABS --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="4" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="11%"></td>
<td width="7%"><strong>-omit</strong></td>
<td width="11%"></td>
<td width="69%">omit optional end tags (<em>hide-endtags: yes</em>)</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-asxml</strong>, <strong>-asxhtml</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">convert HTML to well formed XHTML (<em>output-xhtml: yes</em>)</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-ashtml</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">force XHTML to well formed HTML (<em>output-html: yes</em>)</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-access &lt;level&gt;</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">do additional accessibility checks (&lt;level&gt; = 0, 1, 2, 3). 0 is assumed if &lt;level&gt; is missing. (<em>accessibility-check: &lt;level&gt;</em>)</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="4%"></td>
<td width="95%"><strong>Character encodings</strong></td>
</tr>
</table>
<p><!-- TABS --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="4" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="11%"></td>
<td width="8%"><strong>-raw</strong></td>
<td width="10%"></td>
<td width="69%">output values above 127 without conversion to entities</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-latin0</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">use ISO-8859-15 for input, US-ASCII for output</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-latin1</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">use ISO-8859-1 for both input and output</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-iso2022</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">use ISO-2022 for both input and output</td>
</tr>
</table>
<p><!-- TABS --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="5" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="11%"></td>
<td width="7%"><strong>-utf8</strong></td>
<td width="11%"></td>
<td width="63%">use UTF-8 for both input and output</td>
<td width="5%"></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-win1252</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">use Windows-1252 for input, US-ASCII for output</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-ibm858</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">use IBM-858 (CP850+Euro) for input, US-ASCII for output</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-utf16le</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">use UTF-16LE for both input and output</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-utf16be</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">use UTF-16BE for both input and output</td>
</tr>
</table>
<p><!-- TABS --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="5" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="11%"></td>
<td width="8%"><strong>-utf16</strong></td>
<td width="11%"></td>
<td width="54%">use UTF-16 for both input and output</td>
<td width="13%"></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-shiftjis</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">use Shift_JIS for both input and output</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-language &lt;lang&gt;</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">set the two-letter language code &lt;lang&gt; (for future use) (<em>language: &lt;lang&gt;</em>)</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="4%"></td>
<td width="95%"><strong>Miscellaneous</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-version</strong>, <strong>-v</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">show the version of Tidy</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-help</strong>, <strong>-h</strong>, <strong>-?</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">list the command line options</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-xml-help</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">list the command line options in XML format</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-help-config</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">list all configuration options</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-xml-config</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">list all configuration options in XML format</td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="10%"></td>
<td width="89%"><strong>-show-config</strong></td>
</tr>
</table>
<p><!-- INDENTATION --></p>
<table frame="void" border="0" width="100%" rules="none" cellPadding="0" cols="2" cellSpacing="0">
<tr align="left" vAlign="top">
<td width="21%"></td>
<td width="77%">list the current configuration settings</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://daelgren.com/blog/2007/08/09/using-scite-scintella-to-tidy-up-xml-html-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

