<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:admin="http://webns.net/mvcb/"
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>
			CoffeeBreak
		</title>
		<link>
			http://www.neverpanic.de/blog/
		</link>
		<atom:link href="http://www.neverpanic.de/blog/rss2/" rel="self" type="application/rss+xml" />
		<description>
			CoffeeBreak, the neverpanic.de blog
		</description>
		<dc:language>
			en
		</dc:language>
		<dc:creator>
			Clemens Lang
		</dc:creator>
		<dc:rights>
			Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Germany License
		</dc:rights>
		<dc:date>
			2010-07-30T22:55:01+00:00
		</dc:date>
		<admin:generatorAgent rdf:resource="http://expressionengine.com/" />
		
		<item>
			<title>
				Keeping yourself out of your Google Analytics statistics
			</title>
			<link>
				http://www.neverpanic.de/blog/single/keeping-yourself-out-of-your-google-analytics-statistics/
			</link>
			<guid>
				http://www.neverpanic.de/blog/single/keeping-yourself-out-of-your-google-analytics-statistics/#When:20:54:22Z
			</guid>
			<description>
				Using Google Analytics and wondered how many clicks you add to your site(s) on your own? Here&#8217;s an old way to keep yourself out updated for the new Google Analytics JavaScript.
Based on Count me out on Analytics Talk I&#8217;m keeping myself out of my sites&#8217; statistics. However Google released a new version of their tracking JavaScript in December and they&#8217;re no longer adding new features to the old urchin.js. So updating is a god idea, but I still want to keep my hits out of my site statistics.

