<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>.::ich-wars-nicht.ch::. &#187; Webdesign</title>
	<atom:link href="http://blog.ich-wars-nicht.ch/category/webdesign/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ich-wars-nicht.ch</link>
	<description>yet another blog about technology, linux, and everyday life...</description>
	<lastBuildDate>Sun, 22 Jan 2012 22:59:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license>
		<item>
		<title>jQuery On-Off Toggle/Switch</title>
		<link>http://blog.ich-wars-nicht.ch/2011/11/jquery-checkbox-on-off-toggleswitch/</link>
		<comments>http://blog.ich-wars-nicht.ch/2011/11/jquery-checkbox-on-off-toggleswitch/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 14:17:51 +0000</pubDate>
		<dc:creator>danilo</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[checkbox]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[simple]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[toggle]]></category>

		<guid isPermaLink="false">http://blog.ich-wars-nicht.ch/?p=3199</guid>
		<description><![CDATA[Today I was looking for a nice graphical on/off switch to replace checkboxes on a webpage I&#8217;m working on. I found a beautiful solution, but the button was too large. Instead of changing the button size, I made my own switch using jQuery JavaScript and CSS. This is what it looks like: 1. HTML &#60;div [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was looking for a nice graphical on/off switch to replace checkboxes on a webpage I&#8217;m working on. I found <a href="http://devgrow.com/iphone-style-switches/">a beautiful solution</a>, but the button was too large. Instead of changing the button size, I made my own switch using jQuery JavaScript and CSS.</p>
<p>This is what it looks like:</p>
<p><img alt="Screenshot of Toggles" src="http://ich-wars-nicht.ch/tmp/screenshots/20111121_151358.png" title="Screenshot" width="150" height="82" /></p>
<h3 class="clear" style="padding-top: 20px;">1. HTML</h3>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;div class=&quot;switch&quot;&gt;
  &lt;label for=&quot;mycheckbox&quot; class=&quot;switch-toggle&quot; data-on=&quot;On&quot; data-off=&quot;Off&quot;&gt;&lt;/label&gt;
  &lt;input type=&quot;checkbox&quot; id=&quot;mycheckbox&quot; /&gt;
&lt;/div&gt;</pre></div></div>

<p>The element containing the checkbox and the label should have the class <code>switch</code> assigned. The label element needs the class <code>switch-toggle</code> as well as the <code>data-on</code> and <code>data-on</code> attributes to define the label texts for the two statuses.</p>
<p>It is important that the <code>.switch</code> element contains only one checkbox and that the checkbox and the label are direct children of the <code>.switch</code> element.</p>
<h3>2. CSS</h3>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">label<span style="color: #6666ff;">.switch-toggle</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'switch.png'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">repeat-y</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span> !important<span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">12px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">padding-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">26px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">pointer</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
label<span style="color: #6666ff;">.switch-toggle</span><span style="color: #6666ff;">.on</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span> <span style="color: #933;">12px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
label<span style="color: #6666ff;">.switch-toggle</span><span style="color: #6666ff;">.off</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span> <span style="color: #933;">0px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
label<span style="color: #6666ff;">.switch-toggle</span>.<span style="color: #993333;">hidden</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Don&#8217;t forget to download the <a href="http://blog.ich-wars-nicht.ch/wp-content/uploads/2011/11/switch.png">switch.png file</a>.</p>
<h3>3. jQuery</h3>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> 
    $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.switch'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #003366; font-weight: bold;">var</span> checkbox <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">children</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'input[type=checkbox]'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #003366; font-weight: bold;">var</span> toggle <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">children</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'label.switch-toggle'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>checkbox.<span style="color: #660066;">length</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            checkbox.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'hidden'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            toggle.<span style="color: #660066;">removeClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'hidden'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>checkbox<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">checked</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                toggle.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'on'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                toggle.<span style="color: #660066;">removeClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'off'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                toggle.<span style="color: #660066;">text</span><span style="color: #009900;">&#40;</span>toggle.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'data-on'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
                toggle.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'off'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                toggle.<span style="color: #660066;">removeClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'on'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                toggle.<span style="color: #660066;">text</span><span style="color: #009900;">&#40;</span>toggle.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'data-off'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>  
        <span style="color: #009900;">&#125;</span>   
    <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
&nbsp;
    $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.switch-toggle'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
        <span style="color: #003366; font-weight: bold;">var</span> checkbox <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">siblings</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'input[type=checkbox]'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
        <span style="color: #003366; font-weight: bold;">var</span> toggle <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #006600; font-style: italic;">// We need to inverse the logic here, because at the time of processing,</span>
        <span style="color: #006600; font-style: italic;">// the checked status has not been enabled yet.</span>
        <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>checkbox.<span style="color: #660066;">checked</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            toggle.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'off'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            toggle.<span style="color: #660066;">removeClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'on'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            toggle.<span style="color: #660066;">text</span><span style="color: #009900;">&#40;</span>toggle.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'data-off'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
            toggle.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'on'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            toggle.<span style="color: #660066;">removeClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'off'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            toggle.<span style="color: #660066;">text</span><span style="color: #009900;">&#40;</span>toggle.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'data-on'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>  
    <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Yes, I violated the DRY principle, but the logic works, so that&#8217;s good enough for now <img src='http://blog.ich-wars-nicht.ch/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><em>Credits: The image used was taken from the <a href="http://www.heise.de/extras/socialshareprivacy/">Heise&#8217;s socialshareprivacy plugin</a> which I&#8217;m also using on this blog.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ich-wars-nicht.ch/2011/11/jquery-checkbox-on-off-toggleswitch/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Google Plus &#8211; Inspired by Diaspora?</title>
		<link>http://blog.ich-wars-nicht.ch/2011/08/google-plus-inspired-by-diaspora/</link>
		<comments>http://blog.ich-wars-nicht.ch/2011/08/google-plus-inspired-by-diaspora/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 17:32:11 +0000</pubDate>
		<dc:creator>danilo</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Kurioses]]></category>
		<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[diaspora]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google plus]]></category>
		<category><![CDATA[social networks]]></category>

		<guid isPermaLink="false">http://blog.ich-wars-nicht.ch/?p=3150</guid>
		<description><![CDATA[After all the buzz around Google+, one of its competitors, Diaspora (free and open source) was almost forgotten. I have to admit, the same thing counts for me. In the last weeks, I&#8217;ve spent a lot of time on Google+ and none on Diaspora (mainly because I don&#8217;t have many contacts on there (yet?), of [...]]]></description>
			<content:encoded><![CDATA[<p>After all the buzz around Google+, one of its competitors, <a href="https://joindiaspora.com/">Diaspora</a> (free and open source) was almost forgotten. I have to admit, the same thing counts for me. In the last weeks, I&#8217;ve spent a lot of time on Google+ and none on Diaspora (mainly because I don&#8217;t have many contacts on there (yet?), of course). Anyways, today I logged back into Diaspora and &#8211; being accustomed to Google+ &#8211; almost didn&#8217;t note any difference concerning the layout.</p>
<p><a href="http://blog.ich-wars-nicht.ch/wp-content/uploads/2011/08/google1.png"><img src="http://blog.ich-wars-nicht.ch/wp-content/uploads/2011/08/google1-1024x744.png" alt="Google+" title="Google+" width="650" height="472" class="alignnone size-large wp-image-3152" /></a></p>
<p><a href="http://blog.ich-wars-nicht.ch/wp-content/uploads/2011/08/diaspora1.png"><img src="http://blog.ich-wars-nicht.ch/wp-content/uploads/2011/08/diaspora1-1024x613.png" alt="Diaspora" title="Diaspora" width="650" height="389" class="alignnone size-large wp-image-3151" /></a></p>
<p>(Sorry about forgetting to switch Diaspora to English&#8230;)</p>
<h3>List of similarities</h3>
<ol>
<li>Avatar and first name in upper left  corner</li>
<li>&#8220;Stream&#8221; and a textbox with some icons (image upload) above the main column</li>
<li>Avatar and full name in the header bar</li>
<li>List of contact avatars in upper right corner</li>
<li>Invitations below contact list</li>
<li>Aspects/circles on the left, right below the name</li>
<li>Tags/sparks below the aspects/circles</li>
<li>Display of receiver limiting next to the post</li>
</ol>
<h3>Well&#8230;</h3>
<p>I&#8217;m not saying Google copied Diaspora, especially as many of those things are common and obviously chosen web design elements, but Google+ certainly looks strongly inspired by Diaspora, which &#8211; as far as I remember &#8211; didn&#8217;t change much of its layout over the last year or so.</p>
<p>Also, many ideas/philosophies behind Google+ that make it successful are almost identical to those of Diaspora. The concept of circles/aspects, the focus on sharing which information with whom, the concept of &#8220;unidirectional relationships&#8221; (following without being followed) etc&#8230;</p>
<p>Opinions?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ich-wars-nicht.ch/2011/08/google-plus-inspired-by-diaspora/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Why some software project websites suck and others don&#8217;t</title>
		<link>http://blog.ich-wars-nicht.ch/2010/09/why-some-software-project-websites-suck-and-others-dont/</link>
		<comments>http://blog.ich-wars-nicht.ch/2010/09/why-some-software-project-websites-suck-and-others-dont/#comments</comments>
		<pubDate>Sat, 04 Sep 2010 01:31:05 +0000</pubDate>
		<dc:creator>danilo</dc:creator>
				<category><![CDATA[Arbeitsalltag]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[oss]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.ich-wars-nicht.ch/?p=2579</guid>
		<description><![CDATA[Today I gave some thoughts to what distinguishes a good software project website from a bad software project website (especially for open source projects). I came up with a few must-have criteria for a good software project website: On the very first page, state what the software does, and what the goal of the project [...]]]></description>
			<content:encoded><![CDATA[<p>Today I gave some thoughts to what distinguishes a good software project website from a bad software project website (especially for open source projects).</p>
<p>I came up with a few must-have criteria for a good software project website:</p>
<h3>On the very first page, state what the software does, and what the goal of the project is.</h3>
<p>More than once, I&#8217;ve seen project websites about a software, that provide downloads and how-tos and everything else, but don&#8217;t even explain what the software does. If I hear about a software and open the website, the first thing I want to know is what the software can be used for. If I can&#8217;t find that information quickly, I lose interest.</p>
<h3>Provide Screenshots in the main navigation</h3>
<p>Whether you like it or not, what many users care for are screenshots. Feature lists are great, but when you see some screenshots of the program in action, you get the general Idea how it works and how user-friendly it has been designed. Great features are useless if the UI sucks.</p>
<h3>Put the download section in the main navigation</h3>
<p>The second most important thing on a project website is the link to the download section. It should be visible on every page, and it should provide quick, easy download possibilities. Also, redirected downloads suck. Direct (and therefore wget-able) downloadlinks are better.</p>
<h3>Provide documentation</h3>
<p>What users want and developers hate, is documentation. Great documentation can contribute to great success. A good example of this is the area of software frameworks. A lot of frameworks (like <a href="http://codeigniter.com/user_guide/">CodeIgniter</a>, <a href="http://cakephp.org/#learn">CakePHP</a> and <a href="http://docs.jquery.com/Main_Page">jQuery</a>) are highly successful &#8211; not least because of the great and easy-to-understand documentation. Provide good documentation and don&#8217;t forget to share it with others. The users will thank you.</p>
<h3>Provide a way for feedback</h3>
<p>Many open source projects grew over time because of user feedback. User feedback is important. And it needs to be quick and easy. A registration for an issue tracker is a no-go for me. If I have to register, I don&#8217;t report. Allow anonymous bugreports and feature requests, and a lot more feedback will come in.</p>
<h3>For OSS projects: Provide easy possibilities to participate and share code</h3>
<p>Among software users, there are many great and capable programmers. Many of them have great ideas for contributions they could make. Most of them don&#8217;t have the time and motivation to track down the owner of the source repository and to ask for the permission to contribute. And patches that can&#8217;t be shared aren&#8217;t fun. Provide an e-mail address to send in patches. Or even better, use a <a href="http://en.wikipedia.org/wiki/Distributed_revision_control">distributed source code management system</a> like <a href="http://git-scm.com/">Git</a>. And then host it on a platform like <a href="https://github.com/">Github</a>, so that users can easily contribute their changes to the main branch, without you having to manage tedious permissions.</p>
<h3>Stay in touch with the users</h3>
<p>Communicate. And provide information on how to reach you on all available communication channels, like e-mail, IRC, twitter, facebook, forums etc. The more there are, the better. Inform the users about updates, but don&#8217;t spam them (use newsfeeds or social networks). And answer all not-totally-stupid questions. If you communicate, and if your software rocks, users will turn into fans.</p>
<p>&nbsp;</p>
<p>A majority of the mentioned issues should be known to most people releasing software, but apparently aren&#8217;t. The project website is the first contact with the &#8220;outer world&#8221; and in most cases best way to promote your software. Use it, don&#8217;t waste this potential.</p>
<p>There are probably several other important things to remember when creating a project website. The listed ones are just some important issues that came to my mind, the list is by no means complete. You are free to contribute your experiences in the comment box.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ich-wars-nicht.ch/2010/09/why-some-software-project-websites-suck-and-others-dont/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Print-Stylesheet</title>
		<link>http://blog.ich-wars-nicht.ch/2010/06/print-stylesheet/</link>
		<comments>http://blog.ich-wars-nicht.ch/2010/06/print-stylesheet/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 07:37:41 +0000</pubDate>
		<dc:creator>danilo</dc:creator>
				<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[ausdrucken]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[drucken]]></category>
		<category><![CDATA[print css]]></category>
		<category><![CDATA[stylesheet]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://blog.ich-wars-nicht.ch/?p=2474</guid>
		<description><![CDATA[So, der Blog hat nun auch ein sauberes Print-Stylesheet, ohne Sidebar, mit Linkpfaden und mit angepasster Schriftart und -grösse]]></description>
			<content:encoded><![CDATA[<p>So, der Blog hat nun auch ein sauberes Print-Stylesheet, ohne Sidebar, mit Linkpfaden und mit angepasster Schriftart und -grösse <img src='http://blog.ich-wars-nicht.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ich-wars-nicht.ch/2010/06/print-stylesheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Change MySQL Database Encoding</title>
		<link>http://blog.ich-wars-nicht.ch/2010/06/change-mysql-database-encoding/</link>
		<comments>http://blog.ich-wars-nicht.ch/2010/06/change-mysql-database-encoding/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 11:10:32 +0000</pubDate>
		<dc:creator>danilo</dc:creator>
				<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[Serveradministration]]></category>
		<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[encoding]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[unicode]]></category>

		<guid isPermaLink="false">http://blog.ich-wars-nicht.ch/?p=2421</guid>
		<description><![CDATA[After getting the MySQL Database encoding, you might want to change it. To change table column encoding: ALTER TABLE artists CHANGE &#91;fieldname&#93; &#91;fieldname&#93; &#91;fieldtype&#93; CHARACTER SET &#91;encoding&#93; COLLATE &#91;collation&#93;; To change table encoding: ALTER TABLE &#91;tablename&#93; CONVERT TO CHARACTER SET &#91;encoding&#93; COLLATE &#91;collation&#93;; To change database encoding: ALTER DATABASE &#91;dbname&#93; CHARACTER SET &#91;encoding&#93; COLLATE &#91;collation&#93;;]]></description>
			<content:encoded><![CDATA[<p>After <a href="http://blog.ich-wars-nicht.ch/2009/08/show-mysql-database-encoding/">getting the MySQL Database encoding</a>, you might want to change it.</p>
<p>To change table column encoding:</p>

<div class="wp_syntax"><div class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #990099; font-weight: bold;">ALTER</span> <span style="color: #990099; font-weight: bold;">TABLE</span> artists
CHANGE <span style="color: #FF00FF;">&#91;</span>fieldname<span style="color: #FF00FF;">&#93;</span> <span style="color: #FF00FF;">&#91;</span>fieldname<span style="color: #FF00FF;">&#93;</span> <span style="color: #FF00FF;">&#91;</span>fieldtype<span style="color: #FF00FF;">&#93;</span>
CHARACTER <span style="color: #990099; font-weight: bold;">SET</span> <span style="color: #FF00FF;">&#91;</span>encoding<span style="color: #FF00FF;">&#93;</span>
<span style="color: #CC0099; font-weight: bold;">COLLATE</span> <span style="color: #FF00FF;">&#91;</span><span style="color: #000099;">collation</span><span style="color: #FF00FF;">&#93;</span><span style="color: #000033;">;</span></pre></div></div>

<p>To change table encoding:</p>

<div class="wp_syntax"><div class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #990099; font-weight: bold;">ALTER</span> <span style="color: #990099; font-weight: bold;">TABLE</span> <span style="color: #FF00FF;">&#91;</span>tablename<span style="color: #FF00FF;">&#93;</span>
<span style="color: #990099; font-weight: bold;">CONVERT</span> <span style="color: #990099; font-weight: bold;">TO</span> CHARACTER <span style="color: #990099; font-weight: bold;">SET</span> <span style="color: #FF00FF;">&#91;</span>encoding<span style="color: #FF00FF;">&#93;</span>
<span style="color: #CC0099; font-weight: bold;">COLLATE</span> <span style="color: #FF00FF;">&#91;</span><span style="color: #000099;">collation</span><span style="color: #FF00FF;">&#93;</span><span style="color: #000033;">;</span></pre></div></div>

<p>To change database encoding:</p>

<div class="wp_syntax"><div class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #990099; font-weight: bold;">ALTER</span> <span style="color: #990099; font-weight: bold;">DATABASE</span> <span style="color: #FF00FF;">&#91;</span>dbname<span style="color: #FF00FF;">&#93;</span>
CHARACTER <span style="color: #990099; font-weight: bold;">SET</span> <span style="color: #FF00FF;">&#91;</span>encoding<span style="color: #FF00FF;">&#93;</span>
<span style="color: #CC0099; font-weight: bold;">COLLATE</span> <span style="color: #FF00FF;">&#91;</span><span style="color: #000099;">collation</span><span style="color: #FF00FF;">&#93;</span><span style="color: #000033;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.ich-wars-nicht.ch/2010/06/change-mysql-database-encoding/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>RegEx Email Validation String</title>
		<link>http://blog.ich-wars-nicht.ch/2010/06/regex-email-validation-string/</link>
		<comments>http://blog.ich-wars-nicht.ch/2010/06/regex-email-validation-string/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 09:20:36 +0000</pubDate>
		<dc:creator>danilo</dc:creator>
				<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[validation]]></category>
		<category><![CDATA[validierung]]></category>

		<guid isPermaLink="false">http://blog.ich-wars-nicht.ch/?p=2399</guid>
		<description><![CDATA[Wer denkt, dass das Erstellen eines RegEx-Strings zur Validierung von E-Mail-Adressen keine grosse Sache ist, sollte sich mal diesen Link ansehen: http://fightingforalostcause.net/misc/2006/compare-email-regex.php Hier nochmal der &#8220;Gewinnerstring&#8221;: /^([\w\!\#$\%\&#038;\'\*\+\-\/\=\?\^\`{\&#124;\}\~]+\.)*[\w\!\#$\%\&#038;\'\*\+\-\/\=\?\^\`{\&#124;\}\~]+@((((([a-z0-9]{1}[a-z0-9\-]{0,62}[a-z0-9]{1})&#124;[a-z])\.)+[a-z]{2,6})&#124;(\d{1,3}\.){3}\d{1,3}(\:\d{1,5})?)$/i]]></description>
			<content:encoded><![CDATA[<p>Wer denkt, dass das Erstellen eines RegEx-Strings zur Validierung von E-Mail-Adressen keine grosse Sache ist, sollte sich mal diesen Link ansehen: <a href="http://fightingforalostcause.net/misc/2006/compare-email-regex.php">http://fightingforalostcause.net/misc/2006/compare-email-regex.php</a></p>
<p>Hier nochmal der &#8220;Gewinnerstring&#8221;:</p>
<p><cite style="color: green; font-size: 1.1em;">/^([\w\!\#$\%\&#038;\'\*\+\-\/\=\?\^\`{\|\}\~]+\.)*[\w\!\#$\%\&#038;\'\*\+\-\/\=\?\^\`{\|\}\~]+@((((([a-z0-9]{1}[a-z0-9\-]{0,62}[a-z0-9]{1})|[a-z])\.)+[a-z]{2,6})|(\d{1,3}\.){3}\d{1,3}(\:\d{1,5})?)$/i</cite></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ich-wars-nicht.ch/2010/06/regex-email-validation-string/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Webdev Links 4</title>
		<link>http://blog.ich-wars-nicht.ch/2010/05/webdev-links-4/</link>
		<comments>http://blog.ich-wars-nicht.ch/2010/05/webdev-links-4/#comments</comments>
		<pubDate>Wed, 26 May 2010 08:19:31 +0000</pubDate>
		<dc:creator>danilo</dc:creator>
				<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[links]]></category>

		<guid isPermaLink="false">http://blog.ich-wars-nicht.ch/?p=2390</guid>
		<description><![CDATA[Row and column highlighting with jQuery Different Stylesheets for Differently Sized Browser Windows Ultimate IE6 Cheatsheet: How To Fix 25+ Internet Explorer 6 Bugs 50 High Quality Themes for Drupal Developers]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://css-tricks.com/row-and-column-highlighting/">Row and column highlighting with jQuery</a></li>
<li><a href="http://css-tricks.com/resolution-specific-stylesheets/">Different Stylesheets for Differently Sized Browser Windows</a></li>
<li><a href="http://www.virtuosimedia.com/tutorials/ultimate-ie6-cheatsheet-how-to-fix-25-internet-explorer-6-bugs">Ultimate IE6 Cheatsheet: How To Fix 25+ Internet Explorer 6 Bugs</a></li>
<li><a href="http://www.noupe.com/drupal/50-high-quality-themes-for-drupal-developers.html">50 High Quality Themes for Drupal Developers</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.ich-wars-nicht.ch/2010/05/webdev-links-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>PHP Magische Methoden</title>
		<link>http://blog.ich-wars-nicht.ch/2010/04/php-magische-methoden/</link>
		<comments>http://blog.ich-wars-nicht.ch/2010/04/php-magische-methoden/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 13:24:45 +0000</pubDate>
		<dc:creator>danilo</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[magic methods]]></category>
		<category><![CDATA[magische methoden]]></category>

		<guid isPermaLink="false">http://blog.ich-wars-nicht.ch/?p=2326</guid>
		<description><![CDATA[Zusammenfassung der magischen Methoden (magic methods) von PHP: __construct(): Konstruktor __destruct(): Destruktor __call(string name, array argumente): Aufruf bei unbekannter Objektmethode __callStatic(string name, array argumente): Aufruf bei unbekannter Klassenmethode __get(string name): Lesender Aufruf bei unbekannter Eigenschaft __set(string name, mixed wert): Schreiender Aufruf bei unbekannter Eigenschaft __isset(string name): Aufruf bei Verwendung von isset() __unset(string name): Aufruf bei [...]]]></description>
			<content:encoded><![CDATA[<p>Zusammenfassung der magischen Methoden (magic methods) von PHP:</p>
<ul>
<li><strong>__construct():</strong> Konstruktor</li>
<li><strong>__destruct():</strong> Destruktor</li>
<li><strong>__call(string name, array argumente):</strong> Aufruf bei unbekannter Objektmethode</li>
<li><strong>__callStatic(string name, array argumente):</strong> Aufruf bei unbekannter Klassenmethode</li>
<li><strong>__get(string name):</strong> Lesender Aufruf bei unbekannter Eigenschaft</li>
<li><strong>__set(string name, mixed wert):</strong> Schreiender Aufruf bei unbekannter Eigenschaft</li>
<li><strong>__isset(string name):</strong> Aufruf bei Verwendung von isset()</li>
<li><strong>__unset(string name):</strong> Aufruf bei Verwendung von unset()</li>
<li><strong>__sleep():</strong> Aufruf bei Verwendung von serialize()</li>
<li><strong>__wakeup():</strong> Aufruf bei Verwendung von unserialize()</li>
<li><strong>__toString():</strong> Aufruf bei echo</li>
<li><strong>__clone():</strong> Aufruf bei Klon-Vorgang</li>
</ul>
<p><em>Quelle: PHP Kurzreferenz von Comelio GmbH</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ich-wars-nicht.ch/2010/04/php-magische-methoden/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Bugfix for WordPress &#8220;Landing Sites&#8221; plugin</title>
		<link>http://blog.ich-wars-nicht.ch/2010/04/bugfix-for-wordpress-landing-sites-plugin/</link>
		<comments>http://blog.ich-wars-nicht.ch/2010/04/bugfix-for-wordpress-landing-sites-plugin/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 16:43:47 +0000</pubDate>
		<dc:creator>danilo</dc:creator>
				<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[landing sites]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://blog.ich-wars-nicht.ch/?p=2291</guid>
		<description><![CDATA[Today I was googling one of my own blogposts, and found the link I looked for. When I was forwarded to my blog, I became aware that I had enabled the landing sites plugin, which should to displays a nice list with related posts. As you may have noticed, I wrote &#8220;should&#8221;. Although the search [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was googling one of my own blogposts, and found the link I looked for. When I was forwarded to my blog, I became aware that I had enabled the <a href="http://wordpress.org/extend/plugins/landing-sites/">landing sites plugin</a>, which should to displays a nice list with related posts.</p>
<p><a href="http://blog.ich-wars-nicht.ch/wp-content/uploads/2010/04/landingsites.png" class="thickbox"><img src="http://blog.ich-wars-nicht.ch/wp-content/uploads/2010/04/landingsites-300x81.png" alt="" title="landingsites" width="300" height="81" class="alignnone size-medium wp-image-2292" /></a></p>
<p class="clear">As you may have noticed, I wrote &#8220;should&#8221;. Although the search string was exactly the same as the title of the blogpost that I was looking for, there was no match.</p>
<p>I echoed the issued SQL query from the plugin and queried it directly in the database. Unfortunately, I got the following SQL error:</p>

<div class="wp_syntax"><div class="code"><pre class="none" style="font-family:monospace;">ERROR 1191 (HY000): Can't find FULLTEXT index matching the column list</pre></div></div>

<p>Apparently there was some index missing. After some googling, I was able to fix the problem by issueing this query:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">ALTER</span> <span style="color: #993333; font-weight: bold;">TABLE</span> wp_posts <span style="color: #993333; font-weight: bold;">ADD</span> fulltext<span style="color: #66cc66;">&#40;</span>post_title<span style="color: #66cc66;">,</span> post_content<span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>I&#8217;m not sure if that&#8217;s the right way to solve the problem, but the plugin seems to be working again.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ich-wars-nicht.ch/2010/04/bugfix-for-wordpress-landing-sites-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Webdev Links 3 &#8211; WordPress</title>
		<link>http://blog.ich-wars-nicht.ch/2010/03/webdev-links-3-wordpress/</link>
		<comments>http://blog.ich-wars-nicht.ch/2010/03/webdev-links-3-wordpress/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 06:12:30 +0000</pubDate>
		<dc:creator>danilo</dc:creator>
				<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.ich-wars-nicht.ch/?p=2282</guid>
		<description><![CDATA[Some links about WordPress improvement&#8230; Most of them via digwp.com. Custom Post Types in WordPress 3.0 How to Add Your Plugin to the WordPress Plugin Directory BLANK WordPress Theme WordPress functions.php Template with 15 Essential Custom Functions 5 tips for using AJAX in WordPress WordPress Admin Toolbar Bookmarklet]]></description>
			<content:encoded><![CDATA[<p>Some links about WordPress improvement&#8230; Most of them via <a href="http://digwp.com/">digwp.com</a>.</p>
<ul>
<li><a href="http://kovshenin.com/archives/custom-post-types-in-wordpress-3-0/">Custom Post Types in WordPress 3.0</a></li>
<li><a href="http://digwp.com/2010/03/add-plugin-to-wordpress-plugin-repository/">How to Add Your Plugin to the WordPress Plugin Directory</a></li>
<li><a href="http://digwp.com/2010/02/blank-wordpress-theme/">BLANK WordPress Theme</a></li>
<li><a href="http://digwp.com/2010/03/wordpress-functions-php-template-custom-functions/">WordPress functions.php Template with 15 Essential Custom Functions</a></li>
<li><a href="http://www.wphardcore.com/2010/5-tips-for-using-ajax-in-wordpress/">5 tips for using AJAX in WordPress </a></li>
<li><a href="http://iamnotagoodartist.com/other/wordpress-admin-toolbar-bookmarklet/">WordPress Admin Toolbar Bookmarklet</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.ich-wars-nicht.ch/2010/03/webdev-links-3-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license>
	</item>
	</channel>
</rss>

