<?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>Brilliant Thinking &#187; How To</title>
	<atom:link href="http://www.brilliantthinking.net/category/tech-posts/tech-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brilliantthinking.net</link>
	<description>Helping you make the most of the Internet</description>
	<lastBuildDate>Thu, 02 Feb 2012 20:47:39 +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>How to Embed Video on your Website &#8211; The Easy Way</title>
		<link>http://www.brilliantthinking.net/2012/01/31/how-to-embed-video-on-your-website-the-easy-way/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-embed-video-on-your-website-the-easy-way</link>
		<comments>http://www.brilliantthinking.net/2012/01/31/how-to-embed-video-on-your-website-the-easy-way/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 16:50:15 +0000</pubDate>
		<dc:creator>Edward</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://www.brilliantthinking.net/?p=1494</guid>
		<description><![CDATA[Possibly the most widely known video site on the planet, YouTube offers the perfect platform to host and stream your video. They have taken care of all of the technical issues surrounding playback and now offer a host of editing solutions to help you enhance your uploaded video if you so choose (for example subtitles, closed captions, new soundtracks, etc). Here's how to use it with your website.]]></description>
			<content:encoded><![CDATA[<p>Last year I built the Al Alamia TV launch website. The TV station was launching in the UK and needed an overnight website to coincide with their first broadcast (literally). As the &#8216;hit man&#8217; for this assignment, I needed to wrap a live stream of the show&#8217;s video feed into the website along with some general information about the channel.</p>
<p>A streaming feed is slightly different to a pre-recorded broadcast as Al Alamia was streaming the content from their own third-party provider. However, the direct feed link does not work out of the box using traditional EMBED codes in HTML.</p>
<p>I hit the same problem last week when trying to add a video to the Meejana website. I tried to get the <a href="http://www.longtailvideo.com/" target="_blank">LongTail Video plugin</a> to work (which I used on the Al Alamia site &#8211; a great option for embedding streaming links from other providers) but, after trying several video conversions to different formats (.mov, .mp4, .avi, etc), the video just wouldn&#8217;t play.</p>
<p>A different approach was needed.</p>
<h3>Enter YouTube</h3>
<p>Possibly the most widely known video site on the planet, YouTube offers the perfect platform to host and stream your video. They have taken care of all of the technical issues surrounding playback and now offer a host of editing solutions to help you enhance your uploaded video if you so choose (for example subtitles, closed captions, new soundtracks, etc).</p>
<p>There are other sites that can deliver the same solution for you &#8211; such as <a href="http://vimeo.com/" target="_blank">Vimeo</a> &#8211; and the choice is up to you.</p>
<ol>
<li>Create an account on <a href="http://www.youtube.com/user/ZachOneNiner/featured" target="_blank">YouTube</a> for yourself or your brand. This is your &#8216;channel&#8217;.</li>
<li>Access the &#8216;Video Manager&#8217; and select &#8216;Upload a Video&#8217;.</li>
<li>Click &#8216;Select Files from your Computer&#8217; and select the video file on your hard disk.</li>
<li>While the video is uploading (it will take a while), enter the Title, Description, Tags and select the Category that relates to this video. These will help you get views on YouTube and via general web searches.</li>
<li>After your video upload has completed, click the &#8216;View on Video Page&#8217; button. This will take you to the live YouTube page that displays your video. Congratulations! You are now a video publisher!</li>
<li>To get the video on your website, click the &#8216;Share&#8217; button under the video, then click the &#8216;Embed&#8217; button that appears.</li>
<li>Copy the HTML code that is shown and paste this into your website where you want the video to appear. You can edit the options associated with this code, such as displaying related videos and the size of the player window &#8211; just remember to change these options before copying the code.</li>
<li>Upload your changed website page to your website.</li>
<li>That&#8217;s it! Your new video will stream from YouTube on your website.</li>
</ol>
<p>Another advantage of using this method is that you can embed your video easily into other systems, such as Facebook, simply by copying the YouTube URL. This gives you an easy mechanism to share and propagate your content over-and-above simply embedding it in your website.</p>
<hr/>Copyright &copy; 2012 <strong><a href="http://www.brilliantthinking.net">Brilliant Thinking</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></content:encoded>
			<wfw:commentRss>http://www.brilliantthinking.net/2012/01/31/how-to-embed-video-on-your-website-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to protect your website with Google&#8217;s Webmaster Tools</title>
		<link>http://www.brilliantthinking.net/2011/09/25/how-to-protect-your-website-with-googles-webmaster-tools/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-protect-your-website-with-googles-webmaster-tools</link>
		<comments>http://www.brilliantthinking.net/2011/09/25/how-to-protect-your-website-with-googles-webmaster-tools/#comments</comments>
		<pubDate>Sun, 25 Sep 2011 13:39:31 +0000</pubDate>
		<dc:creator>Edward</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.brilliantthinking.net/?p=1317</guid>
		<description><![CDATA["Performance" is interpreted by many to infer search engine optimisation in connection with the Webmaster Tools - which is a very good application of the toolset as they provide up-to-date feedback on how your site is being found, what keywords are prominent, what people are searching for and how many of these convert to click-throughs. So they are good for SEO and SEM. However, they are also great for managing the actual performance in the original sense for fine tuning and tweaking your website to give the best experience to your visitors - this is from within the "Diagnostics" section. Here are two examples.]]></description>
			<content:encoded><![CDATA[<p>Google Webmaster Tools should be an essential tool in your quest for web dominance. OK, that&#8217;s probably a little exaggerated, but the toolkit that Google&#8217;s Webmaster Tools provides is essentially what it says in the title &#8211; a set of tools to help you master the performance of your website.</p>
<p>&#8220;Performance&#8221; is interpreted by many to infer search engine optimisation in connection with the Webmaster Tools - which is a very good application of the toolset as they provide up-to-date feedback on how your site is being found, what keywords are prominent, what people are searching for and how many of these convert to click-throughs. So they are good for SEO and SEM.</p>
<p>However, they are also great for managing the actual performance in the original sense for fine tuning and tweaking your website to give the best experience to your visitors &#8211; this is from within the &#8220;Diagnostics&#8221; section. Here are two examples.</p>
<h3>Website Security (Malware)</h3>
<p>Complex websites &#8211; especially those with any form of login such as content management systems, WordPress blogs, etc &#8211; are more vulnerable to hacking. Hackers may want to steal information about your customers or plant malware to infect unsuspecting visitors. The latter is particularly true for open source systems such as WordPress and phpBB (etc).</p>
<p>The great thing about Google Webmaster Tools is that they scan your site when the search engine crawler indexes the page and alert you (via email) if they find anything abnormal. If your site is hacked, you have an insight into what it is infected by, and even though your site may be flagged by Google as &#8220;harmful&#8221; to visitors, once you fix the problem you can use Webmaster Tools to resubmit your site to be crawled (usually within 24 hours) to remove its &#8220;harmful&#8221; status.</p>
<p>Without Webmaster Tools your site could be flagged as dangerous for some time before you realise - and so lose you valuable traffic &#8211; plus it can take some time for the site to be marked as &#8220;safe&#8221; as you are dependent on ad hoc crawls from Google to pick up the new status.</p>
<h3>No More Dead Ends (Page Loading/Access)</h3>
<p>Another great feature of the Webmaster Tools is their ability to flag broken links &#8211; both inbound and internal (titled &#8220;crawl errors&#8221;) &#8211; along with an error code telling you why the page is listed.</p>
<p>If you are getting lots of error 500s, this most likely means you have a coding or database optimisation issue which is causing requested pages to fail to load for the spider. If you look at your &#8220;crawl stats&#8221; you can also see how slow or fast search engine indexing is. In a current project, I noticed very slow indexing and also lots of error 500s. I tracked this back to database optimisation issues, and after changes were implemented indexing is now significantly faster (by a factor of 10 overall), the number of pages indexed has increased significantly and the error 500s have stopped appearing. The end result is a better performing site, both for visitors (they also don&#8217;t see error 500s and pages load more quickly) and in terms of what Google can index (which in turn is better for SEO as there is more content visible to the search engine).</p>
<p>Where there are lots of broken links, you can use this list to go back and fix them. If they are inbound links, you can update your .htaccess file (on a LAMP server) to catch and redirect them with a different error code. This has a benefit for SEO as when a search engine follows the external link it is told nicely that the page has moved and it should index the new page in place of the old one. You are being helpful to the search engine and so you get a more cleanly indexed site.</p>
<p>However, the real benefit is to the visitor because they don&#8217;t get 404 errors (and so decide to go elsewhere) which results in more readers for your site.</p>
<hr/>Copyright &copy; 2012 <strong><a href="http://www.brilliantthinking.net">Brilliant Thinking</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></content:encoded>
			<wfw:commentRss>http://www.brilliantthinking.net/2011/09/25/how-to-protect-your-website-with-googles-webmaster-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Outlook Crashes</title>
		<link>http://www.brilliantthinking.net/2011/08/25/microsoft-outlook-crashes/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=microsoft-outlook-crashes</link>
		<comments>http://www.brilliantthinking.net/2011/08/25/microsoft-outlook-crashes/#comments</comments>
		<pubDate>Thu, 25 Aug 2011 09:00:37 +0000</pubDate>
		<dc:creator>Edward</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Outlook 2007]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.brilliantthinking.net/?p=1327</guid>
		<description><![CDATA[It's a fact of life that we all depend on email nowadays. However, email is prone to interruption when your email client (in this case Outlook) just crashes when you try to do anything. The first thought is often that there is a problem on the mail server, but it is usually Outlook that is causing it.]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s a fact of life that we all depend on email nowadays. However, email is prone to interruption when your email client (in this case Outlook) just crashes when you try to do anything. The first thought is often that there is a problem on the mail server, but it is usually Outlook that is causing it.</p>
<h3>The Root Cause</h3>
<p>The problem is that Outlook stores all the messages you read in a single file on your hard disk. This is usually a .PST file. The problem is that Outlook has a problem when this file gets over 2Gb in size, and can start to object when it gets close to this limit. Note that this depends on the version of Outlook you are running &#8211; earlier versions can object at around 1Gb.</p>
<h3>The Solution</h3>
<p>The only way to fix it is to adopt a system that prevents the situation occurring. Unfortunately, just creating new folders to move emails to isn&#8217;t sufficient as these folders are all stored in the same .PST file that everything else is stored in also (including calendar appointments, your contacts list, tasks, and all the data for the other tools that Outlook provides).</p>
<h3>In Practice</h3>
<p>You need to create additional .PST files to store archives of your old emails in &#8211; if you want to access them &#8211; or just delete the old stuff and keep the size down though this is very final. Your email server probably has a much larger quota than Outlook can cope with, so it&#8217;s best to adopt this practice early on and maintain it.</p>
<p>The method I use is to enable the Auto-Archive function in Outlook to automatically move the old emails out of the main account .PST file into a new .PST file. My settings moved everything over a month old out of the main .PST file into the archive .PST file. It kept everything running smoothly. Every January, I rename the archive .PST file to something like Archive2009.PST so that I have an annual backup. You may need to do this more often if you have huge amounts of email, but you get the idea. Outlook quite happily recreates the default archive .PST file next time the auto-archive process ran so it was relatively painless.</p>
<p>I could then re-open the old, archive .PST files from within Outlook and search back through emails if I needed to track anything down.</p>
<p>Here is a video showing you how to set up auto-archive in Outlook 2003. The approach is the same for all versions of Outlook though where the option is found may vary.</p>
<p><object width="420" height="345" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/xhBu6esBz1E?version=3&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed width="420" height="345" type="application/x-shockwave-flash" src="http://www.youtube.com/v/xhBu6esBz1E?version=3&amp;hl=en_US" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p>Of course, you can always tweak the auto-archive settings to suit your needs &#8211; archiving different folders into different .PST files for example to separate different types of emails &#8211; or just keep everything together. This method provides you with an elegant toolkit to keep your main Outlook .PST file below the dreaded 2Gb crash-and-burn limit. Hope it helps!</p>
<h3>If you have already breached the limit</h3>
<p>You will probably need to recover your .PST file as it may effectively be locked and even if you delete files from the mail server the .PST file won&#8217;t open until it&#8217;s fixed. In this case, I would suggest having a read through of <a href="http://www.slipstick.com/problems/repair2gbpst.asp" target="_blank">this article</a> which provides a good background and some tools to help. A word of caution: If you are unfamiliar with sysadmin type activities, ask somebody who understands things &#8216;under the hood&#8217; of Windows. It might be better to get an expert in to fix it rather than spend hours trying to fix it yourself only to end up deleting everything by accident.</p>
<hr/>Copyright &copy; 2012 <strong><a href="http://www.brilliantthinking.net">Brilliant Thinking</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></content:encoded>
			<wfw:commentRss>http://www.brilliantthinking.net/2011/08/25/microsoft-outlook-crashes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The iPad, Office &amp; The Cloud (A Solution)</title>
		<link>http://www.brilliantthinking.net/2011/05/28/the-ipad-office-the-cloud-a-solution/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-ipad-office-the-cloud-a-solution</link>
		<comments>http://www.brilliantthinking.net/2011/05/28/the-ipad-office-the-cloud-a-solution/#comments</comments>
		<pubDate>Sat, 28 May 2011 14:06:07 +0000</pubDate>
		<dc:creator>Edward</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://www.brilliantthinking.net/?p=1274</guid>
		<description><![CDATA[The iPad versions of Numbers and Pages don't have all the features of their desktop brothers, though for the most part this doesn't cause any issues. However, retention of background colours would be a real plus (even though they are not deleted, editing on the iPad is made harder as a result) and also retaining merged cells in Numbers (which makes editing some spreadsheets a waste of time as the cells are de-merged). However, for straightforward documents and day-to-day number crunching they are sufficient and iPad + iWork + iDisk + iPhone Personal Hotspot makes for a workable mobile office.]]></description>
			<content:encoded><![CDATA[<p>Further to <a title="The iPad, Office and the Cloud (a plea)" href="http://www.brilliantthinking.net/2010/09/01/the-ipad-office-and-the-cloud/">my plea</a> on this topic last September, I have made some progress on the issue and found a workable solution. Unfortunately, it doesn&#8217;t quite fit within the environment I spoke about back in September, but it does follow the basic principles and makes for a workable option.</p>
<p>Let&#8217;s recap my original environment and requirements:</p>
<ul>
<li>Microsoft Office (Word, Excel &amp; Powerpoint)</li>
<li>JungleDisk Cloud Storage (Virtual File Server)</li>
<li>Access and work on my documents from any device</li>
</ul>
<p>Over the past few months I have slowly migrated across to a Mac platform from a PC, in part due to my laptop dying and having taken the decision to go back to a Mac which is a more solid platform. I migrated my development suites to Mac versions or alternatives and thought long and hard about what to do about Microsoft Office.</p>
<p>Eventually, I decided to go with iWorks (Numbers, Pages &amp; Keynote) for the following reasons:</p>
<ul>
<li>I don&#8217;t need the full power of MS Office</li>
<li>I can read MS Office documents in their iWork equivalents</li>
<li>I can easily share iWork documents through iWork.com</li>
<li>I can export files to MS Office formats if needed, or send PDFs</li>
</ul>
<p>Slowly, I have been porting documents, letters and spreadsheets across to iWork as needed and found the process relatively easy. However, the access issue still remained from the iPad. I mentioned this to another aficionado and he said that it was easy to do from iDisk, which is part of the MobileMe suite of features. It is a shame I can&#8217;t use my own JungleDisk Cloud Storage service, but at least I can use a Cloud Storage service to save and access my files from any device.</p>
<p>I set up an account, and aside from the 10Gb disk space, also benefited from having all my contacts and appointments synchronised and backed up across my Apple devices, and also the ability to kill my remote devices if they go missing (although I think this is now a free service).</p>
<p>It was easy to move a few iWork files across to the iDisk account and I quickly discovered that I could read them in directly to Pages or Numbers from the iPad, and also export them back to iDisk. It takes a few clicks, but it is relatively painless and provides a mechanism to use a Cloud Store as a virtual file server and access &#8216;Office&#8217; documents from anywhere. The recent addition of the personal hotspot feature in the iOS software makes remote access on the road even easier. You just need to remember to delete the file from the iPad after you have saved it to ensure you always go to the master in the Cloud (otherwise you could edit a local copy and overwrite a potentially newer remote copy). That is one small downside, but if you follow your own procedure rigidly you won&#8217;t go wrong.</p>
<p>The iPad versions of Numbers and Pages don&#8217;t have all the features of their desktop brothers, though for the most part this doesn&#8217;t cause any issues. However, retention of background colours would be a real plus (even though they are not deleted, editing on the iPad is made harder as a result) and also retaining merged cells in Numbers (which makes editing some spreadsheets a waste of time as the cells are de-merged). However, for straightforward documents and day-to-day number crunching they are sufficient and iPad + iWork + iDisk + iPhone Personal Hotspot makes for a workable mobile office.</p>
<hr/>Copyright &copy; 2012 <strong><a href="http://www.brilliantthinking.net">Brilliant Thinking</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></content:encoded>
			<wfw:commentRss>http://www.brilliantthinking.net/2011/05/28/the-ipad-office-the-cloud-a-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Farewell Live Mesh</title>
		<link>http://www.brilliantthinking.net/2010/10/14/farewell-live-mesh/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=farewell-live-mesh</link>
		<comments>http://www.brilliantthinking.net/2010/10/14/farewell-live-mesh/#comments</comments>
		<pubDate>Thu, 14 Oct 2010 12:44:39 +0000</pubDate>
		<dc:creator>Edward</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[cloud]]></category>

		<guid isPermaLink="false">http://www.brilliantthinking.net/?p=1200</guid>
		<description><![CDATA[237,000 temporary files. 3Gb local storage. Freed. I wrote about my experiences with Live Mesh previously and they were "mostly" positive. But this is a quick post about the uninstall and my findings, and closes the loop on my Live Mesh journey.]]></description>
			<content:encoded><![CDATA[<p>PC1: 125,000 temp files (1.8Gb). Freed.<br />
PC2: 112,000 temp files (1.2Gb). Freed.</p>
<p>I wrote about my experiences with Live Mesh previously and they were mostly positive. Here are the links:</p>
<ul>
<li><a title="Edit “Live Mesh &amp; The Cloud”" href="http://www.brilliantthinking.net/2009/10/12/live-mesh-the-cloud/">Live Mesh &amp; The Cloud</a> Oct 2009</li>
<li><a title="Edit “Conflict Resolution: Syncplicity vs Live Mesh”" href="http://www.brilliantthinking.net/2008/12/24/conflict-resolution-syncplicity-vs-live-mesh/">Conflict Resolution: Syncplicity vs Live Mesh</a> Dec 2008</li>
<li><a title="Edit “Live Mesh – Synchronising Folders”" href="http://www.brilliantthinking.net/2008/11/10/live-mesh-synchronising-folders/">Live Mesh – Synchronising Folders</a> Nov 2008</li>
<li><a title="Edit “Cloud Storage: On SugarSync, DropBox &amp; Live Mesh”" href="http://www.brilliantthinking.net/2008/10/12/being-virtual-living-with-the-cloud/">Cloud Storage: On SugarSync, DropBox &amp; Live Mesh</a> Oct 2008</li>
</ul>
<p>However, as anybody following my twitter feed will know, my laptop died this week and I now only have 1 machine which I don&#8217;t have access too very often. So I took this opportunity to remove Live Mesh and clear up the overheads and uncertainty mentioned in the above posts. I have also planned a new mobile working strategy for when I get the new laptop (more on that in a future post) which is simpler and avoids pitfalls of the many synchronisation tools out there.</p>
<p>This is a quick post about the uninstall.</p>
<p>The process took a little over an hour during which time I could not use the computer &#8211; the uninstall closed Windows Explorer and the Desktop to do its behind-the-scenes admin. The number of temporary files had grown considerably since I last checked (now exceeding 125,000, up from 11,000 in Dec 2008), and the uninstall finished by moving all of these to the desktop in a folder called &#8220;conflicts&#8221;, which could be why it took so long.</p>
<p>Eh? 125,000 &#8220;conflicts&#8221;?! Live Mesh never mentioned these before in any dialogue window &#8230; But if you have read the earlier posts you will know some of the issues there! In my case 99.9% of these files were historic and remnants of folders I no longer sync with Live Mesh, so were clearly redundant and a waste of space.</p>
<p>Now that Mesh is gone, I have lots more free space and no more uncertainty. I have been using a solid backup strategy with Jungledisk so I know all my files are safe and recoverable. Adieu Live Mesh!</p>
<p>I will miss Live Mesh for a while. It did simplify some things (syncing my music library) and the remote PC access function was useful. But it also complicated other things and for this I am happy to make the switch to a new, better methodology for mobile working.</p>
<p>UPDATE 18 OCT: Live Mesh Beta is to be replaced with Live Mesh 2011 in the near future, and Live Mesh 2011 does not support Windows XP. So, unless you have Vista or later you will no longer be able to sync computers. For me, my base machine is an old XP machine, so it looks like the time was right to have a tidy up!</p>
<hr/>Copyright &copy; 2012 <strong><a href="http://www.brilliantthinking.net">Brilliant Thinking</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></content:encoded>
			<wfw:commentRss>http://www.brilliantthinking.net/2010/10/14/farewell-live-mesh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Addressing Flash Websites in the iPad generation</title>
		<link>http://www.brilliantthinking.net/2010/09/06/addressing-flash-websites-in-the-ipad-generation/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=addressing-flash-websites-in-the-ipad-generation</link>
		<comments>http://www.brilliantthinking.net/2010/09/06/addressing-flash-websites-in-the-ipad-generation/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 15:32:48 +0000</pubDate>
		<dc:creator>Edward</dc:creator>
				<category><![CDATA[Forward Thinking]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.brilliantthinking.net/?p=1149</guid>
		<description><![CDATA[I thought I would share some quick code I put in place for a client recently who had an exclusively 100% Flash website and needed a "quick fix" when their owner got an iPhone and suddenly couldn't see his website.]]></description>
			<content:encoded><![CDATA[<p>Flash &#8211; it&#8217;s like a legacy application on the Web these days.</p>
<p>There are millions of Web users out there with iPads, iPhones, iPod Touches, et al, all of whom cannot access Flash websites (me included) when using these devices. Yet there are still web development companies producing exclusively Flash content for websites which stops this very large and growing user base from the services offered by the website (for example restaurants, clubs, car showrooms, etc, etc).</p>
<p>The issue isn&#8217;t going to go away &#8211; more mobile users are coming online every day with no mechanism to view Flash websites. While it is true that older websites are very unlikely to ever be updated (some companies just don&#8217;t like spending money on the Web, which is another debate for another day), websites built today need to offer alternative, accessible content &#8211; even if it is just a map and contact details (these are the most commonly looked for items by mobile users, after all). There are even laws about it!</p>
<p>To remedy this, I thought I would share some quick code I put in place for a client recently who had an exclusively 100% Flash website (which we didn&#8217;t build by the way) and needed a &#8220;quick fix&#8221; when their owner got an iPhone and suddenly couldn&#8217;t see his website <img src='http://www.brilliantthinking.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Flash was important to this client, so the flow of the code detects if Flash is available and shows that content by default, otherwise it flips over to the static HTML for people without Flash &#8211; which includes the ubiquitous iPhone.</p>
<p>My solution was to take the published <a href="http://www.adobe.com/products/flashplayer/download/detection_kit/" target="_blank">Abode Flash Detection Kit</a> and modify it slightly to avoid breaking the existing Flash Application which was wrapped with <a href="http://www.asual.com/swfaddress/" target="_blank">SWFaddress</a> (which provides deep linking capabilities for Flash &amp; AJAX, so making each &#8220;page&#8221; in the Flash a separate URL and also better enabling SEO).</p>
<p>If you&#8217;re not familiar with Adobe&#8217;s Flash Detection Kit (or many similar alternatives), the code relies on JavaScript to detect if Flash is installed and then either displays the Flash content or alternative HTML content. The Adobe kit does this in-line by calling further JavaScript to either build the Flash object (a good mechanism which avoids other browser issues, notably for IE), or display the HTML content.</p>
<p>Here are the steps I took to wrap the existing Flash website with the detection system to prevent breaking the existing application:</p>
<ol>
<li>Created a new home page containing some static content (in this case, a small HTML website was produced and the home page was an introduction with contact details). This was named &#8220;index.php&#8221; (LAMP server) and uploaded next to the original index.html homepage which wrapped the Flash.</li>
<li>Included the <a href="http://www.adobe.com/products/flashplayer/download/detection_kit/" target="_blank">Adobe Flash Detection Kit</a> and wrapped it with some logic (used by step 5 below):
<pre class="brush: css; title: ; notranslate">&lt;?php
  $noflash = ( isset( $_GET['noflash'] ) ) ? $_GET['noflash'] : 0 ;
  if ( $noflash &lt;&gt; 1 )
  {
?&gt;
&lt;script src=&quot;/flash-detect/AC_OETags.js&quot; language=&quot;javascript&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;/flash-detect/detection.js&quot; language=&quot;javascript&quot;&gt;&lt;/script&gt;
&lt;?php
  }
?&gt;
</pre>
</li>
<li>Modified the detection.js code to provide a simple switch for Flash. This meant that if Flash was detected it simply redirected the browser to the Flash application wrapped in the existing index.html file:
<pre class="brush: css; title: ; notranslate">// -----------------------------------
// Globals
// Major version of Flash required
var requiredMajorVersion = 8;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Minor version of Flash required
var requiredRevision = 0;
//-----------------------------------

// Version check based upon the values entered above in &quot;Globals&quot;
var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);

// Check to see if the version meets the requirements for playback
if (hasReqestedVersion) {
    // if we've detected an acceptable version
    // embed the Flash Content SWF when all tests are passed
    location.href = 'index.html' ;
}</pre>
</li>
<li>Added a line to the .htaccess file which redefined the home page of the website to look for index.php first:
<pre class="brush: css; title: ; notranslate">DirectoryIndex index.php index.html index.htm default.htm index.php3 index.phtml mwindex.phtml</pre>
</li>
<li>I also modified the index.html file to make the Flash an embedded object (making it a proper layer instead of floating to the top which happens with OBJECT tags; thank you <a href="http://uk.playstation.com/ps3/" target="_blank">PS3</a> website!), and added a layer allowing visitors to click through to the HTML if preferred (the noflash=1 flag ensures that when the index.php home page is called from the HTML that it doesn&#8217;t run the Flash detection and flip the visitor back to the Flash content!):
<pre class="brush: css; title: ; notranslate">&lt;body&gt;
  &lt;div id=&quot;flash_content&quot;&gt;
    &lt;embed id=&quot;mainFlashObj&quot; width=&quot;100%&quot; height=&quot;100%&quot; wmode=&quot;transparent&quot; quality=&quot;high&quot; bgcolor=&quot;#000000&quot; name=&quot;mainFlashObj&quot; src=&quot;website.swf&quot; type=&quot;application/x-shockwave-flash&quot;&gt;&lt;/embed&gt;
  &lt;/div&gt;
  &lt;div id='footer'&gt;
    &lt;a href=&quot;/index.php?noflash=1&quot;&gt;Non-Flash Version of the Website&lt;/a&gt;
  &lt;/div&gt;
&lt;/body&gt;</pre>
</li>
<li>Added some CSS to position the &#8216;footer&#8217; layer over the Flash (since the Flash was set to 100% of the viewport):
<pre class="brush: css; title: ; notranslate">#footer {
    text-align: center;
    top: 0px;
    z-index: 10;
    position: absolute;
    padding: 5px 0 0 0;
    overflow: hidden;
    width: 100%;
    height: 25px;
}</pre>
</li>
</ol>
<p>One benefit of this approach is also to make the static HTML content immediately visible to search engines. By changing the default home page of the website via the .htaccess file, we point search engines to this new content. Also, since search engines fail the Flash detection test, they are not redirected to the Flash content and only get the static HTML. A link is provided within the HTML site to the Flash content so that the content is still accessible by visitors and search engines alike.</p>
<p>The end result is a seamless experience which, while prioritising Flash (at the client&#8217;s request), presents a complete website without the need to introduce a splash page asking the user to choose Flash or HTML, which is a lazy choice in my book and not a good user experience.</p>
<p>I hope you find this approach useful to wrapping Flash sites with alternative content.</p>
<hr/>Copyright &copy; 2012 <strong><a href="http://www.brilliantthinking.net">Brilliant Thinking</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></content:encoded>
			<wfw:commentRss>http://www.brilliantthinking.net/2010/09/06/addressing-flash-websites-in-the-ipad-generation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fixing WordPress auto-upgrade failure on Cloud hosting</title>
		<link>http://www.brilliantthinking.net/2010/04/05/fixing-wordpress-auto-upgrade-failure-on-cloud-hosting/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fixing-wordpress-auto-upgrade-failure-on-cloud-hosting</link>
		<comments>http://www.brilliantthinking.net/2010/04/05/fixing-wordpress-auto-upgrade-failure-on-cloud-hosting/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 18:17:38 +0000</pubDate>
		<dc:creator>Edward</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.brilliantthinking.net/?p=828</guid>
		<description><![CDATA[The auto-upgrade feature of Wordpress can stall on Cloud hosting. Here's how to quickly and easily fix it to save time and effort.]]></description>
			<content:encoded><![CDATA[<p>We manage a number of WordPress installs for our clients at Emissary, and in our recent move to Cloud hosting (away from dedicated servers), we discovered that the auto-upgrade of WordPress stalls every time you try to run it. The end result is that you have to manually upgrade WordPress for every installation which means a large time overhead.</p>
<p>Fortunately, on the RackSpace Cloud, the solution to this problem is simple &#8211; simply increase the maximum memory allocated to the site so that there is sufficient available during the auto-upgrade process.</p>
<p>Is all you need to do is add the following line to your .htaccess file in the root of your web site and the auto-upgrade will then work.</p>
<p>php_value memory_limit 64M</p>
<p>You can change the 64M value &#8211; theoretically 32M should work, but sometimes doesn&#8217;t. 64M worked for us, or you can increase in 16M chunks to find a value that works for you. Try to be sensitive to the operation of the Cloud and not hog lots of memory though!</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/b54dc540-97e1-4706-bbe2-ec823a2ea794/"><img class="zemanta-pixie-img" style="border: none; float: right;" src="http://img.zemanta.com/reblog_c.png?x-id=b54dc540-97e1-4706-bbe2-ec823a2ea794" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
<hr/>Copyright &copy; 2012 <strong><a href="http://www.brilliantthinking.net">Brilliant Thinking</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></content:encoded>
			<wfw:commentRss>http://www.brilliantthinking.net/2010/04/05/fixing-wordpress-auto-upgrade-failure-on-cloud-hosting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

