<?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>Konstruktors &#187; Web Design</title>
	<atom:link href="http://konstruktors.com/blog/topic/web-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://konstruktors.com</link>
	<description>Web Design, WordPress and Performance Services</description>
	<lastBuildDate>Wed, 25 Apr 2012 12:08:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-beta4-20790</generator>
<atom:link rel="hub" href="http://konstruktors.superfeedr.com/"/><atom:link rel="hub" href="http://pubsubhubbub.appspot.com/"/>		<item>
		<title>Page Stacks&#160;in&#160;UI</title>
		<link>http://konstruktors.com/blog/web-design/3561-page-stacks-ui/</link>
		<comments>http://konstruktors.com/blog/web-design/3561-page-stacks-ui/#comments</comments>
		<pubDate>Fri, 24 Feb 2012 08:00:28 +0000</pubDate>
		<dc:creator>Kaspars</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[ui]]></category>

		<guid isPermaLink="false">http://konstruktors.com/?p=3561</guid>
		<description><![CDATA[The concept of page stacks is something brilliant for building leveled navigation and giving users immediate glimpse of the big picture. (via onkulis.com) Related posts Graphic vs. Web&#160;Design Page Speed&#160;95/100]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://37signals.com/svn/posts/3111-basecamp-next-ui-preview">concept of <strong>page stacks</strong></a> is something brilliant for building leveled navigation and giving users immediate glimpse of the big picture.</p>
<p>    <iframe src="http://player.vimeo.com/video/36917486" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>
<p>(via <a href="http://www.onkulis.com/2012/02/17/jason-fried-dod-ieskatu-jaunaja-basecamp-ui/">onkulis.com</a>)</p>
<h4>Related posts</h4><ol>
<li><a href='http://konstruktors.com/blog/design/2628-graphic-vs-web-design/' rel='bookmark' title='Graphic vs. Web&nbsp;Design'>Graphic vs. Web&nbsp;Design</a></li>
<li><a href='http://konstruktors.com/blog/wordpress/2743-page-speed-95100/' rel='bookmark' title='Page Speed&nbsp;95/100'>Page Speed&nbsp;95/100</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://konstruktors.com/blog/web-design/3561-page-stacks-ui/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Remove All Line Breaks from Text Using&#160;Regex</title>
		<link>http://konstruktors.com/blog/web-design/3517-regex-remove-all-line-breaks-from-text/</link>
		<comments>http://konstruktors.com/blog/web-design/3517-regex-remove-all-line-breaks-from-text/#comments</comments>
		<pubDate>Sat, 18 Feb 2012 10:45:27 +0000</pubDate>
		<dc:creator>Kaspars</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://konstruktors.com/?p=3517</guid>
		<description><![CDATA[If you are generating &#60;meta&#62; description tags automatically (e.g. by including all headings of the document), chances are that you&#8217;re extracting it from various sources of content that contain different HTML elements and line breaks in them. Here is a simple regular expression to remove all line breaks, carriage returns and tabs, and replace them with an [...]]]></description>
			<content:encoded><![CDATA[<p>If you are generating <code>&lt;meta&gt;</code> <em>description</em> tags automatically (e.g. by <a title="Extract headings and headlines from HTML documents" href="http://konstruktors.com/blog/web-design/3507-regex-extract-headings-h1-h2-h3-from-html/">including all headings of the document</a>), chances are that you&#8217;re extracting it from various sources of content that contain different HTML elements and line breaks in them. Here is a simple regular expression to <strong>remove all line breaks, carriage returns and tabs</strong>, and replace them with an empty space.</p>
<pre>$text = preg_replace("/\r\n+|\r+|\n+|\t+/i", " ", $text);</pre>
<h4>Related posts</h4><ol>
<li><a href='http://konstruktors.com/blog/wordpress/2920-remove-inline-css-line-breaks-galleries/' rel='bookmark' title='Remove Inline CSS and Line Breaks in WordPress&nbsp;Galleries'>Remove Inline CSS and Line Breaks in WordPress&nbsp;Galleries</a></li>
<li><a href='http://konstruktors.com/blog/web-design/3507-regex-extract-headings-h1-h2-h3-from-html/' rel='bookmark' title='How to Extract Heading Content (H1, H2, etc.) from an HTML String Using&nbsp;Regex'>How to Extract Heading Content (H1, H2, etc.) from an HTML String Using&nbsp;Regex</a></li>
<li><a href='http://konstruktors.com/blog/random-musings/191-simple-fullscreen-text-editors-for-students-bloggers-writers/' rel='bookmark' title='Simple Fullscreen Text Editors for Students, Bloggers, Journalists and&nbsp;Writers'>Simple Fullscreen Text Editors for Students, Bloggers, Journalists and&nbsp;Writers</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://konstruktors.com/blog/web-design/3517-regex-remove-all-line-breaks-from-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Extract Heading Content (H1, H2, etc.) from an HTML String Using&#160;Regex</title>
		<link>http://konstruktors.com/blog/web-design/3507-regex-extract-headings-h1-h2-h3-from-html/</link>
		<comments>http://konstruktors.com/blog/web-design/3507-regex-extract-headings-h1-h2-h3-from-html/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 10:10:49 +0000</pubDate>
		<dc:creator>Kaspars</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://konstruktors.com/?p=3507</guid>
		<description><![CDATA[Headlines and headings are usually very relevant and descriptive pieces of information for any HTML page. You might want to include them into the description &#60;meta&#62; tag on that page. Here is a simple regular expression to extract all those headings: preg_match_all('&#124;&#60;h[^&#62;]+&#62;(.*)&#60;/h[^&#62;]+&#62;&#124;iU', $html, $headings); Related posts Logos and Names Are Not&#160;Headings How to Create Beautiful [...]]]></description>
			<content:encoded><![CDATA[<p>Headlines and headings are usually very relevant and descriptive pieces of information for any HTML page. You might want to include them into the <em>description</em> <code>&lt;meta&gt;</code> tag on that page. Here is a simple regular expression to extract all those headings:</p>
<pre>preg_match_all('|&lt;h[^&gt;]+&gt;(.*)&lt;/h[^&gt;]+&gt;|iU', $html, $headings);</pre>
<h4>Related posts</h4><ol>
<li><a href='http://konstruktors.com/blog/web-design/31-logos-names-are-not-h1-headings/' rel='bookmark' title='Logos and Names Are Not&nbsp;Headings'>Logos and Names Are Not&nbsp;Headings</a></li>
<li><a href='http://konstruktors.com/blog/web-design/125-how-to-create-beautiful-and-elegant-html-lists-using-css/' rel='bookmark' title='How to Create Beautiful and Elegant HTML Lists Using&nbsp;CSS'>How to Create Beautiful and Elegant HTML Lists Using&nbsp;CSS</a></li>
<li><a href='http://konstruktors.com/blog/web-design/2036-remove-index-html-from-the-url/' rel='bookmark' title='Remove index.html from the&nbsp;URL'>Remove index.html from the&nbsp;URL</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://konstruktors.com/blog/web-design/3507-regex-extract-headings-h1-h2-h3-from-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5 Notepad App&#160;Update</title>
		<link>http://konstruktors.com/blog/web-design/3451-html5-notepad-app-update/</link>
		<comments>http://konstruktors.com/blog/web-design/3451-html5-notepad-app-update/#comments</comments>
		<pubDate>Sun, 12 Feb 2012 03:21:13 +0000</pubDate>
		<dc:creator>Kaspars</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[offline]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://konstruktors.com/?p=3451</guid>
		<description><![CDATA[I have released an updated version of my HTML5 Notepad app which features a new user interface, adds support for Markdown syntax (along with a simple editor and preview) and fixes a synchronization bug which in some cases converted line breaks into text. Please note that there could still be some bugs and the code hasn&#8217;t been polished for [...]]]></description>
			<content:encoded><![CDATA[<p>I have released an updated version of my <a title="HTML5 Notepad app with sync, markdown and offline access" href="http://konstruktors.com/projects/html5-notepad/">HTML5 Notepad app</a> which features a new user interface, adds support for Markdown syntax (along with a simple editor and preview) and fixes a synchronization bug which in some cases converted line breaks into text.</p>
<p><a href="http://konstruktors.com/projects/html5-notepad/"><img class="aligncenter size-medium wp-image-3438" title="HTML5 Notepad with Markdown syntax and sync support" src="http://konstruktors.com/wp-content/uploads/2011/05/html5-notepad-2012-editor-markdown-500x316.png" alt="HTML5 Notepad with Markdown syntax and sync support" width="500" height="316" /></a></p>
<p>Please note that there could still be some bugs and the code hasn&#8217;t been polished for a production use, but it serves as a very useful example of some of the most interesting HTML5 features such as localStorage and offline cache.</p>
<p>You can fork it on <a title="HTML5 notepad app with offline storage and sync" href="https://github.com/kasparsd/HTML5-Notepad-with-Sync">GitHub</a> or download from the <a title="HTML5 Notepad app with offline access, synchronization and Markdown syntax" href="http://konstruktors.com/projects/html5-notepad/">project page</a>.</p>
<h4>Related posts</h4><ol>
<li><a href='http://konstruktors.com/blog/the-web/2991-hosted-html5-notepad-app-sync/' rel='bookmark' title='Self-hosted HTML5 Notepad App With&nbsp;Synchronization'>Self-hosted HTML5 Notepad App With&nbsp;Synchronization</a></li>
<li><a href='http://konstruktors.com/blog/web-design/91-got-ie8-meta-tag-in-head-html5-doctype-progress/' rel='bookmark' title='Got a meta in a heada&#8217; — supporting standards and welcoming IEn where n =&nbsp;1…∞'>Got a meta in a heada&#8217; — supporting standards and welcoming IEn where n =&nbsp;1…∞</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://konstruktors.com/blog/web-design/3451-html5-notepad-app-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Embed Your YouTube Channel as a&#160;Playlist</title>
		<link>http://konstruktors.com/blog/web-design/3384-embed-youtube-channel-playlist/</link>
		<comments>http://konstruktors.com/blog/web-design/3384-embed-youtube-channel-playlist/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 11:43:47 +0000</pubDate>
		<dc:creator>Kaspars</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://konstruktors.com/?p=3384</guid>
		<description><![CDATA[Update: There is an undocumented ID of your channel playlist which is available in the current beta version of YouTube UI as described by Federico in the comments. For some reason YouTube doesn&#8217;t offer a simple way to embed your YouTube channel. The only official method is to manually create a playlist with all your videos [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update:</strong> There is an undocumented ID of your channel playlist which is available in the current <a href="http://www.youtube.com/cosmicpanda">beta version of YouTube UI</a> as <a href="http://konstruktors.com/blog/web-design/3384-embed-youtube-channel-playlist/#comment-11790">described by Federico</a> in the comments.</p>
<p>For some reason YouTube doesn&#8217;t offer a simple way to embed your YouTube <strong>channel</strong>. The only official method is to manually create a <strong>playlist</strong> with all your videos and embed that. However, it requires additional work after every upload which is not cool, especially if you&#8217;re on a mobile. Here is <a href="http://jsfiddle.net/q3meN/">a simple script</a> that creates an HTML5 (iframe) player using the YouTube API:</p>
<pre>(function() {
    function createPlayer(jqe, video, options) {
        var ifr = $('iframe', jqe);
        if (ifr.length === 0) {
            ifr = $('&lt;iframe scrolling="no" frameborder="no"&gt;');
            ifr.addClass('player');
            if (options.playeropts)
                ifr.attr(options.playeropts);
        }
        var src = 'http://www.youtube.com/embed/' + video;
        if (options.playopts) {
            src += '?';
            for (var k in options.playopts) {
                src+= k + '=' + options.playopts[k] + '&amp;';
            }
        }
        ifr.attr('src', src);
        jqe.append(ifr);
    }
    var defoptions = {
        autoplay: false,
        user: null,
        player: createPlayer,
        playeropts: {},
        loaded: function() {},
        playopts: {
            fs: 1,
            showinfo: 1,
            modestbranding: 1
        }
    };
    $.fn.extend({
        youTubeChannel: function(options) {
            var md = $(this);
            var allopts = $.extend(true, {}, defoptions, options);
            $.getJSON('http://gdata.youtube.com/feeds/api/users/' + allopts.user + '/uploads?alt=jsonc&amp;v=2', null, function(data) {
                var videos = [];
                var playlist = '';
                $.each(data.data.items, function(i, item) {
                    videos.push(item.id);
                    if (i &gt; 0)
                        playlist += item.id + ',';
                });
                allopts.playopts.playlist = playlist;
                allopts.player(md, videos[0], allopts);
            });
        }
    });
})();
$(function() {
    $('#player').youTubeChannel({user:'kasparsdambis', playeropts: { width: 400, height: 280 }});
});</pre>
<h4>Related posts</h4><ol>
<li><a href='http://konstruktors.com/blog/random-musings/1790-pari-jumtiem-lido-kaijas/' rel='bookmark' title='Pāri jumtiem lido&nbsp;kaijas'>Pāri jumtiem lido&nbsp;kaijas</a></li>
<li><a href='http://konstruktors.com/blog/random-musings/1929-sunday-with-beethoven/' rel='bookmark' title='Sunday with&nbsp;Beethoven'>Sunday with&nbsp;Beethoven</a></li>
<li><a href='http://konstruktors.com/blog/wordpress/2610-jquery-script-for-loading-more-posts/' rel='bookmark' title='jQuery Script for Loading More&nbsp;Posts'>jQuery Script for Loading More&nbsp;Posts</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://konstruktors.com/blog/web-design/3384-embed-youtube-channel-playlist/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WebKit Bug: Anti-aliasing for @font-face&#160;fonts</title>
		<link>http://konstruktors.com/blog/web-design/3190-webkit-bug-anti-aliasing-for-font-face-fonts/</link>
		<comments>http://konstruktors.com/blog/web-design/3190-webkit-bug-anti-aliasing-for-font-face-fonts/#comments</comments>
		<pubDate>Sun, 02 Oct 2011 14:43:15 +0000</pubDate>
		<dc:creator>Kaspars</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://konstruktors.com/?p=3190</guid>
		<description><![CDATA[This is a known Webkit bug &#8212; any text with @font-face applied will be rendered without anti-aliasing if there is a text element without anti-aliasing applied preceding it. Usually those are fonts smaller than 5px or monospaced fonts at small sizes which are rendered without anti-aliasing. I noticed this bug on this page &#8212; the [...]]]></description>
			<content:encoded><![CDATA[<p>This is <a href="http://seanmcb.com/junk/webkit-antialiasing-test.html">a known Webkit bug</a> &#8212; <strong>any text with <code>@font-face</code> applied will be rendered without anti-aliasing if there is a text element without anti-aliasing applied preceding it</strong>. Usually those are fonts smaller than 5px or monospaced fonts at small sizes which are rendered without anti-aliasing.</p>
<p><a href="http://jsfiddle.net/39GZd/7/"><img class="alignnone size-full wp-image-3191" title="Webkit @font-face anti-aliasing bug due to preceding font-size" src="http://konstruktors.com/wp-content/uploads/2011/10/webkit-font-aliasing-bug.png" alt="" width="500" height="211" /></a></p>
<p>I noticed this bug on <a href="http://putukrejums.lv/kazu-abc/">this page</a> &#8212; the heading &#8220;Kāzu ABC&#8221; was rendered aliased despite having the main menu in between that heading and the logo which had <code>font-size:1px;</code> applied. The only way to fix this is by avoiding aliased text directly before elements that use @font-face.</p>
<p>Here is <a href="http://jsfiddle.net/39GZd/7/">a live demo of the bug</a>.</p>
<h4>Related posts</h4><ol>
<li><a href='http://konstruktors.com/blog/design/158-were-back-with-a-free-font-suggestion-liberation-sans/' rel='bookmark' title='We&#8217;re back with a free font suggestion &#8212; Liberation&nbsp;Sans'>We&#8217;re back with a free font suggestion &#8212; Liberation&nbsp;Sans</a></li>
<li><a href='http://konstruktors.com/blog/web-design/1461-no-font-embedding-on-web/' rel='bookmark' title='No Font Embedding,&nbsp;Please'>No Font Embedding,&nbsp;Please</a></li>
<li><a href='http://konstruktors.com/blog/web-design/2899-replace-login-logo-with-site-name-link/' rel='bookmark' title='Replace WordPress Login Logo With Your Site&#8217;s Name and&nbsp;Link'>Replace WordPress Login Logo With Your Site&#8217;s Name and&nbsp;Link</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://konstruktors.com/blog/web-design/3190-webkit-bug-anti-aliasing-for-font-face-fonts/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Akismet, Akismet,&#160;Akismet</title>
		<link>http://konstruktors.com/blog/web-design/3084-akismet/</link>
		<comments>http://konstruktors.com/blog/web-design/3084-akismet/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 20:55:56 +0000</pubDate>
		<dc:creator>Kaspars</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://konstruktors.com/?p=3084</guid>
		<description><![CDATA[Akismet is a fantastic service that does only one thing and does it very well &#8212; it fights comment spam. Their homepage, however, is full of various keywords that dilute that simple message: Here are a few things that are wrong with this design: dictionary definition cliche; why is the spam count so prominent and has two [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://akismet.com">Akismet</a> is a fantastic service that does only one thing and does it very well &#8212; it fights comment spam. Their homepage, however, is full of various keywords that dilute that simple message:</p>
<p><a href="http://konstruktors.com/wp-content/uploads/2011/08/akismet-design-before.png"><img class="alignnone size-medium wp-image-3098" title="Akismet Call to Action confusing" src="http://konstruktors.com/wp-content/uploads/2011/08/akismet-design-before-500x326.png" alt="" width="500" height="326" /></a></p>
<p>Here are a few things that are wrong with this design: dictionary definition cliche; why is the spam count so prominent and has two versions &#8212; I bet that most people can&#8217;t even pronounce that number; too many words to explain a simple idea.</p>
<p>Here is a suggested re-align:</p>
<p><a href="http://konstruktors.com/wp-content/uploads/2011/08/akismet-suggested-design1.png"><img class="alignnone size-medium wp-image-3109" title="Akismet suggested realign" src="http://konstruktors.com/wp-content/uploads/2011/08/akismet-suggested-design1-500x295.png" alt="" width="500" height="295" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://konstruktors.com/blog/web-design/3084-akismet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Replace WordPress Login Logo With Your Site&#8217;s Name and&#160;Link</title>
		<link>http://konstruktors.com/blog/web-design/2899-replace-login-logo-with-site-name-link/</link>
		<comments>http://konstruktors.com/blog/web-design/2899-replace-login-logo-with-site-name-link/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 09:38:32 +0000</pubDate>
		<dc:creator>Kaspars</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://konstruktors.com/?p=2899</guid>
		<description><![CDATA[There are several plugins out there that allow you to replace the WordPress logo on the login screen. Here is a simple way to replace that logo with your site&#8217;s name &#8212; place this in your theme&#8217;s functions.php: add_filter('login_headerurl', 'my_login_url_local'); function my_login_url_local() { return get_bloginfo('url'); } add_filter('login_headertitle', 'my_login_title_attr'); function my_login_title_attr() { return esc_attr(get_bloginfo('name')); } add_action('login_head', [...]]]></description>
			<content:encoded><![CDATA[<p>There are <a href="http://wordpress.org/extend/plugins/tags/logo">several plugins</a> out there that allow you to replace the WordPress logo on the login screen. Here is a simple way to replace that logo with your site&#8217;s name &#8212; place this in your theme&#8217;s <code>functions.php</code>:</p>
<pre><code>add_filter('login_headerurl', 'my_login_url_local');
function my_login_url_local() {
	return get_bloginfo('url');
}
add_filter('login_headertitle', 'my_login_title_attr');
function my_login_title_attr() {
	return esc_attr(get_bloginfo('name'));
}
add_action('login_head', 'my_style_site_name');
function my_style_site_name() {
?&gt;
	&lt;style type="text/css"&gt;
	h1 a { width:auto; height:auto; text-indent:0; overflow:visible; text-decoration:none; color:#666; display:block; margin:0; padding:0 10px; background:none; }
	h1 a:hover { color:#000; background:none; }
	h1 { font-family:'helvetica neue', arial, sans-serif; font-weight:bold; text-align:center; font-size:2em; width:310px; position:relative; right:-8px; margin:0 0 1em 0; }
	&lt;/style&gt;
&lt;?php
}</code></pre>
<p>Here is how it will look:</p>
<p><img class="alignnone size-medium wp-image-2903 withborder" title="Custom WordPress Login Name and Link (URL)" src="http://konstruktors.com/wp-content/uploads/2011/02/wordpress-custom-login-logo-500x435.png" alt="" width="500" height="435" /></p>
<h4>Related posts</h4><ol>
<li><a href='http://konstruktors.com/blog/wordpress/2040-notes-on-the-2010-wordpress-theme/' rel='bookmark' title='Notes on the 2010 WordPress&nbsp;Theme'>Notes on the 2010 WordPress&nbsp;Theme</a></li>
<li><a href='http://konstruktors.com/blog/wordpress/2920-remove-inline-css-line-breaks-galleries/' rel='bookmark' title='Remove Inline CSS and Line Breaks in WordPress&nbsp;Galleries'>Remove Inline CSS and Line Breaks in WordPress&nbsp;Galleries</a></li>
<li><a href='http://konstruktors.com/blog/wordpress/3203-how-to-automatically-add-image-credit-or-source-url-to-photo-captions-in-wordpress/' rel='bookmark' title='How to Automatically Add Image Credit or Source URL to Photo Captions in&nbsp;WordPress'>How to Automatically Add Image Credit or Source URL to Photo Captions in&nbsp;WordPress</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://konstruktors.com/blog/web-design/2899-replace-login-logo-with-site-name-link/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Add Simple Google Site Search to Any&#160;Website</title>
		<link>http://konstruktors.com/blog/web-design/2865-how-to-add-google-site-search/</link>
		<comments>http://konstruktors.com/blog/web-design/2865-how-to-add-google-site-search/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 09:12:36 +0000</pubDate>
		<dc:creator>Kaspars</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://konstruktors.com/?p=2865</guid>
		<description><![CDATA[Built-in search engines of WordPress, Drupal and other content management systems are good, but not as good as Google. Here is a simple way to create a Google search form that will return results only from your site: &#60;form name="google-search" method="get" action="http://www.google.com/search"&#62; &#60;input type="hidden" name="sitesearch" value="http://yourdomain.com/" /&#62; &#60;input name="q" type="text" /&#62; &#60;input type="submit" name="sa" value="Google" [...]]]></description>
			<content:encoded><![CDATA[<p>Built-in search engines of WordPress, Drupal and other content management systems are good, but not as good as Google. Here is a simple way to create a Google search form that will return results only from your site:</p>
<pre>&lt;form name="google-search" method="get" action="http://www.google.com/search"&gt;
	&lt;input type="hidden" name="sitesearch" value="http://yourdomain.com/" /&gt;
	&lt;input name="q" type="text" /&gt;
	&lt;input type="submit" name="sa" value="Google" /&gt;
&lt;/form&gt;</pre>
<p>which will look like this:</p>
<form id="google-search" name="google-search" action="http://www.google.com/search" style="margin-bottom:1.5em;">
<input name="sitesearch" type="hidden" value="http://konstruktors.com/" /><br />
<input name="q" size="40" type="text" /><br />
<input class="submit" name="sa" type="submit" value="Google" /><br />
</form>
<p>This form does redirect your visitors to Google, but the results returned are only from your site, so there is nothing to worry about. And with Googling indexing blogs almost instantly, there are actually very little drawbacks from using this approach for site search.</p>
<h4>Related posts</h4><ol>
<li><a href='http://konstruktors.com/blog/web-design/2172-optimize-for-search-engines-or-users/' rel='bookmark' title='Optimize for search engines or&nbsp;users?'>Optimize for search engines or&nbsp;users?</a></li>
<li><a href='http://konstruktors.com/blog/wordpress/667-show-ads-only-to-visitors-coming-from-search-engines/' rel='bookmark' title='Show Ads Only to Visitors Coming from Search&nbsp;Engines'>Show Ads Only to Visitors Coming from Search&nbsp;Engines</a></li>
<li><a href='http://konstruktors.com/blog/meta/2692-google-sitelinks/' rel='bookmark' title='Google Sitelinks'>Google Sitelinks</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://konstruktors.com/blog/web-design/2865-how-to-add-google-site-search/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Price of Software and WordPress&#160;Themes</title>
		<link>http://konstruktors.com/blog/web-design/2660-the-price-of-software-and-wordpress-themes/</link>
		<comments>http://konstruktors.com/blog/web-design/2660-the-price-of-software-and-wordpress-themes/#comments</comments>
		<pubDate>Mon, 27 Dec 2010 15:46:44 +0000</pubDate>
		<dc:creator>Kaspars</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[business]]></category>

		<guid isPermaLink="false">http://konstruktors.com/?p=2660</guid>
		<description><![CDATA[If the price of OS X is $29 or $300 for Windows 7, then how come that WordPress themes cost $50 and more? Sure, the real profits for Apple come from selling the hardware or from partnership agreements with hardware vendors in case of Microsoft. They also sell much more copies of the software compared [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://store.apple.com/us/product/MAC_OS_X_SNGL"><img class="alignright size-thumbnail wp-image-2661" title="OS X" src="http://konstruktors.com/wp-content/uploads/2010/12/os-x-150x150.jpg" alt="" width="150" height="150" /></a> If the price of <em>OS X</em> is $29 or $300 for <em>Windows 7</em>, then how come that WordPress themes cost $50 and more? Sure, the real profits for Apple come from selling the hardware or from partnership agreements with hardware vendors in case of Microsoft. They also sell much more copies of the software compared to that of WordPress theme shops, but then what are the development costs of each?</p>
<p>It would be really interesting to know if there would be enough demand for $10 themes to cover the reduced <a href="http://en.wikipedia.org/wiki/Markup_(business)">markup</a>.</p>
<h4>Related posts</h4><ol>
<li><a href='http://konstruktors.com/blog/wordpress/823-wordpress-themes-and-gpl/' rel='bookmark' title='WordPress, Themes and&nbsp;GPL'>WordPress, Themes and&nbsp;GPL</a></li>
<li><a href='http://konstruktors.com/blog/free-software/1200-free-software-gpl-wordpress/' rel='bookmark' title='Free Software, GPL and&nbsp;WordPress'>Free Software, GPL and&nbsp;WordPress</a></li>
<li><a href='http://konstruktors.com/blog/free-software/1424-member-of-free-software-fundation/' rel='bookmark' title='Member of the Free Software&nbsp;Fundation'>Member of the Free Software&nbsp;Fundation</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://konstruktors.com/blog/web-design/2660-the-price-of-software-and-wordpress-themes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
