<?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>A Selfish Blog</title>
	<atom:link href="http://selfishing.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://selfishing.com</link>
	<description>Experimnents &#38; Excerpts from the web</description>
	<lastBuildDate>Sun, 17 Apr 2011 08:43:18 +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>Shirley Lev &#8211; Judaica &amp; Design</title>
		<link>http://selfishing.com/personal/shirley-lev-judaica-design/</link>
		<comments>http://selfishing.com/personal/shirley-lev-judaica-design/#comments</comments>
		<pubDate>Sun, 17 Apr 2011 08:43:18 +0000</pubDate>
		<dc:creator>Itay Noy</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://selfishing.com/?p=157</guid>
		<description><![CDATA[Shirley Lev &#8211; Judaica &#38; Design is a boutique studio managed by the talented Shirley Lev, A graduate of the &#8220;Bezalel&#8221; Academy of Arts and Design in Jerusalem, she also studied Jewish Philosophy at the Tel-Aviv University. Inspired by both spiritual elements and contemporary concepts, Shirley Lev combines high-tech techniques with traditional silversmithing.Lev designs and [...]]]></description>
			<content:encoded><![CDATA[<p>Shirley Lev &#8211; <a href="http://www.shirleylev.com">Judaica &amp; Design</a> is a boutique studio managed by the talented Shirley Lev, A graduate of the &#8220;Bezalel&#8221; Academy of Arts and Design in Jerusalem, she  also studied Jewish Philosophy at the Tel-Aviv University. Inspired by both spiritual elements and contemporary concepts, Shirley Lev combines high-tech techniques with traditional silversmithing.Lev designs and manufactures her creations by means of a unique combination of digital media and traditional silversmith&#8217;s techniques.</p>
<p>Until recently these items where only available on selected shops as the Israel National Museum shop, The Tel-Aviv Museum shop and a few high-end e-commerce site like uncommongoods.com, as of april 2011 Shirley Lev is launching her new website which will function as an online catalog for her latest work and a boutique Judaica shop.</p>
<div class="wp-caption alignleft" style="width: 310px"><a href="http://www.shirleylev.com"><img title="Shirley Lev - Judaica &amp; design" src="http://www.shirleylev.com/images/logo.png" alt="Judaica &amp; Mezuzah  Design" width="300" height="50" /></a><p class="wp-caption-text">Judaica &amp; Mezuzah  Design</p></div>
<p>&#8220;I photograph the images that will appear on the designed object, process the imagery and use photochemical etching to imprint the images on the metal.&#8221;<br />
This technique enables the designer to achieve very high levels of accuracy on miniature, intricate designs. These can then be rendered on very thin metal surfaces creating a texture similar to lace. The result is both contemporary and exclusive in appearance.<br />
Beneath the metal design, Lev integrates colored surfaces that emphasize the texture and lend a vivid quality to the ornaments. The end result has a delicate colorfulness, elegance and warmth.</p>
]]></content:encoded>
			<wfw:commentRss>http://selfishing.com/personal/shirley-lev-judaica-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Real-time video pixelate effect for flash</title>
		<link>http://selfishing.com/flash/real-time-video-pixelate-effect-for-flash/</link>
		<comments>http://selfishing.com/flash/real-time-video-pixelate-effect-for-flash/#comments</comments>
		<pubDate>Tue, 08 Feb 2011 18:25:11 +0000</pubDate>
		<dc:creator>Itay Noy</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://selfishing.com/?p=152</guid>
		<description><![CDATA[Pixel bender comes with a pixelate filter sample from Adobe which is written very carelessly to say the least. I&#8217;ve tried creating a better version of that shader using a smarter sampling algorithm. The filter can be downloaded here demo:]]></description>
			<content:encoded><![CDATA[<p>Pixel bender comes with a pixelate filter sample from Adobe which is written very carelessly to say the least.<br />
I&#8217;ve tried creating a better version of that shader using a smarter sampling algorithm.<br />
<a style="font-size: 18px; font-weight: bold; color: #221100;" href="http://activeden.net/item/realtime-video-pixelate-effect/157276?ref=fishkebab" target="_blank">The filter can be downloaded here</a></p>
<p>demo:<br />
<object style="width: 640px; height: 600px;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="600" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.selfishing.com/media/flash/pixelate.swf" /><embed style="width: 640px; height: 600px;" type="application/x-shockwave-flash" width="640" height="600" src="http://www.selfishing.com/media/flash/pixelate.swf"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://selfishing.com/flash/real-time-video-pixelate-effect-for-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google apps login not working from Outlook?</title>
		<link>http://selfishing.com/web/google-apps-login-not-working-from-outlook/</link>
		<comments>http://selfishing.com/web/google-apps-login-not-working-from-outlook/#comments</comments>
		<pubDate>Sun, 05 Dec 2010 10:27:51 +0000</pubDate>
		<dc:creator>Itay Noy</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://selfishing.com/?p=122</guid>
		<description><![CDATA[A lot of my clients are using &#8220;google apps&#8221; as their mail service, and outlook as their mail client. I just got a call from one of them saying outlook 2007 was giving &#8220;Enter Network Password&#8221; prompt no matter what he did. we tried everything, reinstalled the Outlook account, changed the password, disable/enabled POP and [...]]]></description>
			<content:encoded><![CDATA[<p>A lot of my clients are using &#8220;google apps&#8221; as their mail service, and outlook as their mail client.<br />
I just got a call from one of them saying outlook 2007 was giving &#8220;Enter Network Password&#8221; prompt no matter what he did.</p>
<p>we tried everything, reinstalled the Outlook account, changed the password, disable/enabled POP and IMAP, but no&#8230; the solution is doing some google voodoo on this page: https://www.google.com/a/[your domain].com/UnlockCaptcha. (change [your domain] to&#8230; the domain you&#8217;re using for google apps)</p>
<p>you can read the entire help section at:  <a href="http://mail.google.com/support/bin/answer.py?answer=14257">http://mail.google.com/support/bin/answer.py?answer=14257</a></p>
<p>good luck, and don&#8217;t forget to uninstall Outlook after this.</p>
]]></content:encoded>
			<wfw:commentRss>http://selfishing.com/web/google-apps-login-not-working-from-outlook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qbox for iPad</title>
		<link>http://selfishing.com/personal/qbox-for-ipad/</link>
		<comments>http://selfishing.com/personal/qbox-for-ipad/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 15:10:58 +0000</pubDate>
		<dc:creator>Itay Noy</dc:creator>
				<category><![CDATA[iPad]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://selfishing.com/?p=107</guid>
		<description><![CDATA[The owl is out there&#8230; Qbox is a challenging word game made by Qwizzly, it was release more than a year ago to selected casual gaming sites and received very good reviews and millions of game plays. Together with Seza Waller from Startdl.com and Shay Finkelstein of Dataphase we&#8217;ve created a special edition of the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="qbox icon" src="http://www.itaynoy.com/qbox/images/main_icon.png" alt="" width="95" height="95" /></p>
<h3><span>The owl is out there&#8230;</span></h3>
<p>Qbox is a challenging word game made by Qwizzly, it was release more than a year ago to selected casual gaming sites and received very good reviews and millions of game plays.</p>
<p>Together with Seza Waller from Startdl.com and Shay Finkelstein of Dataphase we&#8217;ve created a special edition of the game for iPad. we&#8217;ve added new quotes new graphics, more sounds and fixed the time limit on levels, we&#8217;ve also added a more relaxed practice mode for learning the game without the time limit.</p>
<p>You can download the game at the <a href="http://itunes.apple.com/app/qbox/id392916564">Qbox game page on itunes </a>or go to the <a href="http://www.itaynoy.com/qbox/">Qbox game mini-site.</a></p>
<p>if you have a blog and want to write a review about the  game, you can ask me for a promotion code at <a href="mailto:itay@codemcode.com">itay@codemcode.com </a></p>
<p><img class="alignnone" title="qbox screen shot " src="http://www.itaynoy.com/qbox/images/2.png" alt="" width="640" /></p>
]]></content:encoded>
			<wfw:commentRss>http://selfishing.com/personal/qbox-for-ipad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook share popup not showing (in IE)</title>
		<link>http://selfishing.com/flash/facebook-share-popup-not-showing-in-ie/</link>
		<comments>http://selfishing.com/flash/facebook-share-popup-not-showing-in-ie/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 22:40:49 +0000</pubDate>
		<dc:creator>Itay Noy</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://selfishing.com/?p=99</guid>
		<description><![CDATA[I just finished writing the Zagat Survey Photo Contest, and the last thing I had to deal with was the facebook share button seemed to be broken, well no in real browsers just in IE, to make an annoying story short &#8211; I found out the share popup was actually working it was just hiding [...]]]></description>
			<content:encoded><![CDATA[<p>I just finished writing the <a title="Zagat photos" href="http://www.zagatphotos.com/" target="_blank">Zagat Survey Photo Contest</a>, and the last thing I had to deal with was the facebook share button seemed to be broken, well no in real browsers just in IE, to make an annoying story short &#8211; I found out the share popup was actually working it was just hiding BEHIND the main flash component, which for performance reasons was set to wmode=&#8221;window&#8221;</p>
<p>So remember,  IE+FLASH+FB:SHARE = display:&#8217;popup&#8217;</p>
<p>The full share code:</p>

<div class="wp_syntax"><div class="code"><pre class="js" style="font-family:monospace;">var share = {
&nbsp;
	method: 'stream.publish',
	display:'popup',
	message: 'Upload a photo for your chance to win a trip for two to Wynn Las Vegas!',
	attachment: {
		name: 'Zagat Survey',
		caption: 'Zagat Survey Photo Contest',
		description: (
			'Take a picture of a anything that says Zagat, easily upload it by visiting zagatphotos.com and you could win The Ultimate Getaway for two at Wynn Las Vegas!'
		),
		href: 'http://www.zagatphotos.com',
		media:[{type: 'image', src: 'http://www.zagatphotos.com/images/logo.jpg', href: &quot;http://www.zagatphotos.com&quot;}]
	},
	action_links: [
		{ text: 'Join contest', href: 'http://www.zagatphotos.com/' }
	],
	user_message_prompt: 'win a trip for two to Wynn Las Vegas!'
};
&nbsp;
	FB.ui(share, function(response) {console.log(response)});</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://selfishing.com/flash/facebook-share-popup-not-showing-in-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nextgen gallery thickbox not working in IE</title>
		<link>http://selfishing.com/javascript/nextgen-gallery-thickbox-not-working-in-ie/</link>
		<comments>http://selfishing.com/javascript/nextgen-gallery-thickbox-not-working-in-ie/#comments</comments>
		<pubDate>Wed, 06 Oct 2010 17:55:19 +0000</pubDate>
		<dc:creator>Itay Noy</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://selfishing.com/?p=89</guid>
		<description><![CDATA[Can it be something is not working in IE8? oh my&#8230; I wanted a fast gallery for some blog I&#8217;m putting up, I was like a little bunny from outer space, thinking only good thoughts and believing the world is a perfect place, until I checked my work in Internet Explorer (papapapaaaa.. - &#8220;scary sound&#8220;). [...]]]></description>
			<content:encoded><![CDATA[<h3>Can it be something is not working in IE8? oh my&#8230;</h3>
<p>I wanted a fast gallery for some blog I&#8217;m putting up, I was like a little bunny from outer space, thinking only good thoughts and believing the world is a perfect place, until I checked my work in Internet Explorer (papapapaaaa.. <em>- &#8220;scary sound</em>&#8220;). The problem was when clicking a thumbnail in the gallery &#8211; a thickbox with the full image is suppose to come up, this works in browsers but not in IE.</p>
<p>I looked to the left, to the right and then in google, all I could find was some fix for chrome that mr. <strong>Alex Rabe </strong>has already implemented into his app. how annnnoying!</p>
<p>I&#8217;ve found out it has something to do with the way internet explorer is dealing with the &#8220;onload&#8221; event for images.<br />
&#8220;somthing to do&#8221; in combination with IE is enough for me to look for a workaround and not a permanent fix,  so if you&#8217;re having this  problem (which is probably why you&#8217;re here)  goto:</p>
<p><strong>plugins&gt;nextgen-gallery&gt;shutter&gt;shutter-reloaded.js </strong></p>
<p>change these lines (130-133):</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">D.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">'
&nbsp;
&lt;div id=&quot;shWrap&quot;&gt;&lt;img id=&quot;shTopImg&quot; title=&quot;'</span> <span style="color: #339933;">+</span> t.<span style="color: #660066;">msgClose</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">'&quot; onclick=&quot;shutterReloaded.hideShutter();&quot; alt=&quot;&quot; /&gt;'</span> <span style="color: #339933;">+</span> NavBar <span style="color: #339933;">+</span><span style="color: #3366CC;">'&lt;/div&gt;
&nbsp;
&nbsp;
'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">//Google Chrome 4.0.249.78 bug for onload attribute</span>
document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'shTopImg'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">src</span> <span style="color: #339933;">=</span> shutterLinks<span style="color: #009900;">&#91;</span>ln<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">link</span><span style="color: #339933;">;</span></pre></div></div>

<p>to this:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">D.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">'
&nbsp;
&lt;div id=&quot;shWrap&quot;&gt;&lt;img id=&quot;shTopImg&quot; title=&quot;'</span> <span style="color: #339933;">+</span> t.<span style="color: #660066;">msgClose</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">'&quot; onclick=&quot;shutterReloaded.hideShutter();&quot; src=&quot;'</span><span style="color: #339933;">+</span>shutterLinks<span style="color: #009900;">&#91;</span>ln<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">link</span><span style="color: #339933;">+</span><span style="color: #3366CC;">'&quot; alt=&quot;&quot; /&gt;'</span> <span style="color: #339933;">+</span> NavBar <span style="color: #339933;">+</span><span style="color: #3366CC;">'&lt;/div&gt;
&nbsp;
&nbsp;
'</span><span style="color: #339933;">;</span>
&nbsp;
document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'shTopImg'</span><span style="color: #009900;">&#41;</span>.<span style="color: #000066;">onload</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    shutterReloaded.<span style="color: #660066;">showImg</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
setTimeout<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'shTopImg'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">src</span> <span style="color: #339933;">=</span> shutterLinks<span style="color: #009900;">&#91;</span>ln<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">link</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">250</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>if this doesn&#8217;t work &#8211; then you should probably do the usual  run-&gt; format C:/</p>
]]></content:encoded>
			<wfw:commentRss>http://selfishing.com/javascript/nextgen-gallery-thickbox-not-working-in-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My new Cincopa plugin</title>
		<link>http://selfishing.com/web/my-new-cincopa-plugin/</link>
		<comments>http://selfishing.com/web/my-new-cincopa-plugin/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 12:42:28 +0000</pubDate>
		<dc:creator>Itay Noy</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[streaming]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://selfishing.com/?p=55</guid>
		<description><![CDATA[I&#8217;ve just got a recommendation to try the  cincopa plugin for WordPress, so I did. it works great I don&#8217;t have to deal with any encoding, uploading or embedding and i could also view this post using my iPhone and got to see the video! I found the user interface can be adjusted so it [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just got a recommendation to try the  <a href="http://www.cincopa.com" target="_blank">cincopa</a> plugin for WordPress, so I did.<br />
it works great I don&#8217;t have to deal with any encoding, uploading or embedding and i could also view this post using my iPhone and got to see the video!</p>
<p>I found the user interface can be adjusted so it fits humans a little better and the quality on iPhone wasn&#8217;t that great but I hear this is all being improved and their team works on this issues.</p>
<p>here&#8217;s a sample player and video using their platform. enjoy.</p>
<p><div id="_cp_widget_4fb8772c8bd31"><img alt="Powered by Cincopa WordPress plugin" src="http://www.cincopa.com/wpplugin/runtime/loading.gif" style="border:0;"/>Another great product from Cincopa <a href="http://www.cincopa.com/mediasend/start.aspx">Send Files</a>. Cincopa <a href="http://www.cincopa.com/wpplugin/wordpress-plugin.aspx">video hosting</a> solution for your website.
</div>
<!-- Powered by Cincopa WordPress plugin wp1.56: http://www.cincopa.com/wpplugin/wordpress-plugin.aspx -->
<script type="text/javascript">document.getElementById("_cp_widget_4fb8772c8bd31").innerHTML='<img src="http://www.cincopa.com/wpplugin/runtime/loading.gif" />';</script>
<script src="http://www.cincopa.com/wpplugin/runtime/libasync.js" type="text/javascript"></script>
<script type="text/javascript">
cp_load_widget("%5Bcincopa+10590039%5D", "_cp_widget_4fb8772c8bd31");
</script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://selfishing.com/web/my-new-cincopa-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook Multi-Friend-Selector in iframe application</title>
		<link>http://selfishing.com/php/facebook-multi-friend-selector-in-iframe-application/</link>
		<comments>http://selfishing.com/php/facebook-multi-friend-selector-in-iframe-application/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 18:43:40 +0000</pubDate>
		<dc:creator>Itay Noy</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[facebook]]></category>

		<guid isPermaLink="false">http://selfishing.com/?p=39</guid>
		<description><![CDATA[took me two hours today to figure this one out &#8211; how to let my users invite their friend to some Facebook app I&#8217;m developing, everything I looked at sent me to the same javascript SDK solution &#8211; &#8220;just use a little of FBML and you&#8217;re all set&#8230;&#8221;. Well iframe applications in Facebook  don&#8217;t support [...]]]></description>
			<content:encoded><![CDATA[<p>took me two hours today to figure this one out &#8211; how to let my users invite their friend to some Facebook app I&#8217;m developing, everything I looked at sent me to the same javascript SDK solution &#8211; &#8220;just use a little of FBML and you&#8217;re all set&#8230;&#8221;. Well iframe applications in Facebook  don&#8217;t support most FBML so a server side solution is needed.</p>
<p>the next code snippet is nothing I wrote myself, it just took me hours to find so I thought I might as well post it here with a link to their page so it pops up higher in Google. I modified the code a little so it works inside my FB connector Class. you can find the original version <a href="http://wiki.developers.facebook.com/index.php/Talk:Multi_friend_selector#Working_sample_of_Multi_Friend_Selector_for_IFRAME_applications" target="_self">here</a>.</p>
<p>here is my code:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">const</span> FB_API_KEY         <span style="color: #339933;">=</span> <span style="color: #0000ff;">'kaklhgkajhgkjhgkjdfhgkjdhgkljsdhklsjdhgsk'</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">const</span> FB_SECRET         <span style="color: #339933;">=</span> <span style="color: #0000ff;">';kjfdg09uq34t0jqeofpjie0pv34q'</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">const</span> FB_APPID             <span style="color: #339933;">=</span> <span style="color: #0000ff;">'12121212121212'</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">const</span> FB_CANVAS_URL     <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://apps.facebook.com/app/'</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">const</span> FB_APP_HOME_URL    <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://www.website.com/'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> SendNewRequest<span style="color: #009900;">&#40;</span><span style="color: #000088;">$to</span><span style="color: #339933;">,</span> <span style="color: #000088;">$typeword</span><span style="color: #339933;">,</span> <span style="color: #000088;">$content</span><span style="color: #339933;">,</span> <span style="color: #000088;">$actionText</span><span style="color: #339933;">,</span> <span style="color: #000088;">$bInvitation</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #000088;">$facebook</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">self</span><span style="color: #339933;">::</span><span style="color: #000088;">$FB</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$bInviteAll</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$to</span> <span style="color: #339933;">||</span> <span style="color: #000088;">$to</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;&quot;</span> ? <span style="color: #009900; font-weight: bold;">true</span> <span style="color: #339933;">:</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$excludeFriends</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$bInviteAll</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
<span style="color: #666666; font-style: italic;">// Get all friends</span>
<span style="color: #000088;">$excludeFriends</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$facebook</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>api_client<span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>friends_get<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #b1b100;">else</span><span style="color: #009900;">&#123;</span>
<span style="color: #666666; font-style: italic;">// Get all friends with the app</span>
<span style="color: #000088;">$excludeFriends</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$facebook</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>api_client<span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>friends_getAppUsers<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000088;">$excludeFriendsStr</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$excludeFriends</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$userid</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #000088;">$pos</span> <span style="color: #339933;">=</span> <span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$to</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#40;</span>string<span style="color: #009900;">&#41;</span><span style="color: #000088;">$userid</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$pos</span> <span style="color: #339933;">!==</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span>
<span style="color: #b1b100;">continue</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$excludeFriendsStr</span><span style="color: #009900;">&#41;</span>
<span style="color: #000088;">$excludeFriendsStr</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">','</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$excludeFriendsStr</span> <span style="color: #339933;">.=</span> <span style="color: #000088;">$userid</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000088;">$params</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$params</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'api_key'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">self</span><span style="color: #339933;">::</span><span style="color: #004000;">FB_API_KEY</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$params</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'content'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$content</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Don't use htmlentities() or urlencode() here</span>
<span style="color: #000088;">$params</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'type'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$typeword</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$params</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'action'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">self</span><span style="color: #339933;">::</span><span style="color: #004000;">FB_CANVAS_URL</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$params</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'actiontext'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$actionText</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$params</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'invite'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$bInvitation</span> ? <span style="color: #0000ff;">'true'</span> <span style="color: #339933;">:</span> <span style="color: #0000ff;">'false'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$params</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'rows'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'5'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$params</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'max'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'20'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$params</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'exclude_ids'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$excludeFriendsStr</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$params</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'sig'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$facebook</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>generate_sig<span style="color: #009900;">&#40;</span><span style="color: #000088;">$params</span><span style="color: #339933;">,</span> <span style="color: #000000; font-weight: bold;">self</span><span style="color: #339933;">::</span><span style="color: #004000;">FB_SECRET</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$qstring</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$params</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$key</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$qstring</span><span style="color: #009900;">&#41;</span>
<span style="color: #000088;">$qstring</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'&amp;amp;'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$qstring</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$key</span>=&quot;</span><span style="color: #339933;">.</span><span style="color: #990000;">urlencode</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000088;">$inviteUrl</span>  <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://www.facebook.com/multi_friend_selector.php?'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$facebook</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>redirect<span style="color: #009900;">&#40;</span><span style="color: #000088;">$inviteUrl</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$qstring</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">return</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>This code make a redirect to the selector page. I really wanted my &#8220;invite friends&#8221; button to open a popup for the friend selector but from what I read it is impossible.<br />
if you found out how to do this or know its possible I would love to hear about it.</p>
]]></content:encoded>
			<wfw:commentRss>http://selfishing.com/php/facebook-multi-friend-selector-in-iframe-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pixel Bender &#8211; tv noise</title>
		<link>http://selfishing.com/flash/pixel-bender-tv-noise/</link>
		<comments>http://selfishing.com/flash/pixel-bender-tv-noise/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 18:32:21 +0000</pubDate>
		<dc:creator>Itay Noy</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Pixel Bender]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://selfishing.com/?p=11</guid>
		<description><![CDATA[I&#8217;ve always managed to avoid using Pixel Bender even though everybody around me (well not everybody just the super geeks) said it was exactly what I need. I love the combination of technology and arts and Pixel Bender kind of lets you have fun with both and pretty fast too. so I&#8217;ve been playing with [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve always managed to avoid using Pixel Bender even though everybody around me (well not everybody just the super geeks) said it was exactly what I need.<br />
I love the combination of technology and arts and Pixel Bender kind of lets you have fun with both and pretty fast too.<br />
so I&#8217;ve been playing with it a little today and finally got this little cool tv noise effect (or kernel*) going.</p>
<p><a href="http://activeden.net/item/animated-tv-noise-effect-using-pixel-bender-filter/155383?ref=fishkebab" target="_blank" style='font-size:18px;font-weight:bold;color:#221100'>download the filter here</a></p>
<p>you can view a demo of this here:<br />
<span style="font-size: 10px;">[ click anywhere to change  video feed].</span></p>
<p><object style="width: 640px; height: 600px;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="600" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.selfishing.com/media/flash/tvnoise.swf" /><embed style="width: 640px; height: 600px;" type="application/x-shockwave-flash" width="640" height="600" src="http://www.selfishing.com/media/flash/tvnoise.swf"></embed></object></p>
<p>*word of the day</p>
]]></content:encoded>
			<wfw:commentRss>http://selfishing.com/flash/pixel-bender-tv-noise/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shalomolam!</title>
		<link>http://selfishing.com/personal/hello-world/</link>
		<comments>http://selfishing.com/personal/hello-world/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 09:01:45 +0000</pubDate>
		<dc:creator>Itay Noy</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[itay noy]]></category>

		<guid isPermaLink="false">http://selfishing.com/?p=1</guid>
		<description><![CDATA[Hey ho, so I&#8217;ve finally did it! installed WordPress and ready for some serious bloggin&#8217;, I&#8217;ve been around developing flash and PHP since 2001 and I&#8217;ve seen a lot of changes in the web,  platforms, technologies and trends. in this blog I will try to document and archive my experiments and experience for future reference [...]]]></description>
			<content:encoded><![CDATA[<p>Hey ho,</p>
<p>so I&#8217;ve finally did it! installed WordPress and ready for some serious bloggin&#8217;,<br />
I&#8217;ve been around developing flash and PHP since 2001 and I&#8217;ve seen a lot of changes in the web,  platforms, technologies and trends. in this blog I will try to document and archive my experiments and experience for future reference for myself and anybody who&#8217;s interested.</p>
<p><span style="text-decoration: line-through;">comments and friendly interaction are always welcome.</span> ok, I didn&#8217;t really mean it &#8211; my little Indian spammer!</p>
]]></content:encoded>
			<wfw:commentRss>http://selfishing.com/personal/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

