<?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>Lee Kelleher &#187; web-application</title>
	<atom:link href="http://leekelleher.com/tag/web-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://leekelleher.com</link>
	<description>Umbraco Specialist</description>
	<lastBuildDate>Fri, 03 Feb 2012 03:17:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Putting your ASP.NET Web Application in Maintenance Mode (using ISAPI_Rewrite)</title>
		<link>http://leekelleher.com/2009/09/29/putting-your-asp-net-web-application-in-maintenance-mode-using-isapi_rewrite/</link>
		<comments>http://leekelleher.com/2009/09/29/putting-your-asp-net-web-application-in-maintenance-mode-using-isapi_rewrite/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 13:22:14 +0000</pubDate>
		<dc:creator>leekelleher</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[App_Offline]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[ISAPI_Rewrite]]></category>
		<category><![CDATA[Maintenance]]></category>
		<category><![CDATA[Offline]]></category>
		<category><![CDATA[Redirect]]></category>
		<category><![CDATA[Umbraco]]></category>
		<category><![CDATA[web-application]]></category>

		<guid isPermaLink="false">http://blog.leekelleher.com/?p=177</guid>
		<description><![CDATA[Prompted by @slace&#8217;s tweet: i wish there was a way to use app_offline but still view from certain ip&#8217;s &#8212; Aaron Powell (@slace) September 29, 2009 I replied with a suggestion that we&#8217;ve used in the past. Aaron said I &#8230; <a href="http://leekelleher.com/2009/09/29/putting-your-asp-net-web-application-in-maintenance-mode-using-isapi_rewrite/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Prompted by <a href="http://twitter.com/slace/status/4466099083">@slace&#8217;s tweet</a>:</p>
<blockquote class="twitter-tweet" width="550"><p>i wish there was a way to use app_offline but still view from certain ip&#8217;s</p>
<p>&mdash; Aaron Powell (@slace) <a href="https://twitter.com/slace/status/4466099083" data-datetime="2009-09-29T08:53:10+00:00">September 29, 2009</a></p></blockquote>
<p><script src="//platform.twitter.com/widgets.js" charset="utf-8"></script></p>
<p>I <a href="http://twitter.com/leekelleher/status/4466197573">replied</a> with a suggestion that we&#8217;ve used in the past. <a href="http://twitter.com/slace/status/4466254905">Aaron said I should blog about it&#8230;</a> so here I am (again)!</p>
<p>A while ago we needed to do an Umbraco upgrade (from v3 to v4) on a production server &#8211; in my opinion it was a pretty major upgrade on a live site, we had done a couple of test upgrades on dev and staging, all was successful.  But since there was various parts of the site that we need to regression test, I felt it best to take the entire site offline whilst we upgraded.</p>
<p>Usually creating an &#8220;<a href="http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx">App_Offline.htm</a>&#8221; page in the root of your web app is enough to take it offline.  However that was no good for testing&#8230; so what to do?</p>
<p>This is where <a href="http://www.helicontech.com/isapi_rewrite/">ISAPI_Rewrite</a> is your best friend, (or <a href="http://en.wikipedia.org/wiki/Htaccess">.htaccess</a> to be precise).  We needed to configure the site to allow access for us and redirect everyone else to a &#8220;Site under maintenance&#8221; page.  I found a few examples across the web, but to save you all that hassle, here are the .htaccess rules that we use:</p>
<pre class="brush: xml; auto-links: true; collapse: false; gutter: true; first-line: 1; highlight: []; html-script: false; light: false; pad-line-numbers: false; toolbar: true'"># BEGIN Maintanence Mode
&lt;IfModule mod_rewrite.c&gt;
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !/offline.html$
RewriteCond %{REMOTE_ADDR} !^82.13.23.230$
RewriteRule ^(.*)$ /offline.html [R=302,L]
&lt;/IfModule&gt;
# END Maintanence Mode</pre>
<p>What does it do? The first &#8220;RewriteCond&#8221; rule checks that you are not requesting the &#8220;offline.html&#8221; page (otherwise you would end up in a constant loop!) The second &#8220;RewriteCond&#8221; checks the IP address of the visitor &#8211; in my case it was &#8220;82.13.23.230&#8243; (remember to escape the dots). If those two rules aren&#8217;t satisfied, then the &#8220;RewriteRule&#8221; is used, redirecting the visitor to the &#8220;offline.html&#8221; page.</p>
<p>As always, I am open to any suggestions or improvements!</p>
]]></content:encoded>
			<wfw:commentRss>http://leekelleher.com/2009/09/29/putting-your-asp-net-web-application-in-maintenance-mode-using-isapi_rewrite/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Converting CSV to XML</title>
		<link>http://leekelleher.com/2008/04/14/converting-csv-to-xml/</link>
		<comments>http://leekelleher.com/2008/04/14/converting-csv-to-xml/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 16:07:34 +0000</pubDate>
		<dc:creator>leekelleher</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[csv]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[office]]></category>
		<category><![CDATA[online]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web-application]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://leekelleher.wordpress.com/?p=21</guid>
		<description><![CDATA[There&#8217;s a bit a functionality on one of the projects that I&#8217;m working on where I need to do a lookup. The data I&#8217;ve been given is in an Excel spreadsheet &#8211; which I needed to convert to XML (as &#8230; <a href="http://leekelleher.com/2008/04/14/converting-csv-to-xml/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a bit a functionality on one of the projects that I&#8217;m working on where I need to do a lookup.  The data I&#8217;ve been given is in an Excel spreadsheet &#8211; which I needed to convert to XML (as ultimately the data will be stored in a CMS that handles XML better).</p>
<p>I&#8217;ve done a lot of projects where I need to convert XML to Excel (via CSV), but not many where I need to convert the other way.</p>
<p>I first saved the Excel as an &#8220;XML Spreadsheet&#8221; &#8211; which spat out all sorts of extra MS Office namespaces, styles, etc.  Which is fine if I want to re-open the data in Excel.  But I wanted the data to be cleaner (and more semantic).</p>
<p>I exported the Excel out as a CSV; then looked for a way to convert it to XML.</p>
<p>Then I found this very useful web-app tool: <a href="http://www.creativyst.com/Prod/15/"><strong>CSV to XML Converter</strong> by Creativyst</a></p>
<p>It did exactly what I needed!  The tool has a 100Kb limit &#8211; which was great, because my CSV was 96Kb!</p>
<p>The outputted XML was around 450Kb &#8211; which got me thinking&#8230; if a lot of developers use that tool the way I did &#8211; then that&#8217;s a lot of load on their web-server!   Maybe that&#8217;s where the new <a href="http://code.google.com/appengine/">Google App Engine</a> could come in handy?!  They have the processing power and bandwidth to handle high usage!</p>
<p>I&#8217;d love to see other online text conversion utilities &#8230; you never know, maybe they could be all centralised on Google Apps?</p>
]]></content:encoded>
			<wfw:commentRss>http://leekelleher.com/2008/04/14/converting-csv-to-xml/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Mozilla Prism &#8211; Bringing Web Apps to the Desktop</title>
		<link>http://leekelleher.com/2008/02/01/mozilla-prism-bringing-web-apps-to-the-desktop/</link>
		<comments>http://leekelleher.com/2008/02/01/mozilla-prism-bringing-web-apps-to-the-desktop/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 13:39:46 +0000</pubDate>
		<dc:creator>leekelleher</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[hta]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[prism]]></category>
		<category><![CDATA[reader]]></category>
		<category><![CDATA[web-application]]></category>

		<guid isPermaLink="false">http://leekelleher.wordpress.com/?p=5</guid>
		<description><![CDATA[I feel like I&#8217;ve been living under a rock for the last couple of months.  I&#8217;ve only just heard about Mozilla&#8217;s Prism &#8211; and it&#8217;s already changing the way I use web-apps. Prism, (previously called WebRunner), is essentially a Site &#8230; <a href="http://leekelleher.com/2008/02/01/mozilla-prism-bringing-web-apps-to-the-desktop/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I feel like I&#8217;ve been living under a rock for the last couple of months.  I&#8217;ve only just heard about <a href="http://wiki.mozilla.org/Prism">Mozilla&#8217;s Prism</a> &#8211; and it&#8217;s already changing the way I use web-apps.</p>
<p>Prism, (previously called WebRunner), is essentially a Site Specific Browser (SSB) &#8211; meaning that it&#8217;s a desktop application designed to host a single web-application.  This is good for many reasons, foremost it causes less distractions.</p>
<p>So far, I have prisms set-up for most of the Google apps that I regularly use: Google Mail, Google Calendar and Google Reader.   Now each of these web-applications are not open as separate tabs in my Firefox, but as individual desktop applications.  (Now I don&#8217;t have to worry about finding my Gmail tab in Firefox, nor about browser-crashes.)</p>
<p>It reminds of Microsoft attempted to do with <a href="http://en.wikipedia.org/wiki/HTML_Application">HTA</a> &#8211; but it seemed more difficult to interface them with external web-applications.</p>
<p>You can read more about Mozilla Prism on their Lab&#8217;s blog. [<a href="http://labs.mozilla.com/2007/10/prism/">http://labs.mozilla.com/2007/10/prism/</a>] </p>
]]></content:encoded>
			<wfw:commentRss>http://leekelleher.com/2008/02/01/mozilla-prism-bringing-web-apps-to-the-desktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