A quick glance at the Google Analytics help center told me there was a way to set custom variables in the new JavaScript, too, so I modified my keep&#45;me&#45;out files:
&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;meta http&#45;equiv=&amp;quot;Content&#45;Type&amp;quot; content=&amp;quot;text/html; charset=utf&#45;8&amp;quot; /&amp;gt;&amp;lt;title&amp;gt;removing you from GoogleAnalytics...&amp;lt;/title&amp;gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;	var gaJsHost = ((&amp;quot;https:&amp;quot; == document.location.protocol) ? &amp;quot;https://ssl.&amp;quot; : &amp;quot;http://www.&amp;quot;);	document.write(unescape(&amp;quot;%3Cscript src=&#39;&amp;quot; + gaJsHost + &amp;quot;google&#45;analytics.com/ga.js&#39; type=&#39;text/javascript&#39;%3E%3C/script%3E&amp;quot;));&amp;lt;/script&amp;gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;	var pageTracker = _gat._getTracker(&amp;quot;UA&#45;XXXXXXX&#45;X&amp;quot;);	pageTracker._initData();	pageTracker._trackPageview();&amp;lt;/script&amp;gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;function setSegment(next) {	pageTracker._setVar(&#39;someSpecialTextYoullUseInACustomFilterInGoogleAnalytics&#39;);	if (next.length &amp;gt; 0) {		document.location.href =  next;	} else {		window.close();	}}&amp;lt;/script&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body onload=&amp;quot;setSegment(&#39;http://location.of/the.same.script.on.another.site.of.yours.to.redirect&#39;)&amp;quot;&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;
So what is this doing? First, it loads the Google Analytics JavaScript (lines 5&#45;8), then it initializes the tracking (lines 9&#45;13) and last but not least the function (lines 14&#45;23) that sets the custom value in the tracking class and redirects if you passed another URL to it (useful for chaining all your sites). Finally in line 25, the function gets called on page load.
Combined with “dom.allow_scripts_to_close_windows” in Firefox&#8217; about:config you can add this page as a new start page tab and have it exclude you automagically every time you press the home button (and the window closes automatically after this, which keeps your tab bar clean).
			</description>
			<dc:subject>
				Internal, Web Development, JavaScript
			</dc:subject>
			<dc:date>
				2008-01-31T20:54:22+00:00
			</dc:date>
		</item>
		
		<item>
			<title>
				Forms with WuFoo
			</title>
			<link>
				http://www.neverpanic.de/blog/single/forms-with-wufoo/
			</link>
			<guid>
				http://www.neverpanic.de/blog/single/forms-with-wufoo/#When:20:08:16Z
			</guid>
			<description>
				Do you create web forms a lot? Doing a lot of copy and paste on this task?I&#39;ve been listening to Technikw&amp;uuml;rze Podcast, Episode 104 (a german podcast about design and webstandards) and they&#39;ve been talking about WuFoo, an online service to create HTML forms. You can create forms using drag and drop on their site. If you want their server side validation, their statistics and their database power, you can purchase a paid subscription plan, but what I want to point out today is their XHTML/CSS export feature.
When you create a form, click the code&#45;button and choose &amp;ldquo;XHTML/CSS code only&amp;rdquo; on the right they&#39;ll serve you the correct XHTML and CSS code for the form you designed ready somewhat ready to include it into your web site. I moved all their CSS rules into some kind of &amp;ldquo;namespace&amp;rdquo; so they wouldn&#39;t interfere with my site&#39;s CSS rules (particularly my CSS files require the form to be in an element with class &amp;ldquo;wf&amp;rdquo; assigned to it and the IDs being used in the form are prefixed with &amp;ldquo;wf_&amp;rdquo;). I added some jQuery JavaScript for the cool eye candy&#45;effects and that&#39;s it. Now I can easily insert WuFoo&#45;generated forms in my site (and oh boy, I will).
Note that you will have to take care of form validation yourself &#45; you&#39;re not using the WuFoo guys&#39; servers and I didn&#39;t include client&#45;side validation in my JavaScript.
If you&#39;d like to use my modified CSS file and my jQuery JavaScript code scroll down for a highlighted version or get it here: CSS and jQuery JavaScript. The CSS and XHTML code has been released under a CreativeCommons Attribution 2.5 license and I&#39;m hereby releasing the jQuery code under the same license.
			</description>
			<dc:subject>
				Internal, Web Development, Design, JavaScript, XHTML &amp; CSS
			</dc:subject>
			<dc:date>
				2007-12-20T20:08:16+00:00
			</dc:date>
		</item>
		
		<item>
			<title>
				Google announces OpenSocial API
			</title>
			<link>
				http://www.neverpanic.de/blog/single/google-announces-opensocial-api/
			</link>
			<guid>
				http://www.neverpanic.de/blog/single/google-announces-opensocial-api/#When:12:06:00Z
			</guid>
			<description>
				Are you a Facebook member? Did you join MySpace for some of your friends don&#8217;t have Facebook accounts? There&#8217;s a solution, and it&#8217;s called OpenSocial.
OpenSocial is an API for social networks. There&#8217;s nothing new about APIs, but the Google is taking a flying leap by standardizing the different APIs of different social networks into one API. You might ask: “Why Google?” Actually Google is just developing the OpenSocial API, but it&#8217;s not an idea Google had on their own &#45; they have a couple of influential partners in the social web business: hi5, MySpace, Ning, Facebook and Xing, just to name a few.

I can already hear some people moan about Google doing it &#45; but in this case the fear&#45;mongering that Google will soon know everything about us doesn&#8217;t seem quite eligible. To quote one of the social networking companies&#8217; CEOs that was giving a demo of an OpenSocial app at the Google Campfire One: “This is Flixter working directly with MySpace. [...] Google doesn&#8217;t control the data in any way” (Joe Greenstein, CEO of Flixter, approx. 55:00 on Campfire One: Introducing OpenSocial on YouTube)

I can&#8217;t wait to see what developers are going to do with OpenSocial &#45; would be nice, if Google got everyone together using OpenSocial.

[via Kaffeeringe]
			</description>
			<dc:subject>
				Web Development, JavaScript, XHTML &amp; CSS
			</dc:subject>
			<dc:date>
				2007-11-04T12:06:00+00:00
			</dc:date>
		</item>
		
	</channel>
</rss>