<?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>Turtlebite&#039;s Blog &#187; robots.txt</title>
	<atom:link href="http://blog.turtlebite.com/tag/robots-txt/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.turtlebite.com</link>
	<description>Flash CMS Framework, Fleb Framework, Global Navigation and other ActionScript Stuff</description>
	<lastBuildDate>Thu, 17 Nov 2011 06:01:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Fleb Framework version 1.1: Improved Express Install Procedure and more</title>
		<link>http://blog.turtlebite.com/fleb-framework-version-1-1-improved-express-install-procedure/</link>
		<comments>http://blog.turtlebite.com/fleb-framework-version-1-1-improved-express-install-procedure/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 13:40:03 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Fleb Framework]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[expressinstall]]></category>
		<category><![CDATA[flash framework]]></category>
		<category><![CDATA[Flash SEO]]></category>
		<category><![CDATA[robots.txt]]></category>
		<category><![CDATA[swfaddress]]></category>
		<category><![CDATA[swfobject]]></category>

		<guid isPermaLink="false">http://blog.flashcmsframework.com/fleb-framework-version-1-1-improved-express-install-procedure/</guid>
		<description><![CDATA[A special thank to Niklas Hallgren who brought this issue up. I must admit I have not covered the case when a user actually has the flash plugin installed, but it is outdated and the express install is started. If he clicks &#8220;Yes&#8221;, the flash plugin will be installed and everything is fine: the user [...]]]></description>
			<content:encoded><![CDATA[<p>A special thank to <a href="http://www.widecircle.se">Niklas Hallgren</a> who brought this issue up. I must admit I have not covered the case when a user actually has the flash plugin installed, but it is outdated and the express install is started. If he clicks &#8220;Yes&#8221;, the flash plugin will be installed and everything is fine: the user will see the flash version of the website after installation is complete. This is where I stopped thinking about it any further. <strong>But what if the user aborts the express install by clicking &#8220;No&#8221;? </strong>For example, if the user is not allowed to upgrade and has to stick to the installed flash player version on his computer.</p>
<p>Unfortunatly when the users aborts the express install he will end up with a blank screen. Even if the user was shown the no javascript alternative content we would run into problems because of SWFAddress, which would again start the express install at the time of the next click in the navigation menu. For Fleb, this needed some rethinking.</p>
<p><strong>SWFObject 2.1 together with SWFAddress 2.3</strong><br />
At first I wanted to upgrade to the newest SWFObject 2.2, but I ran into 2 problems. First, when I have SWFObject 2.2 installed, when I test in Firefox (3.0.13 and 3.5.2) on the PC I get a blank screen and an error in firebug: &#8220;<em>Error calling method on NPObject</em>&#8220;. So I switched back to SWFObject 2.1, which I have not encountered any problems on the tested browsers. And there is even another issue: The combination of SFWObject 2.2 and SWFAddress 2.3 causes FlashVars to be NULL. <a href="http://code.google.com/p/swfobject/issues/detail?id=338#c0">Read this for more info about this issue.</a> Conclusion for the time being: I will stick to SWFObject 2.1 and SWFAddress 2.3.</p>
<p><strong>expressInstall.swf changed to flebExpressInstall.swf</strong><br />
Here is what I did: In expressInstall.as I changed the function <em>installStatus</em> like this:</p>
<pre class="brush: php;">

function installStatus(statusValue) {
switch (statusValue) {
case &quot;Download.Complete&quot;:
// Installation is complete.
break;
case &quot;Download.Cancelled&quot;:
getURL(baseURL+&quot;/noflash.php&quot;);
break;
case &quot;Download.Failed&quot;:
getURL(baseURL+&quot;/noflash.php&quot;);
break;
}
}
</pre>
<p>If the user hits &#8220;No&#8221;, he will be rerouted to &#8220;noflash.php&#8221;, which is in fact the same page as index.php, but without SWFAddress. See the graphic below.</p>
<p><img class="alignnone size-full wp-image-649" title="cancelling_flash_player_expressinstall" src="http://blog.flashcmsframework.com/wp-content/uploads/2009/08/cancelling_flash_player_expressinstall.jpg" alt="cancelling_flash_player_expressinstall" width="595" height="500" /></p>
<p>This page is not linked to from anywhere and has the metatags &#8220;noindex, nofollow&#8221;, so the search engines should not index it. This page is only for the user to have at least something if he cannot upgrade to the needed flash player. At the same time this is a great way to show your clients the NO FLASH version of their new flash website, without having them deactivate javascript (which they normally don&#8217;t have a clue how to do it&#8230; <img src='http://blog.turtlebite.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> )</p>
<p><strong>robots.txt</strong><br />
In this release version 1.1 of Fleb I also have added a robots.txt file, to prevent the search engines from indexing certain files. For example SWFs. <a href="http://www.asual.com/blog/swfaddress/2008/11/25/swfaddress-and-robots-txt.html">Read this post for more info about SWFAddress and robots.txt</a>.<br />
Here is what it looks like:</p>
<pre class="brush: php;">
User-agent: *
Disallow: /base.swf
Disallow: /main.swf
Disallow: /noflash.php
Disallow: /structure.xml
Disallow: /structure.php
Disallow: /content_source/
Disallow: /content_swf/
</pre>
<p><strong>More improvements</strong><br />
Because there are now two php files that use the same info texts (<em>index.php</em> and <em>noflash.php</em>) I didn&#8217;t want to have redundant data, so I have created a new file named &#8220;<em>noflash_text.php</em>&#8221; with those pieces of text. Just have a look at it to see what I mean.</p>
<p><strong>Making things variable</strong><br />
I took everything out of <em>index.php</em> that you had to set (e.g. flash version, background color) and placed it in structure.xml. Now you don&#8217;t have to touch the index.php file anymore, it&#8217;s all variable and defined in <em>structure.xml</em>. In the download files I have also added a<em> structure.xml</em> file that contains only one language, for you to compare.</p>
<p><strong>Removed code from Main.as</strong><br />
I have placed all code for language handling in the navigationManager2 class, now Main.as is much clearer. The code that is left there has to be there. I mean, I could take even more code out and place it in seperate classes, but that would probably get in the way of your coding style. I want the Fleb Framework to remain as clear as possible. I have put a lot of comments in Main.as to explain every step. Please let me know if you have problems or suggestions.</p>
<p><a href="http://www.flashcmsframework.com/docs/doku.php?id=fleb-framework-download">You can download the Fleb Framework here.</a></p>
<p>Cheers,<br />
Christian</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://blog.turtlebite.com/fleb-framework-version-1-1-improved-express-install-procedure/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://blog.turtlebite.com/fleb-framework-version-1-1-improved-express-install-procedure/&amp;title=Fleb+Framework+version+1.1%3A+Improved+Express+Install+Procedure+and+more" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://blog.turtlebite.com/fleb-framework-version-1-1-improved-express-install-procedure/&amp;title=Fleb+Framework+version+1.1%3A+Improved+Express+Install+Procedure+and+more" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://blog.turtlebite.com/fleb-framework-version-1-1-improved-express-install-procedure/&amp;title=Fleb+Framework+version+1.1%3A+Improved+Express+Install+Procedure+and+more&amp;desc=A%20special%20thank%20to%20Niklas%20Hallgren%20who%20brought%20this%20issue%20up.%20I%20must%20admit%20I%20have%20not%20covered%20the%20case%20when%20a%20user%20actually%20has%20the%20flash%20plugin%20installed%2C%20but%20it%20is%20outdated%20and%20the%20express%20install%20is%20started.%20If%20he%20clicks%20%22Yes%22%2C%20the%20flash%20plugin%20will%20be%20installed%20and%20everything%20is%20fine%3A%20the%20user%20w" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://blog.turtlebite.com/fleb-framework-version-1-1-improved-express-install-procedure/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://blog.turtlebite.com/fleb-framework-version-1-1-improved-express-install-procedure/&amp;bm_description=Fleb+Framework+version+1.1%3A+Improved+Express+Install+Procedure+and+more&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://blog.turtlebite.com/fleb-framework-version-1-1-improved-express-install-procedure/&amp;title=Fleb+Framework+version+1.1%3A+Improved+Express+Install+Procedure+and+more" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://blog.turtlebite.com/fleb-framework-version-1-1-improved-express-install-procedure/&amp;title=Fleb+Framework+version+1.1%3A+Improved+Express+Install+Procedure+and+more" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://blog.turtlebite.com/fleb-framework-version-1-1-improved-express-install-procedure/&amp;title=Fleb+Framework+version+1.1%3A+Improved+Express+Install+Procedure+and+more" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://blog.turtlebite.com/fleb-framework-version-1-1-improved-express-install-procedure/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Fleb+Framework+version+1.1%3A+Improved+Express+Install+Procedure+and+more+-+http://b2l.me/aft79f&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blog.turtlebite.com/fleb-framework-version-1-1-improved-express-install-procedure/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>

