<?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>Tech Titbits &#187; Web Analytics</title>
	<atom:link href="http://techtitbits.com/category/web-analytics/feed/" rel="self" type="application/rss+xml" />
	<link>http://techtitbits.com</link>
	<description>Titbits of technology, with extra sauce</description>
	<lastBuildDate>Tue, 16 Mar 2010 14:26:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Making the Woopra analytics code valid xHTML</title>
		<link>http://techtitbits.com/2008/07/making-the-woopra-analytics-code-valid-xhtml/</link>
		<comments>http://techtitbits.com/2008/07/making-the-woopra-analytics-code-valid-xhtml/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 03:15:08 +0000</pubDate>
		<dc:creator>Soumik</dc:creator>
				<category><![CDATA[Web Analytics]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[valid xhtml]]></category>
		<category><![CDATA[Woopra]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://techtitbits.com/?p=16</guid>
		<description><![CDATA[Woopra is a ground-breaking web-analytics service that is seriously better than Google Analytics. However, the default javascript code is flawed, in the sense that it doesn&#8217;t validate as xHTML strict.
The default code looks like this :
&#60;script type=&#34;text/javascript&#34;&#62;
var woopra_id = 'XXXXXXXXXX';
&#60;/script&#62;
&#60;script src=&#34;http://static.woopra.com/js/woopra.js&#34;&#62;&#60;/script&#62;
where &#8216;XXXXXXXXXX&#8217; is the website ID.
To make this valid xHTML, you just need to add [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p><a title="Go to Woopra website" href="http://www.woopra.com" target="_blank">Woopra</a> is a ground-breaking <a href="http://www.experienced-people.co.uk/1062-confirm-site-traffic/web-analytics.htm" target="_blank">web-analytics</a> service that is seriously better than Google Analytics. However, the default javascript code is flawed, in the sense that it doesn&#8217;t validate as <abbr title="eXtensible HyperText Markup Language">xHTML</abbr> strict.</p>
<p>The default code looks like this :</p>
<pre class="brush: jscript;">&lt;script type=&quot;text/javascript&quot;&gt;
var woopra_id = 'XXXXXXXXXX';
&lt;/script&gt;
&lt;script src=&quot;http://static.woopra.com/js/woopra.js&quot;&gt;&lt;/script&gt;</pre>
<p>where &#8216;XXXXXXXXXX&#8217; is the website ID.</p>
<p>To make this valid xHTML, you just need to add <code>type="text/javascript"</code> to the second script tag; so that your code looks like this :</p>
<pre class="brush: jscript;">&lt;script type=&quot;text/javascript&quot;&gt;
var woopra_id = 'XXXXXXXXXX';
&lt;/script&gt;
&lt;script src=&quot;http://static.woopra.com/js/woopra.js&quot; type=&quot;text/javascript&quot;&lt;/script&gt;</pre>
<p>PS : Those of you who are using the <a title="Woopra Wordpress plugin" href="http://wordpress.org/extend/plugins/woopra/" target="_blank">Woopra Wordpress plugin</a>, you don&#8217;t need to worry about this. The plugin produces the valid xHTML code by default.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://techtitbits.com/2008/07/making-the-woopra-analytics-code-valid-xhtml/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
