<?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>Murten Saerbi&#039;s blog</title>
	<atom:link href="http://www.murtensaerbi.be/blog/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.murtensaerbi.be/blog</link>
	<description>Maarten Serneels, Actionscript 3 and golden oldies.</description>
	<lastBuildDate>Mon, 24 Oct 2011 16:25:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Increasing Facebook users</title>
		<link>http://www.murtensaerbi.be/blog/index.php/2011/10/14/increasing-facebook-users/</link>
		<comments>http://www.murtensaerbi.be/blog/index.php/2011/10/14/increasing-facebook-users/#comments</comments>
		<pubDate>Fri, 14 Oct 2011 14:42:37 +0000</pubDate>
		<dc:creator>Murten</dc:creator>
				<category><![CDATA[facebook]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[artcore]]></category>
		<category><![CDATA[artcore society]]></category>
		<category><![CDATA[likes]]></category>
		<category><![CDATA[sharing]]></category>

		<guid isPermaLink="false">http://www.murtensaerbi.be/blog/?p=496</guid>
		<description><![CDATA[Together with two of my former collegues I have started a new agency under the name Artcore Society. We offcourse have a page on Facebook, which people can &#8220;like&#8221;. When I have some freetime I am looking into things that could increase the fanbase. Without being too braggy I know our work is more than [...]]]></description>
			<content:encoded><![CDATA[<p>Together with two of my former collegues I have started a new agency under the name <a href="http://www.artcoresociety.com" target="_blank">Artcore Society</a>. We offcourse have a <a href="https://www.facebook.com/artcoresociety" target="_blank">page on Facebook</a>, which people can &#8220;like&#8221;. When I have some freetime I am looking into things that could increase the fanbase.</p>
<p>Without being too braggy I know our work is more than decent enough to run with the big dogs: it&#8217;s just so that reaching everybody is a hard job. It&#8217;s also noteworthy that not everybody you know is a fan of your work. The trick is too find all the people that would like your work and let them like your page.</p>
<p>A few things that have helped our cause are these:</p>
<p><strong>Put it on your own website/mailsignature/msn window</strong><br />
Kind of logical, but often overlooked. Your friends and readers will only find it logical that there are links to your own company website. It&#8217;s what you do. As long as you do not jam it in their throat they will not take offence.<br />
<br/></p>
<p><strong>Invite your subscribers</strong><br />
If you have an email base which you use to send newsletters, let them know about it with a small infoblock. Most likely the receivers have Facebook and are more than happy to like your page to get more news from you.<br />
<br/></p>
<p><strong>Create an attractive page</strong><br />
Make sure your page looks okay: nice logo in the profile picture area, fangate that explains what you do and what you can offer, relevant information, well-designed and easy to understand subpages, etc&#8230; you could even ask <a href="http://www.artcoresociety.com/">us</a> to do it for you. <img src='http://www.murtensaerbi.be/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
<br/></p>
<p><strong>Ask already-likers to join in on the quest for more likes</strong><br />
Why not organize an online &#8220;contest&#8221; that asks the users to tag your brand in their pictures? It generates buzz on their wall which might lead to more likes. If people see your brand on Facebook and like the product they will like your page aswell. You could do small contests, give-aways, &#8230; the fangate (ex.: like us and get the chance&#8230;) makes sure they like the page before they see the contest information.<br />
<br/></p>
<p><strong>Make a small print ad about the page in real life</strong><br />
A small sign in your office/store reminds the people that you have a Facebook page: if they remember this while they&#8217;re browsing Facebook they might add your page to their likes.<br />
<br/><br />
The growth will offcourse depend on what kind of company/product you try to like, but these small things could already help alot. If the people don&#8217;t know about it, they won&#8217;t be able to like it.</p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.murtensaerbi.be%2Fblog%2Findex.php%2F2011%2F10%2F14%2Fincreasing-facebook-users%2F&amp;layout=standard&amp;&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px;height:30px;margin-top:5px;"></iframe>]]></content:encoded>
			<wfw:commentRss>http://www.murtensaerbi.be/blog/index.php/2011/10/14/increasing-facebook-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>#quick snippet: Count the days between two dates</title>
		<link>http://www.murtensaerbi.be/blog/index.php/2011/09/16/quick-snippet-count-the-days-between-two-dates/</link>
		<comments>http://www.murtensaerbi.be/blog/index.php/2011/09/16/quick-snippet-count-the-days-between-two-dates/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 21:41:45 +0000</pubDate>
		<dc:creator>Murten</dc:creator>
				<category><![CDATA[snippets]]></category>
		<category><![CDATA[actionscript 3.0]]></category>
		<category><![CDATA[between]]></category>
		<category><![CDATA[count]]></category>
		<category><![CDATA[dates]]></category>
		<category><![CDATA[days]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://www.murtensaerbi.be/blog/?p=488</guid>
		<description><![CDATA[For a project at work I had to display how many days the visitor of the app had left to still join in on the fun. We had a fixed date (the launch of the project) and a variable date (the date of the day that the project visitor actually visited/used the app). So I [...]]]></description>
			<content:encoded><![CDATA[<p>For a project <a href="http://www.artcoresociety.com" target="_blank">at work</a> I had to display how many days the visitor of the app had left to still join in on the fun. We had a fixed date (the launch of the project) and a variable date (the date of the day that the project visitor actually visited/used the app). So I was in the need of a script that counts the days between two dates. I know, not that hard, but good to have around nonetheless. Quick snippets for the win!<br/><br />
Anyway, the snippet is pretty clear:</p>
<p>- one variable that represents a day (milliseconds times seconds times minutes times hours)<br />
- two dates turned to milliseconds by &#8220;getTime()&#8221;<br />
- the difference between those milliseconds</p>
<p>The result of that gets divided by the day in milliseconds and voila: a between days counter!</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> getDaysBetweenDates<span style="color: #66cc66;">&#40;</span>date1:<span style="color: #0066CC;">Date</span>,date2:<span style="color: #0066CC;">Date</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">int</span> <span style="color: #66cc66;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">var</span> durationDay:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;">1000</span> <span style="color: #66cc66;">*</span> <span style="color: #cc66cc;">60</span> <span style="color: #66cc66;">*</span> <span style="color: #cc66cc;">60</span> <span style="color: #66cc66;">*</span> <span style="color: #cc66cc;">24</span>
	<span style="color: #000000; font-weight: bold;">var</span> date1InMilli:<span style="color: #0066CC;">Number</span> = date1.<span style="color: #0066CC;">getTime</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #000000; font-weight: bold;">var</span> date2InMilli:<span style="color: #0066CC;">Number</span> = date2.<span style="color: #0066CC;">getTime</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;		    
	<span style="color: #000000; font-weight: bold;">var</span> differenceInMilli:<span style="color: #0066CC;">Number</span> = <span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">abs</span><span style="color: #66cc66;">&#40;</span>date1InMilli - date2InMilli<span style="color: #66cc66;">&#41;</span>		    
	<span style="color: #b1b100;">return</span> <span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">round</span><span style="color: #66cc66;">&#40;</span>differenceInMilli_ms<span style="color: #66cc66;">/</span>durationDay<span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.murtensaerbi.be%2Fblog%2Findex.php%2F2011%2F09%2F16%2Fquick-snippet-count-the-days-between-two-dates%2F&amp;layout=standard&amp;&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px;height:30px;margin-top:5px;"></iframe>]]></content:encoded>
			<wfw:commentRss>http://www.murtensaerbi.be/blog/index.php/2011/09/16/quick-snippet-count-the-days-between-two-dates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook fangate: a how-to with PHP</title>
		<link>http://www.murtensaerbi.be/blog/index.php/2011/09/14/facebook-fangate-a-how-to-with-php/</link>
		<comments>http://www.murtensaerbi.be/blog/index.php/2011/09/14/facebook-fangate-a-how-to-with-php/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 21:12:43 +0000</pubDate>
		<dc:creator>Murten</dc:creator>
				<category><![CDATA[facebook]]></category>
		<category><![CDATA[snippets]]></category>
		<category><![CDATA[fangate]]></category>
		<category><![CDATA[iframe]]></category>
		<category><![CDATA[like]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false">http://www.murtensaerbi.be/blog/?p=478</guid>
		<description><![CDATA[The problem: You have some awesome content on your facebook page, but you want visitors to like your page before they can read it, aka installing a fangate! No worries, PHP is our friend and this example can be set-up in under five minutes! You can do this with javascript too, but we over at [...]]]></description>
			<content:encoded><![CDATA[<p><strong>The problem:</strong><br />
You have some awesome content on your facebook page, but you want visitors to like your page before they can read it, aka installing a fangate! No worries, PHP is our friend and this example can be set-up in under five minutes! You can do this with javascript too, but we over at Murten Saerbi choose the PHP way.<br/><br/><br />
<strong>Woah&#8230; wait! What&#8217;s a fangate?</strong><br />
A fangate is actually just a page that checks whether a certain visitor is a fan of your page or not. Therefore this script will only work when you load it in a page. You can do this by creating a new app over on <a href="http://developers.facebook.com" target="_blank">developers.facebook.com</a> and adding the app to your page. The custom pages on Facebook are actually *just* HTML/PHP/&#8230; pages that Facebook loads into an iframe.<br/><br/>Like that it looks the content of your website is actually on Facebook inside a custom page tab.<br />
<br/><br />
<strong>The solution:</strong><br />
First you will need to download the php sdk file, you can do this over at <a href="https://github.com/facebook/php-sdk" target="_blank">GitHub</a>. Next step is to actually create a php file that you can use as the fangate page. Open up the php tags and start with the base: requiring the file we just downloaded (don&#8217;t forget to upload!) and filling in the app id and the app secret. You can find these variables on your application setting screen on <a href="http://developers.facebook.com" target="_blank">developers.facebook.com</a>. Your file should look a bit like this:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #66cc66;">&lt;</span>?php
&nbsp;
require <span style="color: #ff0000;">'facebook.php'</span>;
&nbsp;
$app_id = <span style="color: #ff0000;">&quot;your_app_id_here&quot;</span>; 
$app_secret = <span style="color: #ff0000;">&quot;your_app_secret_here&quot;</span>;
$facebook = <span style="color: #000000; font-weight: bold;">new</span> Facebook<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">array</span><span style="color: #66cc66;">&#40;</span>
        <span style="color: #ff0000;">'appId'</span> =<span style="color: #66cc66;">&gt;</span> $app_id,
        <span style="color: #ff0000;">'secret'</span> =<span style="color: #66cc66;">&gt;</span> $app_secret,
        <span style="color: #ff0000;">'cookie'</span> =<span style="color: #66cc66;">&gt;</span> <span style="color: #000000; font-weight: bold;">true</span>
<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>After this all we really need is a parameter that tells us if a visitor likes the page he&#8217;s viewing or not. You can find this in the signed_request object, a Facebook object that holds various information about the page and the user. Get that object and read out the page_liked parameter:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #66cc66;">&lt;</span>?php
$signed_request = $facebook-<span style="color: #66cc66;">&gt;</span>getSignedRequest<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
$like_status = $signed_request<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;page&quot;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;liked&quot;</span><span style="color: #66cc66;">&#93;</span>;</pre></div></div>

<p>When we have the like status inside a variable the rest is easy, a simple if statement will give us the ability to feed the visitor two content pages: one if the user doesn&#8217;t like our page yet and one if the user does like our page. That&#8217;s about it: easy peasy lemon squeezy! Just don&#8217;t forget to close the php code after the if and you&#8217;re all set:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>$like_status<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
echo <span style="color: #ff0000;">&quot;&lt;div style='margin-top:0px; position: absolute; top:0px;left:0px; width:520px; height:750px;'&gt;
    &lt;iframe src='HTTP://_THE_PAGE_THAT_NEEDS_TO_BE_SHOWN_WHEN_PEOPLE_LIKE' width='520' height='751' frameborder='0' scrolling='no'&gt;&lt;/iframe&gt;
&lt;/div&gt;&quot;</span>;
<span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span>
echo <span style="color: #ff0000;">&quot;&lt;div style='margin-top:0px; position: absolute; top:0px;left:0px; width:520px; height:750px;'&gt;
  &lt;iframe src='HTTP://_THE_PAGE_THAT_NEEDS_TO_BE_SHOWN_WHEN_PEOPLE_DONT_LIKE' width='520' height='751' frameborder='0' scrolling='no'&gt;&lt;/iframe&gt;
&lt;/div&gt;&quot;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
?<span style="color: #66cc66;">&gt;</span></pre></div></div>

<p>Online you should now have atleast four files:</p>
<p>- the facebook.php file<br />
- the fangate php file (index.php for instance)<br />
- the file that people see when they&#8217;re not a fan yet<br />
- the file that people see when they&#8217;re a fan</p>
<p>It&#8217;s that easy, really: so open up your favourite texteditor and start fan-gating away!</p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.murtensaerbi.be%2Fblog%2Findex.php%2F2011%2F09%2F14%2Ffacebook-fangate-a-how-to-with-php%2F&amp;layout=standard&amp;&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px;height:30px;margin-top:5px;"></iframe>]]></content:encoded>
			<wfw:commentRss>http://www.murtensaerbi.be/blog/index.php/2011/09/14/facebook-fangate-a-how-to-with-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fan page Facebook applications with authentication</title>
		<link>http://www.murtensaerbi.be/blog/index.php/2011/09/14/facebook-applications-how-to-get-one-on-your-fan-page-that-needs-authentication/</link>
		<comments>http://www.murtensaerbi.be/blog/index.php/2011/09/14/facebook-applications-how-to-get-one-on-your-fan-page-that-needs-authentication/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 18:44:00 +0000</pubDate>
		<dc:creator>Murten</dc:creator>
				<category><![CDATA[facebook]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[fan page]]></category>
		<category><![CDATA[javascript SDK]]></category>
		<category><![CDATA[permissions]]></category>

		<guid isPermaLink="false">http://www.murtensaerbi.be/blog/?p=459</guid>
		<description><![CDATA[The problem: Applications that run on a page (&#8220;add application to page&#8221; on the app profile page) and require authentication (certain permissions being set) don&#8217;t open the permissions panel -OR- are redirecting to the app canvas page instead of the fan page tab where your application resides after you allow permissions. Let me make that [...]]]></description>
			<content:encoded><![CDATA[<p><strong>The problem:</strong><br />
Applications that run <strong>on a page</strong> (&#8220;add application to page&#8221; on the app profile page) and <strong>require authentication</strong> (certain permissions being set) don&#8217;t open the permissions panel -OR- are redirecting to the app canvas page instead of the fan page tab where your application resides after you allow permissions. Let me make that as clear as I can by breaking this sentence down so nobody gets lost in translation:<br/><br />
1. You have an app that runs on a <strong>page</strong> and therefore only selected the &#8220;Page tab&#8221; option in the developers panel.<br />
2. Your app needs authentication, meaning: your app requires certain <strong>permissions</strong>.<br />
3. The Permission box does not appear when you ask for permissions -OR- the permissions box does not redirect you to the page tab.<br />
<br/><br />
<strong>The solution:</strong><br />
I spent the better part of the day looking for a solution for this, without result. There are some posts about this problem, but no decent answers. What seems to be wrong is when you only select the &#8220;page tab&#8221; option in the developer panel (<a href="http://developers.facebook.com">developers.facebook.com</a> > select your app) the app doesn&#8217;t redirect to the authentication page. When you add the &#8220;Website&#8221; option however, the app does go to the authentication page!<br/><br />
The only problem now is that the redirect url is the one that you filled in in the &#8220;website&#8221; option. This is an easy fix, in your integration of your permission screen just fill in whatever page you want to redirect too like this (javascript, since I implement the page with the facebook javascript SDK):</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> APP_ID = <span style="color: #ff0000;">&quot;my_app_id_that_you_don't_get&quot;</span>;
<span style="color: #000000; font-weight: bold;">var</span> REDIRECT_URI = <span style="color: #ff0000;">&quot;YOUR_PAGE_HERE&quot;</span>;
<span style="color: #000000; font-weight: bold;">var</span> PERMS = <span style="color: #ff0000;">&quot;publish_stream&quot;</span>; <span style="color: #808080; font-style: italic;">//comma separated list, I only need publish</span></pre></div></div>

<p>Now this will only work for <em>one</em> fan page, since we hardcode the fan page in the redirect uri. if others add the application to their page they will be redirected to your page instead of their own. Totally cool for you, but not so user-friendly. Offcourse, I have a solution for that too:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> APP_ID = <span style="color: #ff0000;">&quot;my_app_id_that_you_don't_get&quot;</span>;
<span style="color: #000000; font-weight: bold;">var</span> REDIRECT_URI = document.<span style="color: #006600;">location</span>.<span style="color: #006600;">href</span>;
<span style="color: #000000; font-weight: bold;">var</span> PERMS = <span style="color: #ff0000;">&quot;publish_stream&quot;</span>;</pre></div></div>

<p>Much thanks goes out to my loyal testrabbit: <a href="http://www.artcoresociety.com">Artcore Society</a>&#8216;s own <strong>Robby Carlier</strong>.</p>
<p><strong>note:</strong> Accessing another domain from within an IFRAME is a security violation and will not be accepted by most browsers. You should disregard the last portion for now and insert the REDIRECT_URI hardcoded. I&#8217;ll look for a solution and post my findings.</p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.murtensaerbi.be%2Fblog%2Findex.php%2F2011%2F09%2F14%2Ffacebook-applications-how-to-get-one-on-your-fan-page-that-needs-authentication%2F&amp;layout=standard&amp;&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px;height:30px;margin-top:5px;"></iframe>]]></content:encoded>
			<wfw:commentRss>http://www.murtensaerbi.be/blog/index.php/2011/09/14/facebook-applications-how-to-get-one-on-your-fan-page-that-needs-authentication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firing up the blog again, oldskool style!</title>
		<link>http://www.murtensaerbi.be/blog/index.php/2011/09/14/firing-up-the-blog-again-oldskool-style/</link>
		<comments>http://www.murtensaerbi.be/blog/index.php/2011/09/14/firing-up-the-blog-again-oldskool-style/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 17:11:24 +0000</pubDate>
		<dc:creator>Murten</dc:creator>
				<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://www.murtensaerbi.be/blog/?p=448</guid>
		<description><![CDATA[After a small hiatus of sorts I am back in full force! Now working for the mighty Artcore Society &#8211; also known as my shiny, new company &#8211; I again find the urge to post samples, snippets and all sorts of internet randomness about flash/actionscript 3/facebook/mobile apps/etc&#8230; . Not because I like to spam the [...]]]></description>
			<content:encoded><![CDATA[<p>After a small hiatus of sorts I am back in full force! Now working for the mighty <a href="http://www.artcoresociety.com">Artcore Society</a> &#8211; also known as my shiny, new company &#8211; I again find the urge to post samples, snippets and all sorts of internet randomness about flash/actionscript 3/facebook/mobile apps/etc&#8230; . Not because I like to spam the interweb, no no, because of two reasons:</p>
<p>- Giving back to the community and receiving eternal internet fame.<br />
- Getting answers on questions that should be simple to solve but take me hours because some people simply neglect to document their code/api.</p>
<p>So, keep an eye open for <a href="http://www.artcoresociety.com" target="_blank">Artcore </a>news, snippets and examples. Oh, and like us on <a href="https://www.facebook.com/artcoresociety" target="_blank">Facebook</a>, too.</p>
<p>Cuz we&#8217;re totally kewl.</p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.murtensaerbi.be%2Fblog%2Findex.php%2F2011%2F09%2F14%2Ffiring-up-the-blog-again-oldskool-style%2F&amp;layout=standard&amp;&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px;height:30px;margin-top:5px;"></iframe>]]></content:encoded>
			<wfw:commentRss>http://www.murtensaerbi.be/blog/index.php/2011/09/14/firing-up-the-blog-again-oldskool-style/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Murten Saerbi featured on FPO!</title>
		<link>http://www.murtensaerbi.be/blog/index.php/2010/08/27/murten-saerbi-featured-on-fpo/</link>
		<comments>http://www.murtensaerbi.be/blog/index.php/2010/08/27/murten-saerbi-featured-on-fpo/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 18:29:55 +0000</pubDate>
		<dc:creator>Murten</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[business cards]]></category>
		<category><![CDATA[for print only]]></category>
		<category><![CDATA[FPO]]></category>
		<category><![CDATA[Murten Saerbi]]></category>

		<guid isPermaLink="false">http://www.murtensaerbi.be/blog/?p=443</guid>
		<description><![CDATA[The lovely people of Under Consideration were so good to feature my cards on their FPO blog. Since some of the most interesting &#8211; and just plain nice &#8211; print work in the world gets featured on FPO I consider this as a huge honour. Thanks alot, FPO! Check my link out over at the [...]]]></description>
			<content:encoded><![CDATA[<p>The lovely people of <a href="http://www.underconsideration.com/">Under Consideration</a> were so good to feature my cards on their <a href="http://www.underconsideration.com/fpo/archives/2010/08/murten-saerbi-business-cards.php">FPO blog</a>. Since some of the most interesting &#8211; and just plain nice &#8211; print work in the world gets featured on FPO I consider this as a huge honour. Thanks alot, FPO!</p>
<p>Check my link out over at the <a href="http://www.underconsideration.com/fpo/archives/2010/08/murten-saerbi-business-cards.php">FPO blog</a>.</p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.murtensaerbi.be%2Fblog%2Findex.php%2F2010%2F08%2F27%2Fmurten-saerbi-featured-on-fpo%2F&amp;layout=standard&amp;&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px;height:30px;margin-top:5px;"></iframe>]]></content:encoded>
			<wfw:commentRss>http://www.murtensaerbi.be/blog/index.php/2010/08/27/murten-saerbi-featured-on-fpo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Murten and Android 2.2: a love story.</title>
		<link>http://www.murtensaerbi.be/blog/index.php/2010/08/05/murten-and-android-2-2-a-love-story/</link>
		<comments>http://www.murtensaerbi.be/blog/index.php/2010/08/05/murten-and-android-2-2-a-love-story/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 22:12:20 +0000</pubDate>
		<dc:creator>Murten</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[android 2.2]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Froyo]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[Murten Saerbi]]></category>
		<category><![CDATA[remoteDroid]]></category>

		<guid isPermaLink="false">http://www.murtensaerbi.be/blog/?p=427</guid>
		<description><![CDATA[It&#8217;s been a while: It&#8217;s been a while indeed. I actually have alot of blogposts in draft but I didn&#8217;t really feel the need to complete them and if I don&#8217;t complete drafts nothing gets posted. Hence: the absence of posts. But why? My focus is expanding: Where I was used to developing flash content [...]]]></description>
			<content:encoded><![CDATA[<p><strong>It&#8217;s been a while:</strong><br />
It&#8217;s been a while indeed. I actually have alot of blogposts in draft but I didn&#8217;t really feel the need to complete them and if I don&#8217;t complete drafts nothing gets posted. Hence: the absence of posts. But why?<br />
<br/></p>
<p><strong>My focus is expanding:</strong><br />
Where I was used to developing flash content for the interweb I now feel the need to write stuff for mobile devices aswell. I bought a HTC desire (phone) a while ago and I love it (for as far you can love a phone, ofcourse). It is now running android 2.2 (Froyo) which supports flash 10, meaning: a decent flash version for mobile!</p>
<p>I automatically started to try out some of the flash sites I developed for the web (aah, curiosity!) on my phone and even when it&#8217;s ment to <em>just</em> work in a browser it works great on the phone aswell, which is offcourse nothing less than awesome!<br />
<br/></p>
<p><strong>Show me some stuff!</strong><br />
Yeah yeah, ofcourse you want to see some stuff. Well, something not developed by me but still cool nonetheless: <a href="http://www.remotedroid.net/">remote droid</a>. What is it, you say? Well, it&#8217;s a mouse and keyboard for your computer ON your phone! Exciting, no? </p>
<p>It&#8217;s actually really easy: you download the desktop computer app/laptop app <a href="http://www.remotedroid.net/RemoteDroidServer_v1.4.zip">here</a>, unzip it and double-click the &#8220;RemoteDroidServer.jar&#8221; file (you need a java runtime environment for that, which you can download <a href="http://www.java.com/en/download/manual.jsp">here</a>). Assuming you have an internet connection the app opens and says something like the following screenshot:</p>
<p><img src="http://www.murtensaerbi.be/blogFiles/remoteDroid.jpg" alt="remoteDroid" /></p>
<p><br/><br />
On your Android phone you just open up the marketplace and look for an app called &#8220;remoteDroid&#8221;. Installing it takes less than a minute and when you open it you just have to fill in the IP address the computer app says and you&#8217;re good to go!<br />
<br/><br />
Try it: it works like a charm!<br />
<br/></p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.murtensaerbi.be%2Fblog%2Findex.php%2F2010%2F08%2F05%2Fmurten-and-android-2-2-a-love-story%2F&amp;layout=standard&amp;&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px;height:30px;margin-top:5px;"></iframe>]]></content:encoded>
			<wfw:commentRss>http://www.murtensaerbi.be/blog/index.php/2010/08/05/murten-and-android-2-2-a-love-story/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Murten does greenpartners.be!</title>
		<link>http://www.murtensaerbi.be/blog/index.php/2010/04/19/murten-does-greenpartners-be/</link>
		<comments>http://www.murtensaerbi.be/blog/index.php/2010/04/19/murten-does-greenpartners-be/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 11:07:17 +0000</pubDate>
		<dc:creator>Murten</dc:creator>
				<category><![CDATA[showroom]]></category>
		<category><![CDATA[greenpartners]]></category>
		<category><![CDATA[Murten Saerbi]]></category>
		<category><![CDATA[sint-katelijne-waver]]></category>

		<guid isPermaLink="false">http://www.murtensaerbi.be/blog/?p=424</guid>
		<description><![CDATA[Greenpartners is a co-ooperative producers’ association of 73 vegetable growers and was in need for a new website so Murten Saerbi jumped up and made one for them! A really nice one, even if we say so ourselves. Don&#8217;t take our word for it: go check it out yourself over at greenpartners.be]]></description>
			<content:encoded><![CDATA[<p>Greenpartners is a co-ooperative producers’ association of 73 vegetable growers and was in need for a new website so Murten Saerbi jumped up and made one for them! A really nice one, even if we say so ourselves. Don&#8217;t take our word for it: go check it out yourself over at <a href="http://www.greenpartners.be">greenpartners.be</a></p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.murtensaerbi.be%2Fblog%2Findex.php%2F2010%2F04%2F19%2Fmurten-does-greenpartners-be%2F&amp;layout=standard&amp;&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px;height:30px;margin-top:5px;"></iframe>]]></content:encoded>
			<wfw:commentRss>http://www.murtensaerbi.be/blog/index.php/2010/04/19/murten-does-greenpartners-be/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>#quick snippet: UNIX Timestamp to as3 Date</title>
		<link>http://www.murtensaerbi.be/blog/index.php/2010/03/25/quick-snippet-unix-timestamp-to-as3-date/</link>
		<comments>http://www.murtensaerbi.be/blog/index.php/2010/03/25/quick-snippet-unix-timestamp-to-as3-date/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 11:22:38 +0000</pubDate>
		<dc:creator>Murten</dc:creator>
				<category><![CDATA[snippets]]></category>
		<category><![CDATA[actionscript 3.0]]></category>
		<category><![CDATA[Date class]]></category>
		<category><![CDATA[Murten Saerbi]]></category>
		<category><![CDATA[quick snippet]]></category>
		<category><![CDATA[UNIX timestamp]]></category>

		<guid isPermaLink="false">http://www.murtensaerbi.be/blog/?p=401</guid>
		<description><![CDATA[The problem: Our flashmovie fetches a Timestamp (UNIX) from some kind of backend code and you need to change this to a workable Date format. It&#8217;s actually pretty easy and almost totally standard in flash! Note: Flash handles time in milliseconds (think about the timerclass that expects 3000 if you want to time 3 seconds) [...]]]></description>
			<content:encoded><![CDATA[<p><strong>The problem:</strong><br />
Our flashmovie fetches a Timestamp (UNIX) from some kind of backend code and you need to change this to a workable Date format. It&#8217;s actually pretty easy and almost totally standard in flash!<br />
<br/><br />
<strong>Note:</strong><br />
Flash handles time in <strong>milliseconds </strong>(think about the timerclass that expects 3000 if you want to time 3 seconds) and the UNIX timestamp is a format based on <strong>seconds </strong>from the &#8220;first day&#8221; computers started to use the Gregorian Calendar. In short: the timestamp is defined as the number of seconds elapsed since midnight Universal Time (UTC) of January 1, 1970. Your computer keeps track of how many seconds have elapsed since then and the flash Date class expects this in milliseconds. Simply multiply your seconds with 1000 and you&#8217;re done. Easy peasy!<br />
<br/><br />
<strong>The solution:</strong><br />
A quick code snippet that&#8217;s even easy to read for &#8211; let&#8217;s say &#8211; mobile developers!</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">// replace the capitalized variable with your unix timestamp</span>
<span style="color: #808080; font-style: italic;">// multiply it with 1000 (remember my note above!)</span>
<span style="color: #000000; font-weight: bold;">var</span> currDate:<span style="color: #0066CC;">Date</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Date</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#40;</span>YOUR_TIMESTAMP_HERE<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">*</span><span style="color: #cc66cc;">1000</span><span style="color: #66cc66;">&#41;</span>; 
&nbsp;
<span style="color: #808080; font-style: italic;">// trace out the humanly readable values			</span>
<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span>currDate.<span style="color: #0066CC;">getDate</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span>currDate.<span style="color: #0066CC;">getMonth</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span>currDate.<span style="color: #0066CC;">getFullYear</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p><br/><br />
Done!<br />
<br/><br />
<strong>A real life flash example (DateDisplayer):</strong></p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_DateDisplayer_684079824"
			class="flashmovie"
			width="150"
			height="150">
	<param name="movie" value="http://www.murtensaerbi.be/blogFiles/DateDisplayer.swf" />
	<param name="wmode" value="transparent" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.murtensaerbi.be/blogFiles/DateDisplayer.swf"
			name="fm_DateDisplayer_684079824"
			width="150"
			height="150">
		<param name="wmode" value="transparent" />
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>Download this wonderful widget <a href="http://www.murtensaerbi.be/blogFiles/DateDisplayer.zip">here</a>!</p>
<p>Go now, my young actionscript children! Feed on my example and make me proud! Soon the world will be filled with actionscript 3.0 vampires!</p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.murtensaerbi.be%2Fblog%2Findex.php%2F2010%2F03%2F25%2Fquick-snippet-unix-timestamp-to-as3-date%2F&amp;layout=standard&amp;&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px;height:30px;margin-top:5px;"></iframe>]]></content:encoded>
			<wfw:commentRss>http://www.murtensaerbi.be/blog/index.php/2010/03/25/quick-snippet-unix-timestamp-to-as3-date/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Murten does Samsung StarTxT, cowboystyle!</title>
		<link>http://www.murtensaerbi.be/blog/index.php/2010/02/05/murten-does-samsung-startxt-cowboystyle/</link>
		<comments>http://www.murtensaerbi.be/blog/index.php/2010/02/05/murten-does-samsung-startxt-cowboystyle/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 21:24:02 +0000</pubDate>
		<dc:creator>Murten</dc:creator>
				<category><![CDATA[showroom]]></category>
		<category><![CDATA[content cowboys]]></category>
		<category><![CDATA[Murten Saerbi]]></category>
		<category><![CDATA[Samsung StarTxT]]></category>

		<guid isPermaLink="false">http://www.murtensaerbi.be/blog/?p=369</guid>
		<description><![CDATA[After the highly successful absolut band website the sexiest agency of Belgium (or atleast the hottest cowboys of Antwerp) asked Murten Saerbi once again to work with them on a new project: Samsung&#8217;s bepaal het verhaal (dutch)! The idea is simple: read the picture story on the website and fill in an sms on the [...]]]></description>
			<content:encoded><![CDATA[<p>After the highly successful <a href="http://www.theabsolutband.be/" target="_blank">absolut band</a> website the <a href="http://contentcowboys.com/" target="_blank">sexiest agency of Belgium</a> (or atleast the <a href="http://www.murtensaerbi.be/blog/index.php/2010/01/27/murten-updates-his-blog/" target="_blank">hottest cowboys of Antwerp</a>) asked Murten Saerbi once again to work with them on a new project: <a href="http://www.bepaalhetverhaal.be/nl/" target="_blank">Samsung&#8217;s bepaal het verhaal</a> (dutch)!<br/><br />
The idea is simple: read the picture story on the website and fill in an sms on the Samsung StarTxT that could fit at the end. If your entry gets picked out at the end of each vote week you get yourself one of those awesome new Samsung phones! Oh, what would Charlotte send Thomas? <strong>You decide!</strong></p>
<p><object width="340" height="296"><param name="movie" value="http://www.bepaalhetverhaal.be/nl/wp-content/themes/startxt/swf/badge.swf?eid=686&#038;elang=nl"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.bepaalhetverhaal.be/nl/wp-content/themes/startxt/swf/badge.swf?eid=686&#038;elang=nl" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="340" height="296"></embed></object></p>
<p>Check it out <a href="http://www.bepaalhetverhaal.be/nl" target="_blank">here</a> (flashwork done by Murten Saerbi).</p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.murtensaerbi.be%2Fblog%2Findex.php%2F2010%2F02%2F05%2Fmurten-does-samsung-startxt-cowboystyle%2F&amp;layout=standard&amp;&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px;height:30px;margin-top:5px;"></iframe>]]></content:encoded>
			<wfw:commentRss>http://www.murtensaerbi.be/blog/index.php/2010/02/05/murten-does-samsung-startxt-cowboystyle/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

