<?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/"
	>

<channel>
	<title>Web Developer / Designer Glasgow, Scotland - Marc Love</title>
	<atom:link href="http://www.marclove.co.uk/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.marclove.co.uk</link>
	<description></description>
	<pubDate>Mon, 08 Mar 2010 21:59:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Vida Cabrera</title>
		<link>http://www.marclove.co.uk/index.php/2009/12/15/vida-cabrera/</link>
		<comments>http://www.marclove.co.uk/index.php/2009/12/15/vida-cabrera/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 09:46:37 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
		
		<category><![CDATA[Portfolio]]></category>

		<category><![CDATA[grp]]></category>

		<guid isPermaLink="false">http://www.marclove.co.uk/?p=301</guid>
		<description><![CDATA[Vida Cabrera multi-lingual website]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.vidacabrera.com/" target="_blank"><img src="http://www.marclove.co.uk/wp-content/uploads/2009/12/cabrera_small.jpg" alt="Vida Cabrera" title="Vida Cabrera" width="200" height="115" class="portfolioImage" border="0"/></a>This is the first Multi-lingual site I developed for GRP. The site uses a custom designed CMS system with the ability to easily accommodate different languages on the site. The site has gone live in English due to the translations not being available for the other languages but hopefully these will be added soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marclove.co.uk/index.php/2009/12/15/vida-cabrera/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Busy busy busy</title>
		<link>http://www.marclove.co.uk/index.php/2009/11/24/busy-busy-busy/</link>
		<comments>http://www.marclove.co.uk/index.php/2009/11/24/busy-busy-busy/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 12:10:16 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://www.marclove.co.uk/?p=298</guid>
		<description><![CDATA[I&#8217;ve not posted for a while due to it being a busy couple of months at Peach Digital. I have been working with a number of great clients, Vue Cinemas, Goals, Stewart Milne Homes and Daysoft. Lots of new projects on the go and lots to keep me busy. All good&#8230;
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve not posted for a while due to it being a busy couple of months at Peach Digital. I have been working with a number of great clients, Vue Cinemas, Goals, Stewart Milne Homes and Daysoft. Lots of new projects on the go and lots to keep me busy. All good&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marclove.co.uk/index.php/2009/11/24/busy-busy-busy/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Creating a WordPress post with the HTML you want to use</title>
		<link>http://www.marclove.co.uk/index.php/2009/09/09/creating-a-wordpress-post-with-the-html-you-want-to-use/</link>
		<comments>http://www.marclove.co.uk/index.php/2009/09/09/creating-a-wordpress-post-with-the-html-you-want-to-use/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 10:39:09 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.marclove.co.uk/?p=261</guid>
		<description><![CDATA[
I found a nice little plugin today that allows you to use the HTML you want when creating a post. Many people will have found the built in WYSIWYG editor for WordPress frustrating as it adds &#60;br/&#62; tags automatically in place of carriage returns even when you are using the editor in HTML mode.
The following [...]]]></description>
			<content:encoded><![CDATA[<p>
<p>I found a nice little plugin today that allows you to use the HTML you want when creating a post. Many people will have found the built in WYSIWYG editor for WordPress frustrating as it adds &lt;br/&gt; tags automatically in place of carriage returns even when you are using the editor in HTML mode.</p>
<p>The following plugin lets you turn this functionality off on a per post basis:<p> 
<p><strong><a href="http://wordpress.org/extend/plugins/raw-html/" target="_blank">Get plugin &raquo;&raquo;<a/></strong></p>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marclove.co.uk/index.php/2009/09/09/creating-a-wordpress-post-with-the-html-you-want-to-use/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Get Line Number in Custom ASP.NET Error Handler</title>
		<link>http://www.marclove.co.uk/index.php/2009/09/09/get-line-number-in-custom-aspnet-error-handler/</link>
		<comments>http://www.marclove.co.uk/index.php/2009/09/09/get-line-number-in-custom-aspnet-error-handler/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 09:48:26 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[asp.net]]></category>

		<guid isPermaLink="false">http://www.marclove.co.uk/?p=247</guid>
		<description><![CDATA[I have seen several posts around the web where people have created custom error handling code in the global.asax file. The problem a lot of developers seem to come across is obtaining the actual line number where the error occured.
The main issue I have seen is developers using the following code to obtain information on [...]]]></description>
			<content:encoded><![CDATA[<p>I have seen several posts around the web where people have created custom error handling code in the global.asax file. The problem a lot of developers seem to come across is obtaining the actual line number where the error occured.</p>
<p>The main issue I have seen is developers using the following code to obtain information on the error that has occured:</p>
<p><code>System.Exception myError = Server.GetLastError();</code><br />

<p>This is where they are going wrong. The above code gives information on the last error that has been recorded as the event bubbles up through the layers, and not the information that was recorded when the actual error occured. The following line of code will obtain the Exception object describing the original error:</p>
<br />
<code>System.Exception myError = Server.GetLasteError().GetBaseException();</code><br />

<p>When an error occurs in my applications I like to send an email to myself with the error information and also write to a log file located on the server. Below is an example of the code I use in the global.asax file to achieve this:</p>
<br />
<pre><code>void Application_Error(object sender, EventArgs e) 
{ 
&nbsp;&nbsp;&nbsp;&nbsp;// Code that runs when an unhandled error occurs
&nbsp;&nbsp;&nbsp;&nbsp;if (System.Configuration.ConfigurationManager.AppSettings.Get(&quot;SYS_ERROR_LOG_ACTIVE&quot;) == &quot;YES&quot;) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.Exception myError = Server.GetLastError().GetBaseException();
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Do not send email if error is page not found
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (myError.Message.IndexOf(&quot;does not exist.&quot;) == -1)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HttpContext con = HttpContext.Current;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Diagnostics.StackTrace myStack = new System.Diagnostics.StackTrace(true);

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CreateLogFiles Err = new CreateLogFiles();
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Err.ErrorLog(&quot;Offending URL: &quot; + con.Request.Url.ToString() + Environment.NewLine +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;Source: &quot; + myError.Source + Environment.NewLine +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;Message: &quot; + myError.Message + Environment.NewLine +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;--- Full Error --- &quot; + Environment.NewLine + myError.StackTrace.ToString());

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //Create MailDefinition

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Web.UI.WebControls.MailDefinition md = new MailDefinition();
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; md.IsBodyHtml = false;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Net.Mail.MailMessage msg = new System.Net.Mail.MailMessage(&quot;SENDER EMAIL ADDRESS&quot;, &quot;RECIPIENT EMAIL ADDRESS&quot;);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; msg.Subject = ConfigurationManager.AppSettings.Get(&quot;SYS_ADMIN_SITE_NAME&quot;) + &quot;Error Details&quot;;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; msg.Body = &quot;Offending URL: &quot; + con.Request.Url.ToString() + Environment.NewLine +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;Source: &quot; + myError.Source + Environment.NewLine +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;Message: &quot; + myError.Message + Environment.NewLine +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;--- Full Error --- &quot; + Environment.NewLine + myError.StackTrace.ToString();

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Net.Mail.SmtpClient smtp = new System.Net.Mail.SmtpClient();
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; smtp.Send(msg);&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
&nbsp;&nbsp;&nbsp;&nbsp; }
}</code></pre></p>
<p>If anyone has any questions on the use of this code, fire away.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marclove.co.uk/index.php/2009/09/09/get-line-number-in-custom-aspnet-error-handler/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Big Fish Tank (Okinawa Churaumi Aquarium)</title>
		<link>http://www.marclove.co.uk/index.php/2009/08/28/big-fish-tank-okinawa-churaumi-aquarium/</link>
		<comments>http://www.marclove.co.uk/index.php/2009/08/28/big-fish-tank-okinawa-churaumi-aquarium/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 11:11:29 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[random stuff]]></category>

		<guid isPermaLink="false">http://www.marclove.co.uk/?p=238</guid>
		<description><![CDATA[I came across this video on Steelso&#8217;s blog. Totally amazing although possibly a bit cruel having species that are used to migrating thousands of miles stuck in a giant fish tank.

]]></description>
			<content:encoded><![CDATA[<p>I came across this video on <a href="http://www.steelso.net" target="_blank">Steelso&#8217;s</a> blog. Totally amazing although possibly a bit cruel having species that are used to migrating thousands of miles stuck in a giant fish tank.</p>
<p><object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/u7deClndzQw&#038;hl=en_GB&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/u7deClndzQw&#038;hl=en_GB&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.marclove.co.uk/index.php/2009/08/28/big-fish-tank-okinawa-churaumi-aquarium/feed/</wfw:commentRss>
		</item>
		<item>
		<title>XEDO Software</title>
		<link>http://www.marclove.co.uk/index.php/2009/08/27/xedo-software/</link>
		<comments>http://www.marclove.co.uk/index.php/2009/08/27/xedo-software/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 14:21:02 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
		
		<category><![CDATA[Portfolio]]></category>

		<category><![CDATA[grp]]></category>

		<guid isPermaLink="false">http://www.marclove.co.uk/?p=217</guid>
		<description><![CDATA[New XEDO Software website]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.xedosoftware.com" target="_blank"><img class="portfolioImage" title="XEDO Software" src="http://www.marclove.co.uk/wp-content/uploads/2009/08/xedo-small.gif" border="0" alt="XEDO Software" width="200" height="117" /></a>Developed the client login area and dynamic elements of the new XEDO Software website. I used the new <a href="http://fancybox.net/" target="_blank">fancybox</a> version of <a href="http://www.stickmanlabs.com/lightwindow/" target="_blank">lightwindow</a> to show the product screengrabs. The beautiful design was by my fellow blogger <a href="http://pauldalydesign.co.uk" target="_blank">Paul Daly</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marclove.co.uk/index.php/2009/08/27/xedo-software/feed/</wfw:commentRss>
		</item>
		<item>
		<title>IE8 Centering a DIV</title>
		<link>http://www.marclove.co.uk/index.php/2009/08/26/ie8-centering-a-div/</link>
		<comments>http://www.marclove.co.uk/index.php/2009/08/26/ie8-centering-a-div/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 09:41:16 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.marclove.co.uk/?p=213</guid>
		<description><![CDATA[
After thinking my website worked perfect on all browsers, IE8 came along and ruined it!! I can't wait for the day that Microsoft are banned from developing web browsers. The common CSS for centering a DIV on IE8 as shown below doesn't work:

#container{
margin:0 auto;}

To solve this you need the following CSS:

body{
text-align: center;}

#container{
margin:0 auto;
text-align:left;
}

Using text-align: center; [...]]]></description>
			<content:encoded><![CDATA[<p>
<p>After thinking my website worked perfect on all browsers, IE8 came along and ruined it!! I can't wait for the day that Microsoft are banned from developing web browsers. The common CSS for centering a DIV on IE8 as shown below doesn't work:</p>
<br />
<pre><code>#container{
margin:0 auto;}</code></pre><br />

<p>To solve this you need the following CSS:</p>
<br />
<pre><code>body{
text-align: center;}

#container{
margin:0 auto;
text-align:left;
}</code></pre><br />

<p>Using text-align: center; centers the DIV for IE, and the text-align: left; margin: 0 auto; will align the text to the left, and center the DIV for other browsers.</p></p>
<p>Hopefully this little tip will prevent some page builders from having a nervous breakdown <img src='http://www.marclove.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.marclove.co.uk/index.php/2009/08/26/ie8-centering-a-div/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Code Snippets Manager Visual Studio 2008</title>
		<link>http://www.marclove.co.uk/index.php/2009/08/24/code-snippets-manager-visual-studio-2008/</link>
		<comments>http://www.marclove.co.uk/index.php/2009/08/24/code-snippets-manager-visual-studio-2008/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 15:21:05 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://www.marclove.co.uk/?p=207</guid>
		<description><![CDATA[I wanted to use code snippets today to avoid writting code over and over again. I have found that the documentation on where to find the Code Snippets Manager directs you at Tools > Code Snippets Manager. If you can&#8217;t find it here like I found, heres how you add it to the menu:

Go to [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to use code snippets today to avoid writting code over and over again. I have found that the documentation on where to find the Code Snippets Manager directs you at Tools > Code Snippets Manager. If you can&#8217;t find it here like I found, heres how you add it to the menu:</p>
<ul>
<li>Go to the <strong>Tools</strong> menu and click <strong>Customize</strong>.</li>
<li>Select the <strong>Commands</strong> tab.</li>
<li>In the <strong>Categories</strong> section scroll down until you find <strong>Tools</strong> and select <strong>Tools</strong>.</li>
<li>Search for <strong>Code Snippets Manager</strong> in the <strong>Commands</strong> section.</li>
<li>Drag the <strong>Code Snippets Manager</strong> icon and drop it onto the <strong>Tools</strong> menu and close the <strong>Customize</strong> window.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.marclove.co.uk/index.php/2009/08/24/code-snippets-manager-visual-studio-2008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Useful SQL for deleting duplicate records</title>
		<link>http://www.marclove.co.uk/index.php/2009/08/03/usefull-sql-for-deleting-duplicate-records/</link>
		<comments>http://www.marclove.co.uk/index.php/2009/08/03/usefull-sql-for-deleting-duplicate-records/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 09:38:08 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[sql server]]></category>

		<guid isPermaLink="false">http://www.marclove.co.uk/?p=198</guid>
		<description><![CDATA[When working with databases there are certain tasks that you will find you need to perform regularly. One such task that I find I often need to perform is to delete duplicate records from a database. The following code requires that your table has an identity column, that will be used to identify the duplicate [...]]]></description>
			<content:encoded><![CDATA[<p>When working with databases there are certain tasks that you will find you need to perform regularly. One such task that I find I often need to perform is to delete duplicate records from a database. The following code requires that your table has an identity column, that will be used to identify the duplicate records.</p>
<p><pre><code>
DELETE FROM YourTable
WHERE ID NOT IN (SELECT MAX(ID ) FROM YourTable GROUP BY Column1, Column2, Column3)</code></pre></p>
<p>The ID column in this example is the identity column and Column1, Column2 and Column3 contain the duplicate data that you want to identify. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.marclove.co.uk/index.php/2009/08/03/usefull-sql-for-deleting-duplicate-records/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Scottish Enterprise Graduates for Business</title>
		<link>http://www.marclove.co.uk/index.php/2009/07/30/scottish-enterprise-graduates-for-business/</link>
		<comments>http://www.marclove.co.uk/index.php/2009/07/30/scottish-enterprise-graduates-for-business/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 21:22:56 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
		
		<category><![CDATA[Portfolio]]></category>

		<category><![CDATA[grp]]></category>

		<guid isPermaLink="false">http://www.marclove.co.uk/?p=166</guid>
		<description><![CDATA[Revamped the existing Graduates for Business website which helps place graduates into employment with the opportunity to gain paid work experience placements. The admin system powering the website provides GFB staff with the tools required to process the graduates applications.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.graduatesforbusiness.net" target="_blank"><img src="http://www.marclove.co.uk/wp-content/uploads/2009/07/se.jpg" title="Graduates for Business" width="200" height="117"  alt="Graduates for Business"  class="portfolioImage" border="0" /></a>Revamped the existing Graduates for Business website which helps place graduates into employment with the opportunity to gain paid work experience placements. The admin system powering the website provides GFB staff with the tools required to process the graduates applications.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marclove.co.uk/index.php/2009/07/30/scottish-enterprise-graduates-for-business/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
