<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://ericcarroll.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>code</title>
 <link>http://ericcarroll.org/logs/code</link>
 <description>The taxonomy view with a depth of 0.</description>
 <language>en</language>
<item>
 <title>FTP Clients &amp; Bookmarks</title>
 <link>http://ericcarroll.org/logs/ftp-clients-bookmarks</link>
 <description>&lt;p&gt;I&#039;ve used many FTP clients over the years like &lt;a href=&quot;http://cyberduck.ch/&quot;&gt;Cyberduck&lt;/a&gt;, &lt;a href=&quot;http://www.panic.com/transmit/&quot;&gt;Transmit&lt;/a&gt;, &lt;a href=&quot;http://fetchsoftworks.com/&quot;&gt;Fetch&lt;/a&gt;, &lt;a href=&quot;http://yummyftp.com/&quot;&gt;YummyFTP&lt;/a&gt;, &lt;a href=&quot;http://www.panic.com/coda/&quot;&gt;Coda&lt;/a&gt; (Yes, Coda is basically Transmit plus a code editor and more) and am looking forward to using Flow, now.&lt;/p&gt;
&lt;p&gt;The one thing that bugs me the most about FTP clients apps is the reliance upon their own bookmarking system. Flow is the exception as it can recognize &lt;a href=&quot;http://cyberduck.ch/&quot;&gt;Cyberduck&#039;s&lt;/a&gt; bookmarks, but you can&#039;t import any others that I know of. &lt;a href=&quot;http://www.panic.com/coda/&quot;&gt;Coda&lt;/a&gt;, &lt;a href=&quot;http://www.panic.com/transmit/&quot;&gt;Transmit&lt;/a&gt; and &lt;a href=&quot;http://yummyftp.com/&quot;&gt;YummyFTP&lt;/a&gt; all use their own system and this is a pain if you want to migrate over or have reason to use multiple client apps.&lt;/p&gt;
&lt;p&gt;Is it possible to import Keychain data into any FTP clients? What is your recommended method to migrate from one FTP client to another? Have any tips?&lt;/p&gt;
&lt;p&gt;Note: I still use FTP for simple site edits and maintaining smaller websites so this isn&#039;t meant to be a post about SVN, Git, SSH, etc.&lt;/p&gt;
</description>
 <comments>http://ericcarroll.org/logs/ftp-clients-bookmarks#comments</comments>
 <category domain="http://ericcarroll.org/logs/applications">applications</category>
 <category domain="http://ericcarroll.org/logs/bookmarks">bookmarks</category>
 <category domain="http://ericcarroll.org/logs/code">code</category>
 <category domain="http://ericcarroll.org/logs/ftp">ftp</category>
 <category domain="http://ericcarroll.org/logs/workflow">workflow</category>
 <pubDate>Wed, 17 Mar 2010 11:50:43 -0500</pubDate>
 <dc:creator>eric</dc:creator>
 <guid isPermaLink="false">4210 at http://ericcarroll.org</guid>
</item>
<item>
 <title>Backward-Compatible CSS Classes</title>
 <link>http://ericcarroll.org/logs/backward-compatible-css-classes</link>
 <description>&lt;p&gt;It&#039;s funny to look back and see what you&#039;ve learned about CSS and web design, as a whole. Looking back, I know that my first sites were terrible. I didn&#039;t know about Doctypes, symantically correct HTML, etc.&lt;/p&gt;
&lt;p&gt;For those of us that have forgotten what it is like to be a new web designer, web developer, or on the client side of things, I have provided a list of CSS classes to use as a reminder (in light-hearted jest, of course).&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;h1 class=&quot;secretary-turned-designer&quot;&amp;gt;&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;h2 class=&quot;use-wherever-there-is-quoted-text&quot;&amp;gt;&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;h3 class=&quot;gosh-awful&quot;&amp;gt;&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;h4 class=&quot;gosh-awful capslock&quot;&amp;gt;&amp;lt;/h4&amp;gt;&lt;br /&gt;
&amp;lt;h4 class=&quot;gosh-awful use-a-font-that-only-we-have&quot;&amp;gt;&amp;lt;/h4&amp;gt;&lt;br /&gt;
&amp;lt;h5 class=&quot;because-i-dont-know-the-difference-between-a-header-and-bold-paragraph-text&quot;&amp;gt;&amp;lt;/h5&amp;gt;&lt;br /&gt;
&amp;lt;h6 class=&quot;i-dont-care-about-symantically-correct-i-just-want-to-use-this-as-the-page-header&quot;&amp;gt;&amp;lt;/h6&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;p class=&quot;retina-burnin hot-pink-text-on-neon-green-background&quot;&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&quot;retina-burnin bright-blue-text-on-bright-yellow-background&quot;&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&quot;comic-sans-need-i-say-more&quot;&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&quot;i-like-frontpage&quot;&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&quot;how-do-i-edit-this-in-dreamweaver&quot;&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&quot;do-it-like-microsoft-word-does-it&quot;&amp;gt;&amp;lt;/p&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;ol class=&quot;animated-bullets smiley-faces&quot;&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;ul class=&quot;lets-use-a-lot-of-asterisks-instead&quot;&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;ul class=&quot;because-i-think-centered-bullets-look-better&quot;&amp;gt;&amp;lt;/ul&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;img class=&quot;use-logo-secretary-designed&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;img class=&quot;make-logo-bigger&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;img class=&quot;make-photos-of-boss-more-prominent&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;img class=&quot;photos-of-employees display-none&quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;div class=&quot;where-is-the-table-drawing-tool&quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&quot;the-site-looks-bad-in netscape-4-7 ie-4&quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&quot;i-dont-see-whitespace-because-the-page-background-is-black&quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&quot;copied-html-from-word-and-the-site-is-now-broken send-angry-email-to-designer&quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&quot;hired-neighbors-kid&quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&quot;why-are-css-gallery-sites-laughing-at-us&quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;/code&gt;&lt;/p&gt;
</description>
 <comments>http://ericcarroll.org/logs/backward-compatible-css-classes#comments</comments>
 <category domain="http://ericcarroll.org/logs/code">code</category>
 <category domain="http://ericcarroll.org/logs/humor">humor</category>
 <pubDate>Mon, 08 Oct 2007 11:59:50 -0500</pubDate>
 <dc:creator>eric</dc:creator>
 <guid isPermaLink="false">22 at http://ericcarroll.org</guid>
