<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Speed Up Google Analytics with urchin.js</title>
	<atom:link href="http://www.askapache.com/webmaster/faster-google-analytics-with-a-local-urchinjs.html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.askapache.com/webmaster/faster-google-analytics-with-a-local-urchinjs.html</link>
	<description>Web Development</description>
	<pubDate>Sun, 20 Jul 2008 16:46:25 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Majika</title>
		<link>http://www.askapache.com/webmaster/faster-google-analytics-with-a-local-urchinjs.html#comment-35244</link>
		<dc:creator>Majika</dc:creator>
		<pubDate>Sat, 26 Jan 2008 14:39:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com.com/webmaster/faster-google-analytics-with-a-local-urchinjs.html#comment-35244</guid>
		<description>Hi,

First off great work, This is a bit of a n00b! question as I am crap at Cron Jobs and shell scripts all together (kinda wonder how I have a website to begin with) well anyway,

I am a bit baffeled about the &#60;pre/website/ bit in the first of your shell script examples

&lt;pre&gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
rm /home/user/websites/askapache.com/z/j/urchin.js&lt;br /&gt;
cd /home/user/websites/askapache.com/z/j/&lt;br /&gt;
wget http://www.google-analytics.com/urchin.js&lt;br /&gt;
chmod 644 /home/user/websites/askapache.com/z/j/urchin.js&lt;br /&gt;
cd ${OLDPWD}&lt;br /&gt;
exit 0;&lt;br /&gt;
&lt;/pre&gt;


I think I would fill the script out like this Please tell me if this is correct ?

&lt;pre&gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
rm /home/sellitor/websites/site/z/j/urchin.js&lt;br /&gt;
cd /home/sellitor/websites/site/z/j/&lt;br /&gt;
wget http://www.google-analytics.com/urchin.js&lt;br /&gt;
chmod 644 /home/sellitor/websites/site/z/j/urchin.js&lt;br /&gt;
cd ${OLDPWD}&lt;br /&gt;
exit 0;&lt;br /&gt;
&lt;/pre&gt;

is this correct?  or do I have to change the '/websites/' to one of my sub-domains whichever one I am using  Google Analytics with ?

for instance I would place '/shop/' in place of '/websites/'

Cheers,</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>First off great work, This is a bit of a n00b! question as I am crap at Cron Jobs and shell scripts all together (kinda wonder how I have a website to begin with) well anyway,</p>
<p>I am a bit baffeled about the &lt;pre/website/ bit in the first of your shell script examples</p>
<pre>
#!/bin/sh
rm /home/user/websites/askapache.com/z/j/urchin.js
cd /home/user/websites/askapache.com/z/j/
wget <a href="http://www.google-analytics.com/urchin.js" rel="nofollow">http://www.google-analytics.com/urchin.js</a>
chmod 644 /home/user/websites/askapache.com/z/j/urchin.js
cd ${OLDPWD}
exit 0;
</pre>
<p>I think I would fill the script out like this Please tell me if this is correct ?</p>
<pre>
#!/bin/sh
rm /home/sellitor/websites/site/z/j/urchin.js
cd /home/sellitor/websites/site/z/j/
wget <a href="http://www.google-analytics.com/urchin.js" rel="nofollow">http://www.google-analytics.com/urchin.js</a>
chmod 644 /home/sellitor/websites/site/z/j/urchin.js
cd ${OLDPWD}
exit 0;
</pre>
<p>is this correct?  or do I have to change the &#8216;/websites/&#8217; to one of my sub-domains whichever one I am using  Google Analytics with ?</p>
<p>for instance I would place &#8216;/shop/&#8217; in place of &#8216;/websites/&#8217;</p>
<p>Cheers,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AskApache</title>
		<link>http://www.askapache.com/webmaster/faster-google-analytics-with-a-local-urchinjs.html#comment-29682</link>
		<dc:creator>AskApache</dc:creator>
		<pubDate>Mon, 26 Nov 2007 19:05:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com.com/webmaster/faster-google-analytics-with-a-local-urchinjs.html#comment-29682</guid>
		<description>Phillip-

Thats a very good method and will work for most people, but I personally am kinda fanatical about security, so that means each of my sites have their own username, usergroup, and are totally separated from one another, so if one falls, the others don't go like dominoes.</description>
		<content:encoded><![CDATA[<p>Phillip-</p>
<p>Thats a very good method and will work for most people, but I personally am kinda fanatical about security, so that means each of my sites have their own username, usergroup, and are totally separated from one another, so if one falls, the others don&#8217;t go like dominoes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phillip</title>
		<link>http://www.askapache.com/webmaster/faster-google-analytics-with-a-local-urchinjs.html#comment-29278</link>
		<dc:creator>Phillip</dc:creator>
		<pubDate>Fri, 23 Nov 2007 14:31:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com.com/webmaster/faster-google-analytics-with-a-local-urchinjs.html#comment-29278</guid>
		<description>Neat idea on the cron job. Wouldn't it be simpler to symlink to one copy of urchin.js from all of your project directories? Then no matter how many sites you have using it, you don't have to change your shell script. I do that a lot with code that I want to share across multiple sites.  I very much dislike having to make the same change in multiple places.

Just a thought.

Peace.</description>
		<content:encoded><![CDATA[<p>Neat idea on the cron job. Wouldn&#8217;t it be simpler to symlink to one copy of urchin.js from all of your project directories? Then no matter how many sites you have using it, you don&#8217;t have to change your shell script. I do that a lot with code that I want to share across multiple sites.  I very much dislike having to make the same change in multiple places.</p>
<p>Just a thought.</p>
<p>Peace.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray</title>
		<link>http://www.askapache.com/webmaster/faster-google-analytics-with-a-local-urchinjs.html#comment-22533</link>
		<dc:creator>Ray</dc:creator>
		<pubDate>Mon, 08 Oct 2007 19:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com.com/webmaster/faster-google-analytics-with-a-local-urchinjs.html#comment-22533</guid>
		<description>Where is it getting the values for things like:
{OLDPWD}
and
{HOME}


Thanks</description>
		<content:encoded><![CDATA[<p>Where is it getting the values for things like:<br />
{OLDPWD}<br />
and<br />
{HOME}</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AskApache</title>
		<link>http://www.askapache.com/webmaster/faster-google-analytics-with-a-local-urchinjs.html#comment-21339</link>
		<dc:creator>AskApache</dc:creator>
		<pubDate>Thu, 04 Oct 2007 03:12:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com.com/webmaster/faster-google-analytics-with-a-local-urchinjs.html#comment-21339</guid>
		<description>Yo brad, you could in fact combine urchin.js with your sites other .js file.  Check out my apache.js file to see how much you can cram into 1 file.  Once a browser goes to any page on my site 1 time, they will never have to request that file again, it is cached forever and they dont even send If-Modified or Compare E-Tags because I removed the Last-Modified and E-Tags from my .js file.  So what if I update the .js?  I just rename the .js file in my .html (which is only cached for 7200 seconds and then DOES revalidate) and presto!  My site is sooo fast!</description>
		<content:encoded><![CDATA[<p>Yo brad, you could in fact combine urchin.js with your sites other .js file.  Check out my apache.js file to see how much you can cram into 1 file.  Once a browser goes to any page on my site 1 time, they will never have to request that file again, it is cached forever and they dont even send If-Modified or Compare E-Tags because I removed the Last-Modified and E-Tags from my .js file.  So what if I update the .js?  I just rename the .js file in my .html (which is only cached for 7200 seconds and then DOES revalidate) and presto!  My site is sooo fast!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
