<?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>Developer Yells at Cloud &#187; Shameless Self-Promotion</title>
	<atom:link href="http://www.webgurus.com/blog/category/shameless-self-promotion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webgurus.com/blog</link>
	<description>web developer gripes about kids these days</description>
	<lastBuildDate>Sat, 28 Aug 2010 12:45:15 +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>A Monday afternoon was approaching the time of twilight&#8230;</title>
		<link>http://www.webgurus.com/blog/2009/11/a-monday-afternoon-was-approaching-the-time-of-twilight/</link>
		<comments>http://www.webgurus.com/blog/2009/11/a-monday-afternoon-was-approaching-the-time-of-twilight/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 20:25:07 +0000</pubDate>
		<dc:creator>Tim Elkins</dc:creator>
				<category><![CDATA[Shameless Self-Promotion]]></category>

		<guid isPermaLink="false">http://www.webgurus.com/blog/?p=135</guid>
		<description><![CDATA[Is it really November already?]]></description>
			<content:encoded><![CDATA[<p>Is it really November already? Has it really been over two weeks since the last entry? I wish I had been more productive this month&#8230; well, at least as far as this blog is concerned. I&#8217;ve been <i>somewhat</i> productive in other areas, however. Among other things, I&#8217;ve been helping a friend of a friend to restore his custom PHP-based CMS after a hard drive failure wiped it out and the last working backup was from early August 2009.</p>
<p>I&#8217;m posting this via the WordPress app for BlackBerry, let&#8217;s hope this works.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webgurus.com/blog/2009/11/a-monday-afternoon-was-approaching-the-time-of-twilight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CMS experiment midway results</title>
		<link>http://www.webgurus.com/blog/2009/10/cms-experiment-midway-results/</link>
		<comments>http://www.webgurus.com/blog/2009/10/cms-experiment-midway-results/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 17:53:41 +0000</pubDate>
		<dc:creator>Tim Elkins</dc:creator>
				<category><![CDATA[Shameless Self-Promotion]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.webgurus.com/blog/?p=114</guid>
		<description><![CDATA[The results are in for Drupal, WordPress and Mojolicious.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m 50% complete with my <a href="http://www.webgurus.com/blog/2009/09/cms-experiments">CMS experiments</a>, which is pretty good considering I actually started on them yesterday. I&#8217;ve finished with <a href="http://drupal.org">Drupal</a>, <a href="http://wordpress.org">WordPress</a> and <a href="http://mojolicious.org">Mojolicious</a>. I&#8217;ve been installing <a href="http://www.catalystframework.org/">Catalyst</a> for about 45 minutes now, which isn&#8217;t changing my opinion of Catalyst that much.</p>
<p>Here&#8217;s the resulting sample sites:</p>
<p><b><a href="http://www.webgurus.com/experiments/cms/drupal">Drupal Test</a></b></p>
<p>I evidently was absent the day they talked about Drupal, because I found this CMS to have a lot more depth than I remembered. That, or version 6 is leaps ahead of 4.x and 5.x. I was able to take the Zen theme and customize it however I pleased, and used the standard Contact module for the contact page. I learned an important thing in customizing a Drupal theme &#8211; set the administration theme to something different in case you fubar you layout somehow. Other than that, it took only a few hours to get the site up, custom theme created, content posted and even a custom View created for the front page Announcements &#038; other blog postings. I did that by first creating some Taxonomies for Stories and Pages and then creating a View that displayed only Stories that were marked as Announcements (with a limit of only 3 of them). Then I added that Block to the content-top area on the front page. For the custom theme, I altered several of the templates (<code>page.tpl.php</code>, <code>node.tpl.php</code>, etc) and even used the <code>hook_theme()</code> functionality to theme the Contact form template, with the help of <a href="http://11heavens.com/theming-the-contact-form-in-Drupal-6">this tutorial</a>.</p>
<p><b><a href="http://www.webgurus.com/experiments/cms/wordpress">WordPress Test</a></b></p>
<p>Since I already had the templates for this blog, it didn&#8217;t take very long at all to clone the setup with another database as all I had to do was change some directory paths. I altered the <code>page.php</code> to match the rest of the theme and to provide for a special case for the &#8216;home&#8217; page. It displays that page&#8217;s content directly, instead of inserting it into the post layout used for the other pages, but still uses the same header, footer and sidebar. I then used the Exec-PHP plugin to pull out the 3 most recent Announcements and non-Announcements, just like on the <a href="/">current index page</a>. I used the Contact Form 7 plugin for the contact page, but didn&#8217;t really bother styling it.</p>
<p><b><a href="http://www.webgurus.com/experiments/cms/mojo">Mojolicious Test</a></b></p>
<p>This is a Perl framework and not a CMS, and it lives up to it&#8217;s billing that it&#8217;s lightweight, easy to use and has no onerous requirements, unlike Catalyst. I converted the index, blog &#038; contact pages into Template Toolkit files (I could have used HTML::Mason or EmbPerl but I have more experience with TT). I was able to set up this simple example in about 30 minutes with a little extra server wrangling for TT on this server as opposed to my dev one. Since Mojolicious is not a CMS, it&#8217;s not that useful for managing a blog without writing said software myself, but it&#8217;s a very strong candidate for Perl work in the future. I also like Mojo because it reminds me of <a href="http://en.wikipedia.org/wiki/List_of_characters_in_The_Powerpuff_Girls#Mojo_Jojo">Mojo Jojo</a>, and honestly, how can you go wrong with an evil mad scientist monkey?</p>
<p><b>Next steps</b></p>
<p>Next time, the results of playing around with Django, TurboGears and Catalyst. Hey, look! Catalyst finally finished installing all of its requirements!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webgurus.com/blog/2009/10/cms-experiment-midway-results/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>External url icon CSS</title>
		<link>http://www.webgurus.com/blog/2009/09/external-url-icon-css/</link>
		<comments>http://www.webgurus.com/blog/2009/09/external-url-icon-css/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 18:04:24 +0000</pubDate>
		<dc:creator>Tim Elkins</dc:creator>
				<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Shameless Self-Promotion]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[inkscape]]></category>
		<category><![CDATA[svg]]></category>

		<guid isPermaLink="false">http://www.webgurus.com/blog/?p=44</guid>
		<description><![CDATA[It didn&#8217;t take long at all before the linkdumpish nature of this blog so far caught up with me: I grew tired of adding class="external_link" to almost all the &#60;A&#62; tags. I also did not like how the icon did not match the visited link color. I corrected both of these today. First, I opened [...]]]></description>
			<content:encoded><![CDATA[<p><!-- 36fmk7dgec --> It didn&#8217;t take long at all before the linkdumpish nature of this blog so far caught up with me: I grew tired of adding <code>class="external_link"</code> to almost all the <code>&lt;A&gt;</code> tags. I also did not like how the icon did not match the visited link color. I corrected both of these today.</p>
<p><div id="attachment_45" class="wp-caption alignright" style="width: 110px"><a href="http://www.webgurus.com/blog/wp-content/uploads/2009/09/url-external-step1.png"><img src="http://www.webgurus.com/blog/wp-content/uploads/2009/09/url-external-step1.png" alt="Square visible beneath, yuck!" title="External URL icon, step 1" width="100" height="100" class="size-full wp-image-45" /></a><p class="wp-caption-text">Square visible beneath, yuck!</p></div>First, I opened the original SVG file for the external url icon in Inkscape. I had changed the 10&#215;10 PNG to be transparent but the results were less than satisfactory and recoloring it would make it look worse. The SVG has just two objects &#8211; the square and the arrow above it. I removed the white fill on both objects to make them transparent, but didn&#8217;t like seeing the corner of the square peeking through the arrow.<br />
<br clear="both"/><br />
<div id="attachment_47" class="wp-caption alignright" style="width: 110px"><a href="http://www.webgurus.com/blog/wp-content/uploads/2009/09/url-external-step2.png"><img src="http://www.webgurus.com/blog/wp-content/uploads/2009/09/url-external-step2.png" alt="Square with a difference" title="URL External icon Step 2" width="100" height="100" class="size-full wp-image-47" /></a><p class="wp-caption-text">Square with a difference</p></div>Then, I created a new layer via <b>Layer > Add Layer&#8230;</b> and copied the arrow object into it, making sure the two arrows were exactly aligned on top of each other. I then hid the new layer, selected both the square and arrow, and selected <b>Path > Difference</b> from the menu. Simple!<br />
<br clear="both"/><br />
<div id="attachment_53" class="wp-caption alignright" style="width: 110px"><a href="http://www.webgurus.com/blog/wp-content/uploads/2009/09/url-external-step4.png"><img src="http://www.webgurus.com/blog/wp-content/uploads/2009/09/url-external-step4.png" alt="Visited vers." title="External URL icon (visited)" width="100" height="100" class="size-full wp-image-53" /></a><p class="wp-caption-text">Visited version</p></div> <div id="attachment_48" class="wp-caption alignright" style="width: 110px"><a href="http://www.webgurus.com/blog/wp-content/uploads/2009/09/url-external-step3.png"><img src="http://www.webgurus.com/blog/wp-content/uploads/2009/09/url-external-step3.png" alt="Finished icon" title="External URL icon Step 3" width="100" height="100" class="size-full wp-image-48" /></a><p class="wp-caption-text">Finished icon</p></div>Finally, I unhid the arrow layer and exported the image as a 10&#215;10 PNG. I set the square to be the visited link color and picked something a shade lighter for the arrow (I didn&#8217;t fuss on that), and exported that as a 10&#215;10 PNG as well.<br />
<br clear="both"/><br />
I wanted the URL icons to appear only in the blog entries themselves but not if it&#8217;s a link to this site or a relative link so to finish, I changed the CSS from having a <code>A.external_link</code> definition to the following:</p>
<p><code>.entry_content A {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-image: url('images/url-external-trans.png');<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-repeat: no-repeat;<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-position: right top;<br />
&nbsp;&nbsp;&nbsp;&nbsp;padding-right: 13px;<br />
}</code></p>
<p><code>.entry_content A:visited {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-image: url('images/url-external-trans-visited.png');<br />
}</code></p>
<p><code>.entry_content A[href^="http://webgurus.com"],<br />
.entry_content A[href^="http://new.webgurus.com"],<br />
.entry_content A[href^="http://www.webgurus.com"],<br />
.entry_content A[href^="/"],<br />
.entry_content A[href^=".."],<br />
.entry_content A[href^="javascript"]<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;padding-right: 0px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-image: none;<br />
}</code></p>
<p>C&#8217;est fin! Any modern browser will display <a href="http://www.google.com">this link with an icon</a> and <a href="http://www.webgurus.com/blog">this one without</a>. At worst, any modern browser will a partial or broken implementation of CSS will either display the icon for all links or for none at all. I can live with either. But IE 7 is not quite a modern browser. If there was a link with a &lt;br/&gt; or one that wrapped over two lines, the icon was displayed in the wrong location, at the top right of the first line and not at the end of the link as other Mozilla and WebKit browsers do. I used a bit of jQuery to compare the link&#8217;s height with the line-height in CSS and removed the background image and appended a normal <code>&lt;img&gt;</code> if the link was broken up over more than one line.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webgurus.com/blog/2009/09/external-url-icon-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CMS experiments</title>
		<link>http://www.webgurus.com/blog/2009/09/cms-experiments/</link>
		<comments>http://www.webgurus.com/blog/2009/09/cms-experiments/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 17:28:42 +0000</pubDate>
		<dc:creator>Tim Elkins</dc:creator>
				<category><![CDATA[Shameless Self-Promotion]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.webgurus.com/blog/?p=35</guid>
		<description><![CDATA[And now, since the blog is done, I need something to manage the rest of the site: a proper content management system or framework. Currently, there&#8217;s only two static pages, the index page and the contact form, and two static pages is about the limit before a reasonable person should look into a CMS, even [...]]]></description>
			<content:encoded><![CDATA[<p>And now, since the blog is done, I need something to manage the rest of the site: a proper content management system or framework. Currently, there&#8217;s only two static pages, the index page and the contact form, and two static pages is about the limit before a reasonable person should look into a CMS, <em>even if</em> he is using <a class="external_link" href="http://en.wikipedia.org/wiki/Server_Side_Includes">server side includes</a> to be current with the latest 1995 technology.</p>
<p>The question is, what to use and how much? Many of the CMS&#8217;s out there would be overkill, and some of the frameworks would require too much work for just some simple pages and would be better suited for a web application. Based on previous projects or experiments, I am thinking of testing the following:</p>
<ul>
<li><a class="external_link" href="http://drupal.org">Drupal</a></li>
<li><a class="external_link" href="http://wordpress.org">WordPress</a> (the Pages feature)</li>
<li><a class="external_link" href="http://www.djangoproject.com">Django</a></li>
<li><a class="external_link" href="http://turbogears.org">TurboGears</a></li>
<li><a class="external_link" href="http://www.catalystframework.org/">Catalyst</a></li>
<li><a class="external_link" href="http://mojolicious.org/">Mojo</a></li>
</ul>
<p>I think this is a nice selection &#8211; two each from PHP, Python and Perl and some more straight CMS and some more a framework. I&#8217;ve evaluated Django, Drupal and Mojo before, currently use WordPress and have used Catalyst at my job. I admit that is a strike against Catalyst because of how that project ended up, but that was more a problem with integration with the existing codebase than anything else.</p>
<p>The criteria is simple &#8211; how hard is it to make two simple pages, the index and a contact form, with an include of the blog posts on the index page? Bonus points if the contact form can be handled by the same framework instead of a separate CGI.</p>
<p>Any suggestions for one that I&#8217;ve missed?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webgurus.com/blog/2009/09/cms-experiments/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Webgurus.com officially relaunches!</title>
		<link>http://www.webgurus.com/blog/2009/09/webgurus-com-relaunch/</link>
		<comments>http://www.webgurus.com/blog/2009/09/webgurus-com-relaunch/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 18:38:43 +0000</pubDate>
		<dc:creator>Tim Elkins</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Shameless Self-Promotion]]></category>
		<category><![CDATA[announcement]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[linkdump]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.webgurus.com/blog/?p=7</guid>
		<description><![CDATA[Webgurus.com officially relaunches with a new look and quite possibly an actual purpose. Read more about it!]]></description>
			<content:encoded><![CDATA[<p>We<sup class="asterisk">*</sup> are pleased to announce the official relaunch of <a href="http://webgurus.com">webgurus.com</a>!</p>
<p>About a month ago I found myself with more free time than I had <a class="snark" title="read: layoffs">anticipated</a>, so I did what most people would do in that sort of situation: I took two weeks off to remove some badly-installed vinyl siding and repair and repaint a side of my house. Once that was complete <b>and</b> I had managed not to fall off of the scaffolding and give myself a pre-existing condition, I decided to rework my website. The design itself was around six years old and the content had been more or less static for most of the time. I had, in effect, let this site get middle-aged and go to seed. Now it was time to get on a treadmill or buy a sports car or something.</p>
<p>A while back I had been playing around with <a class="external_link" href="http://www.adobe.com/products/illustrator/">Illustrator</a> and <a class="external_link" href="http://www.inkscape.org">Inkscape</a> and had created a background and color scheme that I thought was at least somewhat interesting. I quickly threw that together with an unused logo redesign I had made and took down the old crufty content. Goodbye, quirky advertising clip art from the 20s, 30s and 40s! (Don&#8217;t be sad, it will return in a future site to be named later)</p>
<p>I admit my first redesign (thankfully never published) was a little heavy on the <a class="external_link" href="http://www.jquery.com">jQuery</a>. Too many things moving, too long of an animated intro. What was next, <a class="snark" title="inside joke one person might get">a rendering of a metal block spinning and burning down to a company logo</a>? I decided to <a class="external_link" href="http://en.wikipedia.org/wiki/KISS_principle">Keep It Simple, Stupid</a>. I set about working on a second redesign, but for what purpose this time around? Well, why not start off with a blog and use that as a means to link to whatever experiments or projects? That seems simple enough.</p>
<p>I had had a blog around 9 years ago (back when people were still trying to decide between &#8220;web log&#8221;, &#8220;weblog&#8221; and &#8220;blog&#8221;) and had in fact written my own blogging platform, but this time around I decided I was going to just use <a class="external_link" href="http://www.wordpress.org">WordPress</a>. Why would a supposedly &#8216;webguru&#8217; web developer do that? Simple. I didn&#8217;t want to spend the next year literally reinventing the wheel. Why bother with worrying about whether or not something was <a class="external_link" href="http://en.wikipedia.org/wiki/Not_Invented_Here">invented here</a> when the real purpose was to engage in shameless self-promotion and to post funny pictures of cats? Once I had made my decision, I did not debate it. Such is the way of <a class="external_link" href="http://www.smashingmagazine.com/2009/09/06/how-to-be-a-samurai-designer/">the samurai designer</a>. It also gave me a chance to brush up on my PHP skills after years of working with Perl.</p>
<p>I also did not debate using some pre-packaged theme. Using this <a class="external_link" href="http://www.webdesignerwall.com/tutorials/building-custom-wordpress-theme/">excellent tutorial</a> as a starter and with help from the <a class="external_link" href="http://codex.wordpress.org">Codex</a>, I modified the standard Kubrick theme to what you see now. And that&#8217;s how I spent my end-of-summer vacation. The End.<br/></p>
<div class="footnote"><sup>*</sup> Royal we, sorry, but force of habit</div>
]]></content:encoded>
			<wfw:commentRss>http://www.webgurus.com/blog/2009/09/webgurus-com-relaunch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
