<?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>Tiffany B. Brown &#187; html</title>
	<atom:link href="http://tiffanybbrown.com/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://tiffanybbrown.com</link>
	<description>A web log about web development and internet culture with frequent detours into other stuff.</description>
	<lastBuildDate>Wed, 01 Sep 2010 02:19:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>&#8220;Design Code&#8221; by the Poetic Prophet (AKA The SEO Rapper)</title>
		<link>http://tiffanybbrown.com/2008/03/27/design-code-by-the-poetic-prophet-aka-the-seo-rapper/</link>
		<comments>http://tiffanybbrown.com/2008/03/27/design-code-by-the-poetic-prophet-aka-the-seo-rapper/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 20:50:05 +0000</pubDate>
		<dc:creator>tiffany</dc:creator>
				<category><![CDATA[(x)HTML]]></category>
		<category><![CDATA[Cool / Weird / Funny]]></category>
		<category><![CDATA[Web Development & Programming]]></category>
		<category><![CDATA[Web standards]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://tiffanybbrown.com/2008/03/27/design-code-by-the-poetic-prophet-aka-the-seo-rapper/</guid>
		<description><![CDATA[I am incredibly impressed with this dude&#8217;s ability to rhyme about web standards. Not that his rhyming skills are hot, mind you, but the subject matter isn&#8217;t exactly the stuff of legendary hip-hop.]]></description>
			<content:encoded><![CDATA[<div class="video">
<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/a0qMe7Z3EYg&#038;hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/a0qMe7Z3EYg&#038;hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>
</div>
<p>I am incredibly impressed with this dude&#8217;s ability to rhyme about web standards. Not that his rhyming skills are hot, mind you, but the subject matter isn&#8217;t exactly the stuff of legendary hip-hop.</p>
]]></content:encoded>
			<wfw:commentRss>http://tiffanybbrown.com/2008/03/27/design-code-by-the-poetic-prophet-aka-the-seo-rapper/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Turn text files into pull down menus</title>
		<link>http://tiffanybbrown.com/2008/02/26/turn-text-files-into-pull-down-menus/</link>
		<comments>http://tiffanybbrown.com/2008/02/26/turn-text-files-into-pull-down-menus/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 02:16:43 +0000</pubDate>
		<dc:creator>tiffany</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[drop down menu]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[pull down menu]]></category>

		<guid isPermaLink="false">http://tiffanybbrown.com/2008/02/26/turn-text-files-into-pull-down-menus/</guid>
		<description><![CDATA[UPDATE: This could also be done with the foreach() construct, but here &#8212; on my set-up at least &#8212; the for loop is a teensy bit faster. I developed this PHP function for a project I&#8217;m working on. I&#8217;m posting it here in case I need it again, or in case you find it handy. [...]]]></description>
			<content:encoded><![CDATA[<p class="editors-note"><b>UPDATE:</b> This could also be done with the <code>foreach()</code> construct, but here &#8212; on my set-up at least &#8212; the <code>for</code> loop is a teensy bit faster.</p>
<p>I developed this PHP function for a project I&#8217;m working on. I&#8217;m posting it here in case I need it again, or in case you find it handy.</p>
<pre>
#Input text files must contain one item per line
function print_menu($txtfile_or_files){
	$args = func_get_args();
	$num_args = func_num_args();
	$input = array();

	for($i = 0; $i &lt; $num_args; $i++){
		// get contents of each text file specified
		$lines = file($args[$i]); 

		// get each line from each file an add to array
		for($j = 0; $j &lt; count($lines); $j++){
			array_push($input,$lines[$j]);
		}
	}
	// sort alphabetically
	sort($input,SORT_STRING);		

	for($i = 0; $i &lt; count($input); $i++){
		$value = str_replace(' ','_',strtolower(trim($input[$i])));
		echo '&lt;option value="'.$value.'"&gt;'.trim($input[$i])."&lt;/option&gt;\n";
	}
}
</pre>
<h3>Configuration and use</h3>
<p>The variable <code>$txtfile_or_files</code> should be a comma-separated list of paths to plain text files. This function accepts multiple arguments, in case you want to string multiple files into one menu.</p>
<p>Each text file should contain one item per line. For example:</p>
<pre>
Red
Blue
Orange
Green
</pre>
<p>Add another line or two of code if you need to indicate whether the form field value has already been selected.</p>
]]></content:encoded>
			<wfw:commentRss>http://tiffanybbrown.com/2008/02/26/turn-text-files-into-pull-down-menus/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>On IE8: Pragmatic and practical, but I still don&#8217;t like it</title>
		<link>http://tiffanybbrown.com/2008/01/25/internet-explorer-8-version-targeting-meta-tag/</link>
		<comments>http://tiffanybbrown.com/2008/01/25/internet-explorer-8-version-targeting-meta-tag/#comments</comments>
		<pubDate>Fri, 25 Jan 2008 16:38:26 +0000</pubDate>
		<dc:creator>tiffany</dc:creator>
				<category><![CDATA[(x)HTML]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Web Development & Programming]]></category>
		<category><![CDATA[Web standards]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[ie8]]></category>
		<category><![CDATA[webdevelopment]]></category>
		<category><![CDATA[webstandards]]></category>

		<guid isPermaLink="false">http://tiffanybbrown.com/2008/01/25/internet-explorer-8-version-targeting-meta-tag/</guid>
		<description><![CDATA[For some background on this post, please start by reading Aaron Gustafson&#8217;s Beyond DOCTYPE: Web Standards, Forward Compatibility, and IE8 on this week&#8217;s edition of A List Apart, or any of the links from my Internet Explorer 8 round-up post. This post is an extended version of my comment there. About 6 years ago, I [...]]]></description>
			<content:encoded><![CDATA[<p class="editors-note">For some background on this post, please start by reading Aaron Gustafson&#8217;s <a href="http://alistapart.com/articles/beyonddoctype">Beyond DOCTYPE: Web Standards, Forward Compatibility, and IE8</a> on this week&#8217;s edition of <span class="website title">A List Apart</span>, or any of the links from my <a href="http://tiffanybbrown.com/2008/01/22/internet-explorer-8-round-up/">Internet Explorer 8 round-up</a> post. This post is an extended version of my <a href="http://tiffanybbrown.com/2008/01/22/internet-explorer-8-round-up/#comment-90568">comment</a> there.</p>
<p>About 6 years ago, I remember taking part in a conversation about preferred browsers on the <a href="http://janemag.com/" class="magazine title">Jane</a> magazine message boards. IE 5.x was still king of the PC world. IE 6 was coming on strong. Netscape 4 was still widely used by universities. Netscape 6 was on its way. </p>
<p>Most of the respondents said they preferred Internet Explorer. Why? Because sites just &#8220;look right&#8221; and &#8220;work better&#8221; in Internet Explorer. My response at the time was simple: if a site doesn&#8217;t work in Netscape, <em>it&#8217;s because the web developer didn&#8217;t know what (s)he was doing</em>.  </p>
<p>Of course, they didn&#8217;t care. They were far more into Sephora than HTML code quality. As far as they were concerned, Netscape was the problem. They didn&#8217;t blame crap code, or Microsoft for developing a browser that stomped harder than a Catalonian flamenco dancer all over the W3C specs and allowed ugly code to thrive. <strong>They blamed Netscape</strong>.</p>
<p>I was reminded of that conversation when I first read Microsoft&#8217;s recent announcement about Internet Explorer 8. After my initial  <q class="i">D*MNF*CKINGBLOODYHELL!JUSTBREAKTHF*CKINGWEBALREADYMICROSOFT!WHATTHEF*CK? IAMTIREDOFYOURAGGEDYBASTARDSMAKINGMYDAYJOB1000TIMESHARDERTHANITNEEDSTOBEBECAUSEYOUCAN&#8217;T DEVELOPABROWSERTHATFOLLOWSAF*CKING10YEAROLDSPEC!!!</q> reaction passed, I came to the following conclusion: <strong>this is the best approach to a bad situation</strong>.</p>
<p>Microsoft does not want to be where Netscape was. It&#8217;s a sad but true fact is that if a site breaks, the average web user &#8212; and, dare I say, average web developer &#8212; will <strong>blame the browser</strong>. Microsoft is too entrenched in corporate intranets and applications to let that happen. Doing so would cause a sh*tstorm of massive proportions for the company. From a business perspective, I understand. </p>
<p>And while I am also not happy about the default implementation (as <cite>Jeremy Keith</cite> explained <q cite="http://adactio.com/journal/1402">Unless you explicitly declare that you want IE8 to behave as IE8, it will behave as IE7.</q>), <strong>opting-in to web standards eliminates the need to revise existing code</strong>. </p>
<p>Yes, it&#8217;s potentially a nail in the coffin for <a href="http://en.wikipedia.org/wiki/Progressive_enhancement">progressive enhancement</a> techniques. Yes, we&#8217;ll still have to do something special to cater to Microsoft browsers. <ins datetime="2008-01-25T16:48:14+00:00">Yes, this could freeze web development at the IE7 level for years to come.</ins> But I believe &#8212; and it pains me to say it given the hate-hate more relationship I have with Microsoft browsers &#8212; that <strong>Microsoft, given its position, had no other choice</strong>.</p>
<p>But putting pragmatic approaches and practical considerations aside, I think <a href="http://weblog.200ok.com.au/2008/01/opt-out-version-targeting-is-spam.html"><cite>Ben Buchanan</cite></a> said it best: </p>
<blockquote cite="http://weblog.200ok.com.au/2008/01/opt-out-version-targeting-is-spam.html"><p>
If they&#8217;ve included a <code>DOCTYPE</code>, they&#8217;ve declared they want to render to standards. If they did that in ignorance, it&#8217;s time they started earning their money instead of letting <span class="software">Dreamweaver<span> do their jobs.<br />
</span></span></p></blockquote>
<p><b>Related:</b> <a href="http://tiffanybbrown.com/2008/01/22/internet-explorer-8-round-up/">Internet Explorer 8 Round Up</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tiffanybbrown.com/2008/01/25/internet-explorer-8-version-targeting-meta-tag/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Internet Explorer 8 round-up</title>
		<link>http://tiffanybbrown.com/2008/01/22/internet-explorer-8-round-up/</link>
		<comments>http://tiffanybbrown.com/2008/01/22/internet-explorer-8-round-up/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 20:07:17 +0000</pubDate>
		<dc:creator>tiffany</dc:creator>
				<category><![CDATA[(x)HTML]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Web Development & Programming]]></category>
		<category><![CDATA[Web standards]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[ie8]]></category>

		<guid isPermaLink="false">http://tiffanybbrown.com/2008/01/22/internet-explorer-8-round-up/</guid>
		<description><![CDATA[My take: On IE8: Pragmatic and practical, but I still don&#8217;t like it UPDATES: Microsoft versioning: accessibility implications What Internet Explorer&#8217;s change means for accessibility. Best Standards Support Sam Ruby offers a server-side suggestion for handling IE8 content requests. Mike Davies argues that this should and perhaps could be the end of the line for [...]]]></description>
			<content:encoded><![CDATA[<p>My take: <a href="http://tiffanybbrown.com/2008/01/25/internet-explorer-8-version-targeting-meta-tag/">On IE8: Pragmatic and practical, but I still don&#8217;t like it</a></p>
<p><b>UPDATES:</b></p>
<dl>
<dt><a href="http://www.brucelawson.co.uk/index.php/2008/accessibility-implications-microsoft-versioning/">Microsoft versioning: accessibility implications</a></dt>
<dd>What Internet Explorer&#8217;s change means for accessibility.</dd>
<dt><a href="http://intertwingly.net/blog/2008/01/22/Best-Standards-Support">Best Standards Support</a></dt>
<dd>Sam Ruby offers a server-side suggestion for handling IE8 content requests.</dd>
<dt><a href="http://www.isolani.co.uk/blog/standards/EndOfLineInternetExplorer"></a></dt>
<dd>Mike Davies argues that this should and perhaps could be the end of the line for Internet Explorer.</dd>
<dt><a href="http://blog.codedread.com/archives/2008/01/23/microsofts-super-standards-mode-important-facts/#the-main-point">Microsoft&#8127;s &#8220;Super Standards&#8221; Mode: Important Facts</a></dt>
<dd>Jeff Schiller offers the clearest explanation I&#8217;ve seen about the changes coming with IE8. </dd>
<dt><a href="http://ln.hixie.ch/?start=1201080691&#038;count=1">Mistakes, Sadness, Regret</a></dt>
<dd>Ian Hickson on IE8, HTML5 and Microsoft.</dd>
<dt><a href="http://alex.dojotoolkit.org/?p=647">Big Questions On IE8&#8242;s Big Progress</a></p>
<dd>Alex Russell has some questions about how Microsoft will implement conflicts  between meta tags.</dd>
</dt>
<dt><a href="http://arstechnica.com/articles/paedia/ie8-super-standards-mode.ars">Wisdom and folly: IE8&#8242;s super standards mode cuts both ways</a></dt>
<dd>Peter Bright over at Ars Technica gives a rundown of how this new &#8216;super-standards&#8217; mode will work in IE8</dd>
<dt><a href="http://ejohn.org/blog/meta-madness/">Meta Madness</a></dt>
<dd><q>What seems to have slipped past the Microsoft Task Force of WaSP (or maybe it didn&#8217;t and they&#8217;re just playing coy) is that by implementing this specific feature in any other browser immediately either: A) Reduces its market size of viable web pages that will upgrade to new versions of the browser or B) Forces new versions of the browser to bloat, including backwards support for old-style rendering.</q> &#8211; <cite>John Ressig</cite></p>
<dt><a href="http://realtech.burningbird.net/standards/bobbing-heads-and-the-ie8-meta-tag/">Bobbing Heads and the IE8 Meta Tag</a></dt>
</dd>
<dd>Shelley Powers blasts this IE announcement.</dd>
<dt><a href="http://www.zeldman.com/2008/01/22/in-defense-of-version-targeting/">In defense of version targeting</a></dt>
<dd><cite>Jeffrey Zeldman</cite> says: <q>When I look at the scenarios of who is likely to do what where web standards and version targeting are concerned, the IE7 default for those who don’t opt in appears to be the correct design decision.</q></dd>
<dt><a href="http://webkit.org/blog/155/versioning-compatibility-and-standards/">Versioning, Compatibility and Standards</a></dt>
<dd>The WebKit team says it won&#8217;t be joining this &lt;meta&gt; tag march.</dd>
<dt><a href="http://weblog.200ok.com.au/2008/01/opt-out-version-targeting-is-spam.html">Opt-out version targeting is spam</a></dt>
<dd><q>If they&#8217;ve included a DOCTYPE, they&#8217;ve declared they want to render to standards. If they did that in ignorance, it&#8217;s time they started earning their money instead of letting Dreamweaver do their jobs.</q> &#8212; <cite>Ben Buchanan</cite>
</dd>
</dl>
<hr />
<p>It started this morning with Aaron Gustafson&#8217;s article on <a href="http://www.alistapart.com/" class="website title">A List Apart</a> announcing a new method of versioning HTML documents in the forthcoming Internet Explorer 8. Reaction is coming in from around the web. A few notable posts are below. I&#8217;ll keep updating this post as I come across stuff.</p>
<dl>
<dt><a href="http://alistapart.com/articles/beyonddoctype">Beyond DOCTYPE: Web Standards, Forward Compatibility, and IE8</a></dt>
<dd>Aaron Gustafson discusses Microsoft&#821;s latest effort to maintain web standards and also maintain backward compatibility.</dd>
<dt><a href="http://blogs.msdn.com/ie/archive/2008/01/21/compatibility-and-ie8.aspx">Compatibility and IE8</a></dt>
<dd>Some background information relating to Microsoft&#8217;s decision.</dd>
<dt><a href="http://adactio.com/journal/1402">Broken</a></dt>
<dd><q>Unless you explicitly declare that you want IE8 to behave as IE8, it will behave as IE7.</q><cite>Jeremy Keith</cite></dd>
<dt><a href="http://weblogs.mozillazine.org/roc/archives/2008/01/post_2.html">&lt;META HTTP-EQUIV=&#8221;X-BALL-CHAIN&#8221;&gt;</a></dt>
<dd>Mozilla hacker Robert O&#8217;Callahan weighs in on why this is (almost certainly) a bad idea.</dd>
<dt><a href="http://snook.ca/archives/browsers/version_targeting_ie8/">IE8 to include version targeting</a></dt>
<dd>Jonathan Snook likes the approach.</dd>
<dt><a href="http://alistapart.com/articles/fromswitchestotargets">From Switches to Targets: A Standardista&#8217;s Journey</a></dt>
<dd>Eric Meyer argues that maybe version isn&#821;t such a bad thing.</dd>
<dt><a href="http://alistapart.com/articles/beyonddoctype">Beyond DOCTYPE: Web Standards, Forward Compatibility, and IE8</a></dt>
<dd>Aaron Gustafson discusses Microsoft&#821;s latest effort to maintain web standards and also maintain backward compatibility.</dd>
<dt><a href="http://annevankesteren.nl/2008/01/ie-lock-in">The Internet Explorer lock-in</a></dt>
<dd>Anne van Kesteren is not a fan of this Microsoft initiative.</dd>
</dl>
]]></content:encoded>
			<wfw:commentRss>http://tiffanybbrown.com/2008/01/22/internet-explorer-8-round-up/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Validator S.A.C.: A stand-alone markup validator for Mac OS X</title>
		<link>http://tiffanybbrown.com/2007/10/16/validator-sac-a-stand-alone-markup-validator-for-mac-os-x/</link>
		<comments>http://tiffanybbrown.com/2007/10/16/validator-sac-a-stand-alone-markup-validator-for-mac-os-x/#comments</comments>
		<pubDate>Tue, 16 Oct 2007 15:13:21 +0000</pubDate>
		<dc:creator>tiffany</dc:creator>
				<category><![CDATA[(x)HTML]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web Development & Programming]]></category>
		<category><![CDATA[Web standards]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://tiffanybbrown.com/2007/10/16/validator-sac-a-stand-alone-markup-validator-for-mac-os-x/</guid>
		<description><![CDATA[Ever need to validate your HTML files without an Internet connection? Or maybe you just weren&#8217;t quite ready to upload your files to a server, but still wanted to check them. That&#8217;s where Validator S.A.C. comes in handy. Validator S.A.C. is a Mac-only, stand-alone version of the W3C Markup Validator. With it, you can check [...]]]></description>
			<content:encoded><![CDATA[<p>Ever need to validate your HTML files without an Internet connection? Or maybe you just weren&#8217;t quite ready to upload your files to a server, but still wanted to check them. That&#8217;s where <a href="http://habilis.net/validator-sac/">Validator S.A.C.</a> comes in handy.</p>
<p>Validator S.A.C. is a Mac-only, stand-alone version of the <a href="http://validator.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr> Markup Validator</a>. With it, you can check the validity of HTML, XHTML, SMIL and MathML documents right from your desktop. Or you can run the validator as a web service on your Mac, which makes it available to other Macs on your network <ins datetime="2007-10-17T17:10:54+00:00">via Bonjour, and to other computers via IP</ins>. Plus you can run Validator S.A.C. from the disk image, or from a USB drive without installing. </p>
<p>The interface is nearly as easy to use as the online <abbr title="World Wide Web Consortium">W3C</abbr> validator. Enter a file&#8217;s location &#8212; either directly in the form field, or by selecting File > Open from the menu bar (or Command + O) &#8212; and click &#8220;Check&#8221; to validate &#8212; no Internet connection necessary.</p>
]]></content:encoded>
			<wfw:commentRss>http://tiffanybbrown.com/2007/10/16/validator-sac-a-stand-alone-markup-validator-for-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