</item>
<item>
 <title>CLObject</title>
 <link>http://ericcarroll.org/logs/clobject</link>
 <description>&lt;h3&gt;Conditional Love Object&lt;/h3&gt;
&lt;p&gt;CLObject (in order to give it an actual name), came about after frustration with getting Suckerfish Dropdowns to work with SWFobject. My Suckerfish dropdowns were behind my Flash animation in IE only. After trying various CSS changes (z-index, absolute positioning, etc), I realized that it might be possible to put conditional comments for IE on the embed tag, but Camino/Firefox/Flock would choke and not show anything at all while Safari and IE were fine.&lt;/p&gt;
&lt;h3&gt;Beat me to it&lt;/h3&gt;
&lt;p&gt;I worked for hours trying to get this right and testing things by trial and error (because, sometimes, you just want to figure it out on your own). Then, much later in the day, I come across &lt;a href=&quot;http://latrine.dgx.cz/how-to-correctly-insert-a-flash-into-xhtml&quot;&gt;David Grudl&#039;s post&lt;/a&gt; about the same thing I was working on so I tried his, but I was getting the HTMLtidy errors with Safari. I just had to simplify the comments a bit and it worked great for me.&lt;/p&gt;
&lt;p&gt;After David&#039;s post deflated me a bit, which is not surprising since there are tons of smarter people than myself, I guess all I can be accused of is giving it a name (Great. Now I am in marketing?).&lt;/p&gt;
&lt;p&gt;I give &lt;a href=&quot;http://latrine.dgx.cz/how-to-correctly-insert-a-flash-into-xhtml&quot;&gt;David Grudl&lt;/a&gt; full credit for this, unless someone can prove otherwise, but, either way, I think it is a great method for inserting Flash while still validating.&lt;/p&gt;
&lt;p&gt;Even though my findings were almost three months later, I&#039;ll explain it here, anyway, but for more indepth information please see &lt;a href=&quot;http://latrine.dgx.cz/how-to-correctly-insert-a-flash-into-xhtml&quot;&gt;David&#039;s post&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;The Code&lt;/h3&gt;
&lt;p&gt;This code uses Conditional Comments for IE to hide one object &lt;em&gt;from&lt;/em&gt; IE while the other is fed &lt;em&gt;only&lt;/em&gt; to IE.&lt;/p&gt;
&lt;h4&gt;For Camino/Firefox/Flock, Opera and Safari&lt;/h4&gt;
&lt;p&gt;This bit is read as normal by most browsers, except for IE. The &quot;!&quot; tells IE to leave it alone and go on about it&#039;s quirky business.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;!--[if !IE]&amp;gt;--&amp;gt;&lt;br /&gt;
&amp;lt;object type=&quot;application/x-shockwave-flash&quot; data=&quot;flash_content.swf&quot;&lt;br /&gt;
width=&quot;500&quot; height=&quot;100&quot;&amp;gt;&lt;br /&gt;
&amp;lt;img src=&quot;alternate_image.jpg&quot; width=&quot;500&quot; height=&quot;100&quot; alt=&quot;alternate content&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/object&amp;gt;&lt;br /&gt;
&amp;lt;!--&amp;lt;![endif]--&amp;gt;&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;
&lt;h4&gt;For IE&lt;/h4&gt;
&lt;p&gt;This bit is skipped by non-IE browsers. IE reads it and does it&#039;s thing.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;!--[if IE]&amp;gt;&lt;br /&gt;
&amp;lt;object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;&lt;br /&gt;
codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0&quot;&lt;br /&gt;
width=&quot;500&quot; height=&quot;100&quot;&amp;gt;&lt;br /&gt;
&amp;lt;param name=&quot;movie&quot; value=&quot;flash_content.swf&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;img src=&quot;alternate_image.jpg&quot; width=&quot;500&quot; height=&quot;100&quot; alt=&quot;alternate content&quot; /&amp;gt;&amp;lt;/object&amp;gt;&lt;br /&gt;
&amp;lt;![endif]--&amp;gt;&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;What I had come up with didn&#039;t fix the Eolas issue with Flash content, but &lt;a href=&quot;http://latrine.dgx.cz/how-to-avoid-activation-of-active-x-in-ie&quot;&gt;David has that covered as well in another post&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I could have just dug deeper for someone else&#039;s solution, but I did enjoy the challenge.&lt;/p&gt;
</description>
 <comments>http://ericcarroll.org/logs/clobject#comments</comments>
 <category domain="http://ericcarroll.org/logs/code">code</category>
 <category domain="http://ericcarroll.org/logs/flash">flash</category>
 <pubDate>Sat, 17 Feb 2007 22:59:32 -0600</pubDate>
 <dc:creator>eric</dc:creator>
 <guid isPermaLink="false">6 at http://ericcarroll.org</guid>
</item>
</channel>
</rss>

