<?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>Bytesite</title>
	<atom:link href="http://www.bytesite.co.uk/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bytesite.co.uk</link>
	<description></description>
	<lastBuildDate>Mon, 15 Feb 2010 15:37:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Checking if an object is empty &#8211; PHP</title>
		<link>http://www.bytesite.co.uk/checking-if-an-object-is-empty-php</link>
		<comments>http://www.bytesite.co.uk/checking-if-an-object-is-empty-php#comments</comments>
		<pubDate>Mon, 15 Feb 2010 15:26:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.bytesite.co.uk/?p=289</guid>
		<description><![CDATA[As of PHP 5, objects with no properties are no longer considered empty.  Therefore is you use empty() to test if an object is empty will always return true.
The easiest way to check for an empty object is to cast it to an array:

$objAsArray = &#40;array&#41;$object;
if &#40; empty&#40; $objAsArray &#41; &#123;...&#125;

Incidently there are a [...]]]></description>
		<wfw:commentRss>http://www.bytesite.co.uk/checking-if-an-object-is-empty-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Batch Adding Attributes to Attribute Sets</title>
		<link>http://www.bytesite.co.uk/magento-batch-adding-attributes-to-attribute-sets</link>
		<comments>http://www.bytesite.co.uk/magento-batch-adding-attributes-to-attribute-sets#comments</comments>
		<pubDate>Thu, 27 Aug 2009 13:36:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.bytesite.co.uk/?p=277</guid>
		<description><![CDATA[I have a Magento installation, with around 60 attribute sets.  I needed to add a new attribute, and then add it to all the attribute sets.  Doing this manually would take ages, and there didn&#8217;t seem to be a way of doing it through the API. I therefore created a PHP script to [...]]]></description>
		<wfw:commentRss>http://www.bytesite.co.uk/magento-batch-adding-attributes-to-attribute-sets/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox and Retarded Browsers (let&#8217;s ignore Firefox&#8217;s memory leaks for the moment)</title>
		<link>http://www.bytesite.co.uk/firefox-and-retarded-browsers-lets-ignore-firefoxs-memory-leaks-for-the-moment</link>
		<comments>http://www.bytesite.co.uk/firefox-and-retarded-browsers-lets-ignore-firefoxs-memory-leaks-for-the-moment#comments</comments>
		<pubDate>Wed, 26 Aug 2009 14:44:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Not so serious]]></category>

		<guid isPermaLink="false">http://www.bytesite.co.uk/?p=273</guid>
		<description><![CDATA[
]]></description>
		<wfw:commentRss>http://www.bytesite.co.uk/firefox-and-retarded-browsers-lets-ignore-firefoxs-memory-leaks-for-the-moment/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Styling Abbr Tag in IE &#8211; JavaScript Fix</title>
		<link>http://www.bytesite.co.uk/styling-abbr-tag-in-ie-javascript-fix</link>
		<comments>http://www.bytesite.co.uk/styling-abbr-tag-in-ie-javascript-fix#comments</comments>
		<pubDate>Wed, 26 Aug 2009 13:06:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JQuery]]></category>

		<guid isPermaLink="false">http://www.bytesite.co.uk/?p=261</guid>
		<description><![CDATA[Internet Explorer for Windows does not support the &#60;abbr&#62; tag.  This makes it hard to style in CSS.
Marek Prokop posted a fix for this in the post Styling &#60;abbr&#62; in IE which has been very helpful.  However, it seems to prevent JavaScript functioning properly.
It works by grabbing the body HTML, replaces all &#60;abbr&#62; [...]]]></description>
		<wfw:commentRss>http://www.bytesite.co.uk/styling-abbr-tag-in-ie-javascript-fix/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing Drupal Theme on the Fly</title>
		<link>http://www.bytesite.co.uk/drupal-changing-theme-on-theflydrupal-programmatically-changing-theme</link>
		<comments>http://www.bytesite.co.uk/drupal-changing-theme-on-theflydrupal-programmatically-changing-theme#comments</comments>
		<pubDate>Tue, 28 Jul 2009 13:32:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://www.bytesite.co.uk/?p=245</guid>
		<description><![CDATA[I encountered an issue within Drupal with regards to admin and frontend themes.  Specifically I needed to ensure that when a user creates or edits a particular type of content, it would remain in the frontend theme, and if they created or edited a different type, it would show in the admin theme.

A bit of background [...]]]></description>
		<wfw:commentRss>http://www.bytesite.co.uk/drupal-changing-theme-on-theflydrupal-programmatically-changing-theme/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal 6 &#8211; Views, programmatically set arguments</title>
		<link>http://www.bytesite.co.uk/drupal-6-views2-programmatically-set-arguments</link>
		<comments>http://www.bytesite.co.uk/drupal-6-views2-programmatically-set-arguments#comments</comments>
		<pubDate>Fri, 03 Jul 2009 15:33:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.bytesite.co.uk/?p=238</guid>
		<description><![CDATA[It is sometimes useful to programmatically load a view in Drupal, to execute it and then utilise the results.  This is all straightforward and well documented.  A little less documented is how to set the view arguements.

As with a lot of things, once you know it is easy:

$view = views_get_view&#40;$view_name&#41;;
$view-&#62;set_arguments&#40;$args&#41;;
$view-&#62;execute&#40;&#41;;
return $view-&#62;result;

Where $args is an array, [...]]]></description>
		<wfw:commentRss>http://www.bytesite.co.uk/drupal-6-views2-programmatically-set-arguments/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Agile Development</title>
		<link>http://www.bytesite.co.uk/agile-development</link>
		<comments>http://www.bytesite.co.uk/agile-development#comments</comments>
		<pubDate>Wed, 17 Jun 2009 11:23:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Not so serious]]></category>

		<guid isPermaLink="false">http://www.bytesite.co.uk/?p=220</guid>
		<description><![CDATA[Think this is only really funny to people that follow an agile agenda&#8230;

]]></description>
		<wfw:commentRss>http://www.bytesite.co.uk/agile-development/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web customers in everyday life</title>
		<link>http://www.bytesite.co.uk/web-customers-in-everyday-life</link>
		<comments>http://www.bytesite.co.uk/web-customers-in-everyday-life#comments</comments>
		<pubDate>Wed, 17 Jun 2009 10:03:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Not so serious]]></category>

		<guid isPermaLink="false">http://www.bytesite.co.uk/?p=216</guid>
		<description><![CDATA[This is so true&#8230;

]]></description>
		<wfw:commentRss>http://www.bytesite.co.uk/web-customers-in-everyday-life/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento FCKEditor Product Validation</title>
		<link>http://www.bytesite.co.uk/magento-fckeditor-product-validation</link>
		<comments>http://www.bytesite.co.uk/magento-fckeditor-product-validation#comments</comments>
		<pubDate>Tue, 24 Mar 2009 21:24:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[FCKEditor]]></category>

		<guid isPermaLink="false">http://www.bytesite.co.uk/?p=194</guid>
		<description><![CDATA[Implementing WYSIWYG editing is fairly straightforward in Magento using either TinyMCE or FCKEditor.  However, a known issue means that TinyMCE doesn&#8217;t work within the CMS section.  So FCKEditor is the only real option at the moment.
There is however one issue to sort out.  The product description field is mandatory; when you enter text into this [...]]]></description>
		<wfw:commentRss>http://www.bytesite.co.uk/magento-fckeditor-product-validation/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Migration</title>
		<link>http://www.bytesite.co.uk/migrating-magento</link>
		<comments>http://www.bytesite.co.uk/migrating-magento#comments</comments>
		<pubDate>Mon, 23 Mar 2009 08:57:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.bytesite.co.uk/?p=185</guid>
		<description><![CDATA[As with most things Magento, it isn&#8217;t too straightforward moving an installation from one domain to another.
I have provided this post as an outline on how to approach migrating your Magento installation.
The Magento site does have a migration guide, but essentially it means re-installing Magento with a new version, which is impractical for a number [...]]]></description>
		<wfw:commentRss>http://www.bytesite.co.uk/migrating-magento/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
