<?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>kev.in &#187; Internet</title>
	<atom:link href="http://kev.in/category/internet/feed" rel="self" type="application/rss+xml" />
	<link>http://kev.in</link>
	<description>"It was a musical thing and you were supposed to sing"</description>
	<lastBuildDate>Thu, 13 Nov 2008 09:23:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using dp.SyntaxHighlighter with Valid XHTML</title>
		<link>http://kev.in/2007/11/29/using-dpsyntaxhighlighter-with-valid-xhtml.html</link>
		<comments>http://kev.in/2007/11/29/using-dpsyntaxhighlighter-with-valid-xhtml.html#comments</comments>
		<pubDate>Fri, 30 Nov 2007 01:23:37 +0000</pubDate>
		<dc:creator>Kev.in</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://kev.in/2007/11/29/using-dpsyntaxhighlighter-with-valid-xhtml/</guid>
		<description><![CDATA[Over at Rails Authority I use a great client-side syntax highlighter called SyntaxHighlighter to make code examples look nice, but it doesn&#8217;t support Valid XHTML , so I enhanced it to handle an XHTML-compatible style, e.g.:
&#60;pre>
  &#60;code class="code xml:nogutter">
    Your IP address is &#60;%= @client_ip %&#62;
  &#60;/code>
&#60;/pre>
(Inspired by Ernest&#8217;s post, [...]]]></description>
			<content:encoded><![CDATA[<p>Over at <a href="http://railsauthority.com">Rails Authority</a> I use a great client-side syntax highlighter called <a href="http://code.google.com/p/syntaxhighlighter/">SyntaxHighlighter</a> to make code examples look nice, but it doesn&#8217;t <a href="http://groups.google.com/group/syntaxhighlighter/browse_thread/thread/e6dac1c90d8faaa1/df95d0e0c7d63ca9">support</a> <a href="http://groups.google.com/group/syntaxhighlighter/browse_thread/thread/a8a8edd03b905020/2ac5b2ad8cf3f7ee">Valid XHTML</a> , so I enhanced it to handle an XHTML-compatible style, e.g.:</p>
<pre name="code" class="xml:nocontrols:nogutter">&lt;pre>
  &lt;code class="code xml:nogutter">
    Your IP address is &lt;%= @client_ip %&gt;
  &lt;/code>
&lt;/pre></pre>
<p>(Inspired by Ernest&#8217;s post, linked above.)
</p>
<p><span id="more-78"></span></p>
<p>To make this work, I made three changes to the shCore.js file (all within the HighlightAll function):</p>
<ol>
<li> In FindTagsByName, change line 618 that says:
<pre name="code" class="js:nocontrols:nogutter">  if(tags[i].getAttribute('name') == name)</pre>
<p>&#8230; to:</p>
<pre name="code" class="js:nocontrols:nogutter">  if(tags[i].getAttribute('name') == name || tags[i].className.indexOf(name)==0)</pre>
</li>
<li>
Down a few lines at line 627, insert another FindByTags call for &#8216;code&#8217;:</p>
<pre name="code" class="js:nocontrols:nogutter">  FindTagsByName(elements, name, 'code'); // Add this line
  FindTagsByName(elements, name, 'pre');
  FindTagsByName(elements, name, 'textarea');
</pre>
</li>
<li>
Further down, at line ~ 657 insert this right before <code>options = options.split(':');</code>:</p>
<pre name="code" class="js:nocontrols:nogutter">  options = options.replace(new RegExp("^"+name+"\\s"), ''); // Turn 'code ruby:option1:option2' into 'ruby:option1:option2'</pre>
</li>
</ol>
<p>This should be backward-compatible with the existing pre and textarea methods.</p>
<p>And here&#8217;s the diff of the above steps:</p>
<pre>$ diff shCore.js.orig shCore.js
618c618
<                       if(tags[i].getAttribute('name') == name)
---
>                       if(tags[i].getAttribute('name') == name || tags[i].className.indexOf(name)==0)
627a628
>       FindTagsByName(elements, name, 'code');
657a659
>               options = options.replace(new RegExp("^"+name+"\\s"), ''); // Turn 'dp-hilite ruby:option1:option2' into 'ruby:option1:option2'
</pre>
]]></content:encoded>
			<wfw:commentRss>http://kev.in/2007/11/29/using-dpsyntaxhighlighter-with-valid-xhtml.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thanksgiving: Thanks for Radio Lab</title>
		<link>http://kev.in/2007/11/26/thanksgiving-thanks-for-radio-lab.html</link>
		<comments>http://kev.in/2007/11/26/thanksgiving-thanks-for-radio-lab.html#comments</comments>
		<pubDate>Tue, 27 Nov 2007 07:17:48 +0000</pubDate>
		<dc:creator>Kev.in</dc:creator>
				<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://kev.in/2007/11/26/thanksgiving-thanks-for-radio-lab/</guid>
		<description><![CDATA[
While getting fat on turkey and mashed potatoes in Minnesota over the holiday, I discovered a great little radio show called Radio Lab, which is also published as a podcast. I had originally heard a clip of their show on This American Life a couple months ago, but despite Ira Glass&#8217;s ringing endorsement, I hadn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" src="http://kev.in/wp-content/uploads/2007/11/8c3343f4-4489-48a2-92ad-ad00cce923e4.jpg" alt="8C3343F4-4489-48A2-92AD-AD00CCE923E4.jpg" border="0" width="200" height="150" />
<p>While getting fat on turkey and mashed potatoes in Minnesota over the holiday, I discovered a great little radio show called <a href="http://www.wnyc.org/shows/radiolab/">Radio Lab</a>, which is also published as a podcast. I had originally heard a clip of their show on This American Life a couple months ago, but despite Ira Glass&#8217;s ringing endorsement, I hadn&#8217;t sought out a listen until the night before flying. Boy, am I glad I did.</p>
<p>What&#8217;s Radio Lab? Think Car Talk (but more production and no phone calls) meets Bill Nye the Science Guy.  What I like about the show is that the topics are science-focused, and the hosts (Jad and Robert) banter and discuss things in a lively way. It&#8217;s not boring; rather, it&#8217;s engaging and the pace moves swiftly. The production seems almost built for the attention-deficit world we live in: some key phrases are repeated for emphasis, there is some narration on top of recorded stories to provide clarification, and there is discussion in a conversational tone. It all adds up to a really fun and enlightening experience.</p>
<p>I managed to listen to eleven podcasts on four flights and while drifting off to sleep each night over the last few days. If you&#8217;re looking for a place to start, my favorite episodes so far have been <strong>Morality</strong>, <strong>Musical Language</strong>, <strong>Memory and Forgetting</strong>, and <strong>Who Am I?</strong>. It&#8217;s a fairly deep-thinking, hour-long show, so I&#8217;m not sure how it would hold up under the demands of driving (I often find my mind wanders as I drive regardless of what I listen to). But if you can manage to concentrate fully and follow along, you&#8217;ll be rewarded with some truly mind-enhancing moments.</p>
<p>And, if nothing else, you&#8217;ll be able to spout off random, newly-learned fun-facts at parties. Did you know that some animals sleep half of their brain at a time?</p>
]]></content:encoded>
			<wfw:commentRss>http://kev.in/2007/11/26/thanksgiving-thanks-for-radio-lab.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft adCenter vs Google Adwords (Round 1)</title>
		<link>http://kev.in/2007/08/23/microsoft-adcenter-vs-google-adwords-round-1.html</link>
		<comments>http://kev.in/2007/08/23/microsoft-adcenter-vs-google-adwords-round-1.html#comments</comments>
		<pubDate>Thu, 23 Aug 2007 17:42:15 +0000</pubDate>
		<dc:creator>Kev.in</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://kev.in/2007/08/23/microsoft-adcenter-vs-google-adwords-round-1/</guid>
		<description><![CDATA[At the risk of being called a keyword Nazi and having to endure accusations that I care just a little too much about this stuff: Microsoft just managed surpass my experience with Yahoo.
As I mentioned, I&#8217;ve been advertising my online community classifieds site, Dibs.net, on Google for almost a month. Last night I decided to [...]]]></description>
			<content:encoded><![CDATA[<p>At the risk of being called a keyword Nazi and having to endure accusations that I care just a little too much about this stuff: Microsoft just managed surpass <a href="http://kev.in/2007/08/21/yahoo-marketing-vs-google-adwords-round-1/">my experience with Yahoo</a>.</p>
<p>As I mentioned, I&#8217;ve been advertising my <em>online community classifieds site</em>, <a href="http://dibs.net">Dibs.net</a>, on Google for almost a month. Last night I decided to try out Microsoft&#8217;s advertising network for my <em>community classifieds site</em>. I copied some of my better performing ads from my <em>Classifieds Ad Group</em> on Google into my <em>Classifieds Ad Group</em> on Microsoft.</p>
<p>Here&#8217;s representative ad from the bunch:<br />
<img style="border:thick grey solid;" src='http://kev.in/wp-content/uploads/2007/08/picture-19.png' alt='Ad on Microsoft' /></p>
<div style="clear:both;"></div>
<p>I was in business fairly quickly &#8212; or so I thought. Microsoft has a similar &#8220;editorial guidelines&#8221; process to Yahoo&#8217;s. But at Microsoft, the process must go something like this:</p>
<ol>
<li>Take break from huffing paint fumes and watching Scooby-Doo</li>
<li>Flip coin</li>
<li>Heads, you get to advertise with your keyword; tails, you don&#8217;t</li>
</ol>
<p>Microsoft rejected what I consider to the the most important keywords from my advertising, including &#8220;classifieds&#8221; and &#8220;community classifieds.&#8221;</p>
<p>I&#8217;ve given them a chance to respond before I start calling them names here <img src='http://kev.in/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>(PS &#8211; Google&#8217;s success in advertising appears to be not without reason.)</p>
<p><strong>Update:</strong> Microsoft took only a few hours to respond, and did so positively by reinstating the classifieds-related keywords. Good for them (and me). They blamed the problem on their automated editorial process, which raises the question: why would anyone automate such a thing? I think we can all agree computers are great at some things, but applying subjective and vaguely defined editorial guidelines isn&#8217;t one of them. Either way, I take back my paint fumes and Scooby-Doo comment above, since it appears they aren&#8217;t nuts after all.</p>
]]></content:encoded>
			<wfw:commentRss>http://kev.in/2007/08/23/microsoft-adcenter-vs-google-adwords-round-1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yahoo Marketing vs Google Adwords (Round 1)</title>
		<link>http://kev.in/2007/08/21/yahoo-marketing-vs-google-adwords-round-1.html</link>
		<comments>http://kev.in/2007/08/21/yahoo-marketing-vs-google-adwords-round-1.html#comments</comments>
		<pubDate>Wed, 22 Aug 2007 01:42:22 +0000</pubDate>
		<dc:creator>Kev.in</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://kev.in/2007/08/21/72/</guid>
		<description><![CDATA[
I’ve been advertising Dibs.net on both the Google and Yahoo ad networks for three weeks. I’ll have more to say later on, but I did want to share some notes about Yahoo’s “editorial process” regarding what search terms they let you advertise against. This process is allegedly for quality purposes, so that more relevant advertising [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" src='http://kev.in/wp-content/uploads/2007/08/picture-17.png' alt='Yahoo Ad' /><br />
I’ve been advertising Dibs.net on both the Google and Yahoo ad networks for three weeks. I’ll have more to say later on, but I did want to share some notes about Yahoo’s “editorial process” regarding what search terms they let you advertise against. This process is allegedly for quality purposes, so that more relevant advertising is displayed to searchers.</p>
<p>Google has taken a more free-market approach to their editorializing of search terms you can advertise against. I’m sure they have a quality-control staff to keep ads clean, but they tend to let you spend your money however you want. I’m no Google fan, but I think Google’s approach is far superior, mainly because the market actually does self-correct mispositioned advertising: as people find their advertising for certain keywords isn’t working, they pare back the selection of keywords to be more laser-focused. I did this very thing; it works.</p>
<p>Yahoo, on the other hand, voluntarily protects certain company names (though who knows which ones) and is awfully serious about the relevancy of keywords you choose. But it’s all so inconsistent and confusing that you never know what they will allow. For example, they apparently allow some misspellings of brand names, but not others. And today I got notice they decided a term wasn’t relevant enough to Dibs.net — which surprised me, since I often describe Dibs.net using the exact term they rejected.</p>
<p>So, I just fired off an email to Yahoo support to see if they can make this situation clearer than the Mississippi mud they’ve given me till now.</p>
<blockquote><p>
    Can you give me more detail as to why you believe the keyword “flea markets” isn’t applicable to my company, which is itself an online flea market (dibs.net)?</p>
<p>    Removing the keyword from my campaign strikes me as an overly aggressive editorial decision, especially after conducting this search on Yahoo and noting NOT A SINGLE AD relates even remotely to flea markets. In fact, mine is the MOST RELEVANT of any company there. Of the most absurd listings you apparently allow, BizRate, Shopping.com, PalmersUniforms.com and Restaurant.com are advertised on the “flea markets” keyword.</p>
<p>    Yes, Restaurant.com advertises under “flea markets” but dibs.net cannot? Come on, Yahoo! I’m trying to like your ad service. I really am. But this sort of random, haphazard enforcement of “editorial rules” leaves me plain confounded.</p>
<p>    I have paused my advertising until I receive a response explaining how Yahoo can possibly hope to apply such picky rules consistently.</p>
<p>    Thanks,<br />
    Kevin Hunt
</p></blockquote>
<p>We’ll see what they have to say about Restaurant.com’s flea market. Mmmmm, makes you hungry just thinking about it, doesn’t it?</p>
<p><strong>Update (8/23): </strong> Yahoo responded this morning. They explained that because Dibs.net&#8217;s content is not about flea markets, the keyword is not allowed. Ok, fair enough, if those are the actual rules &#8212; but they&#8217;re not. That would be stupid. I responded and asked if Amazon would be allowed to advertise with the keywork &#8220;book stores,&#8221; since they have no information about actual book stores. Also, Yahoo&#8217;s response did not address how a site about restaurants can use the keyword they are disallowing for me. I&#8217;m still confused.</p>
<p>Come on, Yahoo! I really want to like you. Granted, this isn&#8217;t such a big deal in the grand scheme of things; but if I&#8217;m to commit an ad budget to you, you&#8217;d better clarify your rules and apply them consistently.</p>
]]></content:encoded>
			<wfw:commentRss>http://kev.in/2007/08/21/yahoo-marketing-vs-google-adwords-round-1.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>dibs.net: Born 3pm July 15, 2007; 0 lbs 0 oz</title>
		<link>http://kev.in/2007/07/16/dibsnet-born-3pm-july-15-2007-0-lbs-0-oz.html</link>
		<comments>http://kev.in/2007/07/16/dibsnet-born-3pm-july-15-2007-0-lbs-0-oz.html#comments</comments>
		<pubDate>Mon, 16 Jul 2007 20:23:11 +0000</pubDate>
		<dc:creator>Kev.in</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://kev.in/2007/07/16/dibsnet-born-3pm-july-15-2007-0-lbs-0-oz/</guid>
		<description><![CDATA[It&#8217;s alive and kicking!
Read more about dibs.net.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.dibs.net/2007/07/16/let-the-fun-begin/">It&#8217;s alive and kicking!</a></p>
<p><a href="http://dibs.net/about">Read more about dibs.net.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kev.in/2007/07/16/dibsnet-born-3pm-july-15-2007-0-lbs-0-oz.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
