<?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>Atholl Road Labs</title>
	<atom:link href="http://c1.athollroad.eu/feed/" rel="self" type="application/rss+xml" />
	<link>http://c1.athollroad.eu</link>
	<description>Just a place to experiment</description>
	<lastBuildDate>Thu, 20 Dec 2012 16:38:49 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.0.1</generator>
	<item>
		<title>Web based file watcher</title>
		<link>http://c1.athollroad.eu/2012/12/20/web-based-file-watcher/</link>
		<comments>http://c1.athollroad.eu/2012/12/20/web-based-file-watcher/#comments</comments>
		<pubDate>Thu, 20 Dec 2012 13:34:28 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://c1.athollroad.eu/?p=47</guid>
		<description><![CDATA[We needed to check a file was being written to a remote server at least every 15 minutes or so. This bash script, run as a cron job, uses curl to get the HTTP headers and then sed to extract &#8230; <a href="http://c1.athollroad.eu/2012/12/20/web-based-file-watcher/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>We needed to check a file was being written to a remote server at least every 15 minutes or so. This bash script, run as a cron job, uses curl to get the HTTP headers and then sed to extract &#8220;Last Modified&#8221; time. The actual log file is not downloaded.</p>
<pre class="brush: bash; title: ; notranslate">
#!/bin/bash
START=$(/bin/date +%s)
LASTMOD=` /usr/bin/curl -Is http://www.example.com/logs/log.txt | /bin/sed -n 's/^Last-Modified: *\([^ ]*\) */\1/p' `
LASTTIME=$(/bin/date +%s -d &quot;$LASTMOD&quot;)
DIFF=$(($START - $LASTTIME ))
if [ &quot;$DIFF&quot; -gt &quot;900&quot; ]
then
MAIL_TXT=&quot;Subject: Log file not updating\nFrom: info@example.com\nTo: info@example.com\n\nAge is $DIFF&quot;
echo -e $MAIL_TXT | /usr/sbin/sendmail -t
fi

</pre>
<p>Cron entry is</p>
<pre class="brush: bash; title: ; notranslate">
*/15 * * * * /home/robin/checkweblastmod.sh
</pre>
]]></content:encoded>
			<wfw:commentRss>http://c1.athollroad.eu/2012/12/20/web-based-file-watcher/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blog once, Twit and Facebook</title>
		<link>http://c1.athollroad.eu/2012/12/19/blog-once-twit-and-fbook/</link>
		<comments>http://c1.athollroad.eu/2012/12/19/blog-once-twit-and-fbook/#comments</comments>
		<pubDate>Wed, 19 Dec 2012 16:36:12 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Experimentation]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://c1.athollroad.eu/?p=41</guid>
		<description><![CDATA[Testing out another mailchimp plugin. This time to broadcast your blog post to Twitter and Facebook. See http://wordpress.org/extend/plugins/social Tip: Remember to select &#8220;Broadcast Post&#8221;]]></description>
				<content:encoded><![CDATA[<p>Testing out another mailchimp plugin. This time to broadcast your blog post to Twitter and Facebook. See http://wordpress.org/extend/plugins/social Tip: Remember to select &#8220;Broadcast Post&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://c1.athollroad.eu/2012/12/19/blog-once-twit-and-fbook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mailchimp wordpress integration</title>
		<link>http://c1.athollroad.eu/2012/12/19/mailchimp-wordpress-integration/</link>
		<comments>http://c1.athollroad.eu/2012/12/19/mailchimp-wordpress-integration/#comments</comments>
		<pubDate>Wed, 19 Dec 2012 08:54:35 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Experimentation]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://c1.athollroad.eu/?p=37</guid>
		<description><![CDATA[Mailchimp has a wordpress plugin. This is a post to test email sending! I used instructions at http://www.stuffedweb.com/automatically-email-latest-post to set up an rss automated campaign. The list is subscribed to via the Mail Chimp List plugin widget.]]></description>
				<content:encoded><![CDATA[<p>Mailchimp has a wordpress plugin. This is a post to test email sending!</p>
<p>I used instructions at http://www.stuffedweb.com/automatically-email-latest-post to set up an rss automated campaign. The list is subscribed to via the Mail Chimp List plugin widget.</p>
]]></content:encoded>
			<wfw:commentRss>http://c1.athollroad.eu/2012/12/19/mailchimp-wordpress-integration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Link</title>
		<link>http://c1.athollroad.eu/2012/10/31/link/</link>
		<comments>http://c1.athollroad.eu/2012/10/31/link/#comments</comments>
		<pubDate>Wed, 31 Oct 2012 21:23:33 +0000</pubDate>
		<dc:creator><![CDATA[anna]]></dc:creator>
				<category><![CDATA[Experimentation]]></category>

		<guid isPermaLink="false">http://c1.athollroad.eu/?p=22</guid>
		<description><![CDATA[This is a link style post.]]></description>
				<content:encoded><![CDATA[<p>This is a link style post.</p>
]]></content:encoded>
			<wfw:commentRss>http://c1.athollroad.eu/2012/10/31/link/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2 new WordPress websites</title>
		<link>http://c1.athollroad.eu/2012/10/31/20/</link>
		<comments>http://c1.athollroad.eu/2012/10/31/20/#comments</comments>
		<pubDate>Wed, 31 Oct 2012 21:22:51 +0000</pubDate>
		<dc:creator><![CDATA[anna]]></dc:creator>
				<category><![CDATA[Our Work]]></category>

		<guid isPermaLink="false">http://c1.athollroad.eu/?p=20</guid>
		<description><![CDATA[We have set up 2 new WordPress blog websites. This is part of a new initiative to provide quick, cost effective blog websites for a diverse group of businesses.]]></description>
				<content:encoded><![CDATA[<p>We have set up 2 new WordPress blog websites. This is part of a new initiative to provide quick, cost effective blog websites for a diverse group of businesses.</p>
]]></content:encoded>
			<wfw:commentRss>http://c1.athollroad.eu/2012/10/31/20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bluelighthost, iCloud or BBS Commerce Ltd</title>
		<link>http://c1.athollroad.eu/2012/10/31/bluelighthost-icloud-or-bbs-commerce-ltd/</link>
		<comments>http://c1.athollroad.eu/2012/10/31/bluelighthost-icloud-or-bbs-commerce-ltd/#comments</comments>
		<pubDate>Wed, 31 Oct 2012 12:37:42 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Virtual Hosting]]></category>

		<guid isPermaLink="false">http://c1.athollroad.eu/?p=16</guid>
		<description><![CDATA[Bluelighthost are doing a free 7 day trial (http://www.bluelighthost.com/our-services). It look great so I gave it a spin. 1/2 day later I had Ubuntu, Nginx, MySQL running a WordPress mu. Brilliant! You get a medium VM for £15 ex vat so, &#8230; <a href="http://c1.athollroad.eu/2012/10/31/bluelighthost-icloud-or-bbs-commerce-ltd/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Bluelighthost are doing a free 7 day trial (<a href="http://www.bluelighthost.com/our-services">http://www.bluelighthost.com/our-services</a>). It look great so I gave it a spin. 1/2 day later I had Ubuntu, Nginx, MySQL running a WordPress mu. Brilliant! You get a medium VM for £15 ex vat so, after checking my vm would stay alive I signed up. Next day my vm was gone <img src="http://c1.athollroad.eu/wp-includes/images/smilies/icon_sad.gif" alt=":-(" class="wp-smiley" /> Apparently I didn&#8217;t choose an upgrade. They couldn&#8217;t restore it and I got passed from pillar to post (the number on the support ticket was iCloud not Bluelighthost). When I eventually got through to Bluelighthost they told me to send an email! They did answer the email quickly but by that time I had restored an image of my server to a home machine and was slightly annoyed. They refunded my money without question.</p>
<p>Conclusion: Probably a good service but some organisational teething problems. Always keep backups and triple check when upgrading that your vps will survive.</p>
]]></content:encoded>
			<wfw:commentRss>http://c1.athollroad.eu/2012/10/31/bluelighthost-icloud-or-bbs-commerce-ltd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Amazon Elastic Compute Cloud (Amazon EC2)</title>
		<link>http://c1.athollroad.eu/2012/10/31/amazon-elastic-compute-cloud-amazon-ec2/</link>
		<comments>http://c1.athollroad.eu/2012/10/31/amazon-elastic-compute-cloud-amazon-ec2/#comments</comments>
		<pubDate>Wed, 31 Oct 2012 12:22:43 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Virtual Hosting]]></category>

		<guid isPermaLink="false">http://c1.athollroad.eu/?p=12</guid>
		<description><![CDATA[I&#8217;ve just come to the end of my free Amazon EC2 Micro Instance (see http://aws.amazon.com/free).  After 1 month of paying I&#8217;m over $15 for a tiny site with all the OS updating turned off! Imagine what would happen if you got hit by &#8230; <a href="http://c1.athollroad.eu/2012/10/31/amazon-elastic-compute-cloud-amazon-ec2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve just come to the end of my free Amazon EC2 Micro Instance (see <a href="http://aws.amazon.com/free/">http://aws.amazon.com/free</a>).  After 1 month of paying I&#8217;m over $15 for a tiny site with all the OS updating turned off! Imagine what would happen if you got hit by dos.</p>
<p>Conclusion: great service, to difficult to cost and to liable to unexpected bills.</p>
]]></content:encoded>
			<wfw:commentRss>http://c1.athollroad.eu/2012/10/31/amazon-elastic-compute-cloud-amazon-ec2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
