<?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>BOHUCO.NET &#187; Uncategorized</title>
	<atom:link href="http://bohuco.net/blog/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://bohuco.net/blog</link>
	<description>Die Sollbruchstelle des Internets.</description>
	<lastBuildDate>Mon, 30 Apr 2012 10:30:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>PHP5 WebSocket Example &#8211; A Simple Chat</title>
		<link>http://bohuco.net/blog/2011/01/php5-websocket-example-a-simple-chat/</link>
		<comments>http://bohuco.net/blog/2011/01/php5-websocket-example-a-simple-chat/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 08:08:21 +0000</pubDate>
		<dc:creator>DerFichtl</dc:creator>
				<category><![CDATA[Programmierung]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[chat]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Websockets]]></category>

		<guid isPermaLink="false">http://bohuco.net/blog/?p=1672</guid>
		<description><![CDATA[The classic example for websockets is a chat. This chat example has only 200 lines of code (excl. the Websocket class), is really easy to understand and customizable. The WebSocket class takes a function (or class method) as callback for every socket action, for this example i use the process method of the WebsocketChat Class: [...]]]></description>
			<content:encoded><![CDATA[<p>The classic example for websockets is a chat. This chat example has only 200 lines of code (excl. the Websocket class), is really easy to understand and customizable.</p>
<p><span id="more-1672"></span></p>
<p>The WebSocket class takes a function (or class method) as callback for every socket action, for this example i use the process method of the WebsocketChat Class:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
<span style="color: #000088;">$chat</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> WebsocketChat<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// new WebSocketServer( socket address, socket port, callback function )</span>
<span style="color: #000088;">$webSocket</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> WebSocketServer<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;84.38.67.247&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">8081</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$chat</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'process'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$webSocket</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">run</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>The WebsocketChat Class handles user actions and messages. We have two actions: &#8216;login&#8217; and &#8216;chat&#8217;. &#8216;login&#8217; happens when a new user sets his username, &#8216;chat&#8217; is always when a user sends a new message:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
<span style="color: #000000; font-weight: bold;">Class</span> WebsocketChat <span style="color: #009900;">&#123;</span>
&nbsp;
	<span style="color: #009933; font-style: italic;">/**
	 * @var array
	 */</span>
	<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000088;">$messages</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> process<span style="color: #009900;">&#40;</span><span style="color: #000088;">$user</span><span style="color: #339933;">,</span> <span style="color: #000088;">$msg</span><span style="color: #339933;">,</span> <span style="color: #000088;">$server</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
&nbsp;
		<span style="color: #000088;">$msg</span> <span style="color: #339933;">=</span> <span style="color: #990000;">json_decode</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$msg</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$msg</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">action</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'login'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
		<span style="color: #009900;">&#125;</span>
&nbsp;
		<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$msg</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">action</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'chat'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>On the client-side we have to send the right actions if someone clicks &#8216;login&#8217; or &#8216;send message&#8217;.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">&nbsp;
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#chat'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">submit</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>evt<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	evt.<span style="color: #660066;">preventDefault</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	send<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">'action'</span><span style="color: #339933;">:</span><span style="color: #3366CC;">'chat'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'text'</span><span style="color: #339933;">:</span>$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'[name=text]'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">val</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</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>
&nbsp;
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#login'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">submit</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>evt<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	evt.<span style="color: #660066;">preventDefault</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	send<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">'action'</span><span style="color: #339933;">:</span><span style="color: #3366CC;">'login'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'username'</span><span style="color: #339933;">:</span>$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'[name=username]'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">val</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#chat'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">show</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#login'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</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>The login action adds a new chat user to the user-array and loads the last five messages for this new user.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$msg</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">action</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'login'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$user</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'username'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">filter_var</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$msg</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">username</span><span style="color: #339933;">,</span> FILTER_SANITIZE_STRING<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000088;">$max</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">5</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">count</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">messages</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">&lt;</span><span style="color: #cc66cc;">5</span><span style="color: #009900;">&#41;</span>
		<span style="color: #000088;">$max</span> <span style="color: #339933;">=</span> <span style="color: #990000;">count</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">messages</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">// on login send last five chat messages</span>
	<span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">=</span><span style="color: #990000;">count</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">messages</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-</span><span style="color: #000088;">$max</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">&lt;</span>count<span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">messages</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$server</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">send</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$user</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">socket</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#40;</span>string<span style="color: #009900;">&#41;</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">messages</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>If the &#8216;chat&#8217; action is called then add a new WebsocketChatMessage to the message array and send it to all current chat-users:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$msg</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">action</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'chat'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$text</span> <span style="color: #339933;">=</span> <span style="color: #990000;">filter_var</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$msg</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">text</span><span style="color: #339933;">,</span> FILTER_SANITIZE_STRING<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>	
	<span style="color: #000088;">$lastMessage</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> WebsocketChatMessage<span style="color: #009900;">&#40;</span><span style="color: #000088;">$user</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'username'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$text</span><span style="color: #339933;">,</span> <span style="color: #990000;">time</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000088;">$user</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'message'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">messages</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$lastMessage</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$server</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getUsers</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$user</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$server</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">send</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$user</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">socket</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#40;</span>string<span style="color: #009900;">&#41;</span> <span style="color: #000088;">$lastMessage</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>			
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>The WebsocketChatMessage is just a container-class for holding the message data:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
<span style="color: #000000; font-weight: bold;">Class</span> WebsocketChatMessage <span style="color: #009900;">&#123;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000088;">$text</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000088;">$timestamp</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000088;">$username</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> __construct<span style="color: #009900;">&#40;</span><span style="color: #000088;">$username</span><span style="color: #339933;">,</span> <span style="color: #000088;">$text</span><span style="color: #339933;">,</span> <span style="color: #000088;">$timestamp</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">text</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$text</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">username</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$username</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">timestamp</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$timestamp</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> __toString<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">return</span> <span style="color: #990000;">sprintf</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'%s %s: %s'</span><span style="color: #339933;">,</span> <span style="color: #990000;">strftime</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'%H:%M'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">timestamp</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">username</span><span style="color: #339933;">,</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">text</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p><a href="http://bohuco.net/labs/php-websocket-chat/">View Chat Example</a> on <a href="http://bohuco.net/labs/">BOHUCO Labs</a></p>
<p><a href="http://bohuco.net/labs/php-websocket-chat/?source=server.php">View server.php Code</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bohuco.net/blog/2011/01/php5-websocket-example-a-simple-chat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inside Analytics Tracking (2) &#8211; Traffic Quellen Who is Who</title>
		<link>http://bohuco.net/blog/2010/09/inside-analytics-tracking-2-quellen-who-is-who/</link>
		<comments>http://bohuco.net/blog/2010/09/inside-analytics-tracking-2-quellen-who-is-who/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 07:50:36 +0000</pubDate>
		<dc:creator>DerFichtl</dc:creator>
				<category><![CDATA[Online Marketing]]></category>
		<category><![CDATA[Programmierung]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[Inside Analytics Tracking]]></category>
		<category><![CDATA[pageTracker]]></category>
		<category><![CDATA[tracking code]]></category>

		<guid isPermaLink="false">http://bohuco.net/blog/?p=1564</guid>
		<description><![CDATA[Google Analytics kennt vier Traffic Quellen: Suchmaschine, Direkt, Verweisende Seite (Referral Site) und Kampagne &#8230; aber welche Benutzer fallen wo rein? Kampagnen Tracking Alle Links bzw. Benutzer die explizit mit Tracking Variablen ausgezeichnet wurden fallen unter Kampagnen, dazu zählt aber nicht Google AdWords, dieser Traffic wird zwar als Kampagne getrackt, hat aber eine Ausnahmestellung und [...]]]></description>
			<content:encoded><![CDATA[<p>Google Analytics kennt vier Traffic Quellen: Suchmaschine, Direkt, Verweisende Seite (Referral Site) und Kampagne &#8230; aber welche Benutzer fallen wo rein?</p>
<p><span id="more-1564"></span></p>
<h2>Kampagnen Tracking</h2>
<p>Alle Links bzw. Benutzer die explizit mit Tracking Variablen ausgezeichnet wurden fallen unter Kampagnen, dazu zählt aber nicht Google AdWords, dieser Traffic wird zwar als Kampagne getrackt, hat aber eine Ausnahmestellung und wird im Analytics als &#8220;Bezahlter Suchmaschinen Traffic&#8221; angezeigt.</p>
<h2>Suchmaschinen Traffic</h2>
<p>Jetzt wirds interessant &#8230; was ist eigentlich eine Suchmaschine? Wer hat das definiert? Kann man das ändern?</p>
<p>Tja, definiert hat das Google und die Liste kann man auf Google Code einsehen. Auf dieser Liste stehen 40 Seiten, darunter alte Bekannten wie AOL, Yahoo und natürlich alle Google Suchseiten, aber auch sehr spezielle Suchmaschinen von denen man noch nie was gehört hat. Nach welchen Regeln diese Liste erstellt wurde konnte ich nicht herausfinden.</p>
<p>Die gute Nachricht ist das man diese Einteilung selber ändern kann. Mit den pageTracker Methoden _addOrganic() und _addIgnoreRef() kann man explizit Suchmaschinen hinzufügen oder ignorieren. Mit _clearOrganic() kann man sogar die ganze Suchmaschinen-Liste entfernen.</p>
<h2>Verweisende Websites</h2>
<p>Alles was keine Kampagne ist und keine Suchmaschine aber einen Referrer-Header hat, ist eine verweisende Website. Da findet man oft auch Google drin, das sind Benutzer die aus Gmail oder anderen Google Diensten (ausser der Suche) auf die Seite kommen. Zum Beispiel wenn man Newsletter versendet oder ein Google Doc mit Link veröffentlich hat.</p>
<h2>Direkter Traffic</h2>
<p>Tja, alles was jetzt noch übrig bleibt, also alles ohne Referrer-Header fällt unter Direkt Traffic &#8230; ganz einfach <img src='http://bohuco.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Mehr über <a href="http://code.google.com/apis/analytics/docs/tracking/gaTrackingTraffic.html">Traffic Sources</a>, <a href="http://code.google.com/apis/analytics/docs/tracking/gaTrackingTraffic.html#campaignTracking">Kampagnen-Tracking</a> und <a href="http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&amp;answer=55578">Url-Builder Tool</a> auf Google Code.</p>
<p>Weitere Artikel zu Analytics findet ihr unter: <a href="../tag/inside-analytics-tracking/">http://bohuco.net/blog/tag/inside-analytics-tracking/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bohuco.net/blog/2010/09/inside-analytics-tracking-2-quellen-who-is-who/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chrome Javascript Debugger/Profiler</title>
		<link>http://bohuco.net/blog/2009/06/google-hat-diese-woche-einen-javascript/</link>
		<comments>http://bohuco.net/blog/2009/06/google-hat-diese-woche-einen-javascript/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 17:07:24 +0000</pubDate>
		<dc:creator>DerFichtl</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Debugger]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://bohuco.net/blog/2009/06/google-hat-diese-woche-einen-javascript/</guid>
		<description><![CDATA[Google hat diese Woche einen Javascript Debugger/Profiler für Chrome veröffentlicht, bisher waren ja nur die WebKit-Tools enthalten. via golem]]></description>
			<content:encoded><![CDATA[<p>Google hat diese Woche einen <a href="http://blog.chromium.org/2009/06/developer-tools-for-google-chrome.html">Javascript Debugger/Profiler für Chrome</a> veröffentlicht, bisher waren ja nur die WebKit-Tools enthalten.</p>
<p>via <a href="http://www.golem.de/0906/68025.html">golem</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bohuco.net/blog/2009/06/google-hat-diese-woche-einen-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bielefeld-Verschwörung als Film</title>
		<link>http://bohuco.net/blog/2009/02/bielefeld-verschworung-als-film/</link>
		<comments>http://bohuco.net/blog/2009/02/bielefeld-verschworung-als-film/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 00:49:25 +0000</pubDate>
		<dc:creator>DerFichtl</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bohuco.net/blog/?p=887</guid>
		<description><![CDATA[Keine Ahnung ob der Film nicht auch nur ein Gerücht ist, aber angeblich dient die Bielefeld-Verschwörungstheorie als Vorlage für einen Bond-artigen Agenten-Film. Das Drehbuch soll fast fertig sein, gedreht wird 2010 in Griechenland und Bielefeld. via kino-news]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-888" title="bild-7" src="http://bohuco.net/blog/wp-content/uploads/2009/02/bild-7.png" alt="bild-7" width="288" height="133" />Keine Ahnung ob der Film nicht auch nur ein Gerücht ist, aber angeblich dient die Bielefeld-Verschwörungstheorie als Vorlage für einen Bond-artigen Agenten-Film. Das Drehbuch soll fast fertig sein, gedreht wird 2010 in Griechenland und Bielefeld.</p>
<p><a href="http://www.kino-news.de/news-details-20349862/bielefeldverschwoerung-wird-verfilmt.html">via kino-news</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bohuco.net/blog/2009/02/bielefeld-verschworung-als-film/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mega Movie Weekend</title>
		<link>http://bohuco.net/blog/2009/01/mega-movie-weekend/</link>
		<comments>http://bohuco.net/blog/2009/01/mega-movie-weekend/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 09:17:53 +0000</pubDate>
		<dc:creator>DerFichtl</dc:creator>
				<category><![CDATA[Movies]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bohuco.net/blog/?p=626</guid>
		<description><![CDATA[Nachdem ich aus zweifelhafter serbischer Quelle einige Filme zugespielt bekommen habe war dieses Wochenende großes Filmschauen angesagt. Sechs Filme in zwei Tagen: Bank Job Sehr lässiger Polit/Agenten/Kriminal-Film nach einer wahren Geschichte mit Transporter Jason Statham. Der britische Geheimdienst heuert einige Ganoven an um aus einem Bankschließfach kompromitierende Fotos einer Prinzessin zu stehlen. Das wissen die [...]]]></description>
			<content:encoded><![CDATA[<p>Nachdem ich aus zweifelhafter serbischer Quelle <img src='http://bohuco.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  einige Filme zugespielt bekommen habe war dieses Wochenende großes Filmschauen angesagt. Sechs Filme in zwei Tagen:</p>
<p><strong>Bank Job</strong><br />
Sehr lässiger Polit/Agenten/Kriminal-Film nach einer wahren Geschichte mit Transporter Jason Statham. Der britische Geheimdienst heuert einige Ganoven an um aus einem Bankschließfach kompromitierende Fotos einer Prinzessin zu stehlen. Das wissen die Kleinkriminellen natürlich nicht und zusätzlich stehlen sie auch noch einige andere Sachen die eigentlich keiner zu Gesicht bekommen sollte. [<a href="http://en.wikipedia.org/wiki/The_Bank_Job">wikipedia</a>]</p>
<p><strong>Hostel 2</strong><br />
Der Anfang ist wie gehabt, drei Amerikanerinnen reisen in die Slovakei und steigen im Hostel ab. Eine vierte is auch noch dabei die sie in Italien kennenlernen und die im ganzen Film für nix gut ist, aber ständig im Bild. Dann wird mal eine gekillt und die andere entführt, alles relativ öde bis auf den Schluß dann, der funktioniert gut. Nicht so schlecht wie befürchtet, kann man sich ansehen, trotzdem nur unterdurchschnittlich. Nachdem jetzt plötzlich lauter fesche Frauen herumrennen, erinnert das sehr an Scream. Und was soll eigentlich diese Kindergang darstellen? [<a href="http://en.wikipedia.org/wiki/Hostel_2_(movie)">wikipedia</a>]</p>
<p><strong>Stardust<br />
</strong>Sehr netter Fantasy/Märchen-Film in Star-Besetzung: Claire Danes, Michelle Pfeiffer, Rupert Everett, &#8230; Besonders lustig Robert de Niro als tuntiger Kapitän eines Luftschiffs.   [<a href="http://en.wikipedia.org/wiki/Stardust_(film)">wikipedia</a>]</p>
<p><strong>The Dark Knight</strong><br />
Umsonst gefreut, langweiliger Unsympatler als Batman, idiotische Fahrzeuge, ödes Outfit und ein komischer Bösewicht der eigentlich keiner sein sollte? Einziges Highlight der echte Bösewicht Heath Ledger als Joker. Schon allein wegen ihm muß man den Film gesehen haben. [<a href="http://en.wikipedia.org/wiki/The_Dark_Knight_(2008_Film)">wikipedia</a>]</p>
<p><strong>The Day the Earth Stood Still</strong><br />
Jennifer Connelly und der Keanu im SciFi-Remake &#8230; leider hat der Film eine sehr schlechte Qualität darum kann ich dazu nix sagen. So schlecht wie man allerorts hört ist er aber nicht, ich kenn aber auch das Orginal noch nicht. Man hat aber den Eindruck das da ein bissl die Kreativität gefehlt hat bzw. war vielleicht kein Geld mehr da nachdem die Schauspieler-Gagen bezahlt wurden? [<a href="http://en.wikipedia.org/wiki/The_Day_the_Earth_Stood_Still_(2008_film)">wikipedia</a>]</p>
<p><strong>There will be Blood</strong><br />
Ein Drama und filmische Biographie über einen Oil-Pionier zwischen 1900 &#8211; 1930. Wie immer ist Daniel Day-Lewis genial aber auch der Nebendarsteller Paul Dano als junger Prediger ist super. [<a href="http://en.wikipedia.org/wiki/There_Will_Be_Blood_(film)">wikipedia</a>] </p>
]]></content:encoded>
			<wfw:commentRss>http://bohuco.net/blog/2009/01/mega-movie-weekend/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New Blogroll-Entry</title>
		<link>http://bohuco.net/blog/2008/11/new-blogroll-entry/</link>
		<comments>http://bohuco.net/blog/2008/11/new-blogroll-entry/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 06:59:04 +0000</pubDate>
		<dc:creator>DerFichtl</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Blogroll]]></category>
		<category><![CDATA[Friends]]></category>

		<guid isPermaLink="false">http://bohuco.net/blog/?p=557</guid>
		<description><![CDATA[Pötsch, der (relativ) frischgebackene EntrepreNERD hat auch ein Blog. Er hat nur nie was gesagt, darum hab ich es erst jetzt entdeckt. Wie war nochmal schnell der offizielle Firmenwortlaut &#8211; &#8220;Pötschner V&#8230;n und B..s&#8221;, oder so?]]></description>
			<content:encoded><![CDATA[<p>Pötsch, der (relativ) frischgebackene <a href="http://der-entreprenerd.blogspot.com/">EntrepreNERD</a> hat auch ein Blog. Er hat nur nie was gesagt, darum hab ich es erst jetzt entdeckt. Wie war nochmal schnell der offizielle Firmenwortlaut &#8211; &#8220;Pötschner V&#8230;n und B..s&#8221;, oder so? <img src='http://bohuco.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://bohuco.net/blog/2008/11/new-blogroll-entry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Buchtipp &#8211; Die Bücherdiebin</title>
		<link>http://bohuco.net/blog/2008/08/buchtipp-die-bucherdiebin/</link>
		<comments>http://bohuco.net/blog/2008/08/buchtipp-die-bucherdiebin/#comments</comments>
		<pubDate>Sun, 24 Aug 2008 08:19:52 +0000</pubDate>
		<dc:creator>DerFichtl</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bohuco.net/blog/?p=411</guid>
		<description><![CDATA[Der Ich-Erzähler ist sehr beschäftigt, er ist bis über beide Ohren eingedeckt mit Arbeit. Es ist Krieg, 2. Weltkrieg und der Tot persönlich erzählt die Geschichte eines kleinen Mädchens namens Liesel. Eine Geschichte über eine kleine Bücherdiebin und ihren besten Freund Rudi, der gerne wie Jesse Owens wäre. Über ihre Zieheltern, dem jüdischen Faustkämpfer im [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" title="Buecherdiebin" src="http://ecx.images-amazon.com/images/I/51VBBgWASDL._SL500_AA240_.jpg" alt="" width="122" height="122" />Der Ich-Erzähler ist sehr beschäftigt, er ist bis über beide Ohren eingedeckt mit Arbeit. Es ist Krieg, 2. Weltkrieg und der Tot persönlich erzählt die Geschichte eines kleinen Mädchens namens Liesel.</p>
<p>Eine Geschichte über eine kleine Bücherdiebin und ihren besten Freund Rudi, der gerne wie <a href="http://www.jesseowens.com/">Jesse Owens</a> wäre. Über ihre Zieheltern, dem jüdischen Faustkämpfer im Keller, den Bewohnern der Himmelstraße und dem Bürgermeister und seiner Frau. Eine Geschichte über die Liebe zu Büchern und Worten &#8230; eine Geschichte über den Hass und Leid den Worte verursachen können.</p>
<p>Auch der Stil in dem das Buch geschrieben ist lässt die große Liebe zu den Worten erkennen. Worte sind für Markus Zusak wie Gegenstände oder Personen. Es werden &#8220;Sätze geschleudert&#8221;, Worte &#8220;fallen zu Boden&#8221;, &#8220;schweben&#8221;, &#8220;stolpern&#8221;, sind &#8220;schüchtern&#8221; oder &#8220;betreten einen Raum&#8221;. Ein tolles und wichtiges Buch, und sehr traurig (wie alle Buchtipps von Babs, danke).</p>
<p><a href="http://www.amazon.de/Die-Bücherdiebin-Markus-Zusak/dp/3764502843/">Die Bücherdiebin</a><br />
Markus Zusak</p>
]]></content:encoded>
			<wfw:commentRss>http://bohuco.net/blog/2008/08/buchtipp-die-bucherdiebin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Support?</title>
		<link>http://bohuco.net/blog/2008/07/support/</link>
		<comments>http://bohuco.net/blog/2008/07/support/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 20:04:52 +0000</pubDate>
		<dc:creator>DerFichtl</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bohuco.net/blog/?p=311</guid>
		<description><![CDATA[Eine Freundin skyped mich an ob ich das auch schon gehabt hab das &#8220;das Internet&#8221; beim Mac Book Pro nicht geht. &#8220;Hmm, nein, ist&#8217;s angesteckt?&#8221; / &#8220;Jaaaa, natürlich, alles richtig eingerichtet&#8221; und mit dem Liwest Support hat sie auch schon gesprochen / &#8220;Der vom Liwest-Support meint, die Netzwerkkarte ist kaputt&#8221; / ich: &#8220;glaub ich net [...]]]></description>
			<content:encoded><![CDATA[<p>Eine Freundin skyped mich an ob ich das auch schon gehabt hab das &#8220;das Internet&#8221; beim Mac Book Pro nicht geht. &#8220;Hmm, nein, ist&#8217;s angesteckt?&#8221; <img src='http://bohuco.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  / &#8220;Jaaaa, natürlich, alles richtig eingerichtet&#8221; und mit dem Liwest Support hat sie auch schon gesprochen / &#8220;Der vom Liwest-Support meint, die Netzwerkkarte ist kaputt&#8221; / ich: &#8220;glaub ich net drann, ich komm vorbei&#8221; / ein Klick auf &#8220;DHCP-Lease erneuern&#8221; hat das Problem gelöst.</p>
<p>Danke lieber Liwest-Support-Mitarbeiter</p>
]]></content:encoded>
			<wfw:commentRss>http://bohuco.net/blog/2008/07/support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TV-Tipps, Ramones Doku und Transporter Trailer</title>
		<link>http://bohuco.net/blog/2008/07/tvtipps-ramones-doku-transporter/</link>
		<comments>http://bohuco.net/blog/2008/07/tvtipps-ramones-doku-transporter/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 19:24:04 +0000</pubDate>
		<dc:creator>DerFichtl</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Movies]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[piano]]></category>
		<category><![CDATA[ramones]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[transporter]]></category>

		<guid isPermaLink="false">http://bohuco.net/blog/?p=304</guid>
		<description><![CDATA[Terminal (Spielberg, Hanks) ARD, 24.07, 22:45 Das Piano (Hunter) ZDF, 25.07, 00:25 Transporter 3 Trailer diesesmal auch wieder mit Audi (leider) Ramones Doku auf YouTube]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.cineastentreff.de/content/view/5327/35/">Terminal (Spielberg, Hanks)</a><br />
ARD, 24.07, 22:45</p>
<p><a href="http://www.cineastentreff.de/content/view/5330/35/">Das Piano (Hunter)</a><br />
ZDF, 25.07, 00:25</p>
<p><a href="http://www.fuenf-filmfreunde.de/2008/07/21/transporter-3-teaser/">Transporter 3 Trailer</a><br />
diesesmal auch wieder mit Audi (leider)</p>
<p><a href="http://www.nerdcore.de/wp/2008/07/20/ramones-doku-%E2%80%93-end-of-the-century-the-story-of-the-ramones/">Ramones Doku</a><br />
auf YouTube</p>
]]></content:encoded>
			<wfw:commentRss>http://bohuco.net/blog/2008/07/tvtipps-ramones-doku-transporter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Update auf 2.6</title>
		<link>http://bohuco.net/blog/2008/07/wordpress-update-auf-26/</link>
		<comments>http://bohuco.net/blog/2008/07/wordpress-update-auf-26/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 02:05:55 +0000</pubDate>
		<dc:creator>DerFichtl</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://bohuco.net/blog/?p=248</guid>
		<description><![CDATA[&#8230; wiedermal problemlos gelaufen. Neue Features / Download]]></description>
			<content:encoded><![CDATA[<p>&#8230; wiedermal problemlos gelaufen.</p>
<p><a href="http://wordpress.org/development/2008/07/wordpress-26-tyner/">Neue Features</a> / <a href="http://wordpress-deutschland.org/download/englisch/">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bohuco.net/blog/2008/07/wordpress-update-auf-26/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

