<?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>Silverlight &#124; WPF &#124; Microsoft.Net &#187; PHP</title>
	<atom:link href="http://joel.neubeck.net/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://joel.neubeck.net</link>
	<description>Simplifing structure without changing results</description>
	<lastBuildDate>Wed, 26 May 2010 18:43:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Facebook Developers Garage Presentation</title>
		<link>http://joel.neubeck.net/2007/11/fdg-phx-presentation/</link>
		<comments>http://joel.neubeck.net/2007/11/fdg-phx-presentation/#comments</comments>
		<pubDate>Fri, 16 Nov 2007 22:00:40 +0000</pubDate>
		<dc:creator>joel</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Presentations]]></category>
		<category><![CDATA[Terralever]]></category>
		<category><![CDATA[facebook]]></category>

		<guid isPermaLink="false">http://joel.neubeck.net/2007/11/fdg-phx-presentation/</guid>
		<description><![CDATA[On November 14th @ the Tempe Center for the Arts Terralever hosted Phoenix’s first Facebook Developer’s Garage. The event was a great success.  I especially enjoyed the presentations by Chris Johnson  of Terralever and Dave Morin of Facebook. I encourage everyone to look at Chris slides on marketing a Facebook application. For those of you who might be interested [...]]]></description>
			<content:encoded><![CDATA[<p><a rel="lightbox[pics-1195942360]" href="http://joel.neubeck.net/wp-content/uploads/2007/10/fb_garage.jpg" title="Facebook - Developers Garage - Phoenix"><img width="125" src="http://joel.neubeck.net/wp-content/uploads/2007/10/fb_garage.thumbnail.jpg" alt="Facebook - Developers Garage - Phoenix" height="200" class="imageframe imgalignleft" /></a><span style="color: #333333; font-family: 'Trebuchet MS','sans-serif'" lang="EN">On November 14th @ the Tempe Center for the Arts Terralever hosted Phoenix’s first Facebook Developer’s Garage. The event was a great success.  I especially enjoyed the presentations by <a href="http://www.facebook.com/profile.php?id=515434240"><font color="#0000ff">Chris Johnson</font></a>  of Terralever and <a href="http://www.facebook.com/profile.php?id=10200882"><font color="#0000ff">Dave Morin</font></a> of Facebook. I encourage everyone to look at Chris slides on marketing a Facebook application. For those of you who might be interested in what I spoke about take a look at my 15 min presentation on the “Anatomy of a Facebook App”  With so little time,  I was unable to jump to deep into the platform, but managed to get through the basic steps to create a your first Facebook Application.<o:p></o:p></span></p>
<p style="line-height: 19.2pt"><span style="color: #333333; font-family: 'Trebuchet MS','sans-serif'" lang="EN">Download: <a target="_blank" href="http://joel.neubeck.net/wp-content/uploads/2007/11/fdgphx_joel_neubeck.ppt"><font color="#0000ff">Anatomy of a Facebook Application</font></a><br />
Date: November 14, 2007<br />
Location: Tempe Center for the Arts</span></p>
]]></content:encoded>
			<wfw:commentRss>http://joel.neubeck.net/2007/11/fdg-phx-presentation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook &#8211; feed.publishTemplatizedAction</title>
		<link>http://joel.neubeck.net/2007/10/facedbook-feedpublishtemplatizedaction/</link>
		<comments>http://joel.neubeck.net/2007/10/facedbook-feedpublishtemplatizedaction/#comments</comments>
		<pubDate>Sun, 14 Oct 2007 17:00:35 +0000</pubDate>
		<dc:creator>joel</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[fbml]]></category>

		<guid isPermaLink="false">http://joel.neubeck.net/2007/10/facedbook-feedpublishtemplatizedaction/</guid>
		<description><![CDATA[This past week Facebook added a new method on their REST server for sending news and mini feed stories. The method is “feed.publishTemplatizedAction” and the intent of this method is to replace the existing “feed.publishActionOfUser” with a method that is more “templatized”. Here is a sample we created which is a combination of static text [...]]]></description>
			<content:encoded><![CDATA[<p>This past week Facebook added a new method on their REST server for sending news and mini feed stories. The method is <b>“feed.publishTemplatizedAction”</b> and the intent of this method is to replace the existing “feed.publishActionOfUser” with a method that is more “templatized”. Here is a sample we created which is a combination of static text and data we gathered from a RSS feed. When a users first installs our application we will publish this news story.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
</pre></td><td class="code"><pre class="" style="font-family:monospace;">actor_id: <span style="">555555555</span>
title_template:   <span class="br0">&#123;</span>actor<span class="br0">&#125;</span> &lt;fb:if-multiple-actors&gt;are&lt;fb:else&gt;is&lt;/fb:else&gt;
           &lt;/fb:if-multiple-actors&gt; exploring the web’s premier collection of 
            student-produced digital media Made on a Mac. 
title_data: 
body_template: &lt;b&gt;&quot;<span class="br0">&#123;</span>title<span class="br0">&#125;</span>&quot;&lt;/b&gt; Made by &lt;i&gt;<span class="br0">&#123;</span>author<span class="br0">&#125;</span>&lt;/i&gt;  
           - See it at the &lt;a href=&quot;http://url/item.php?itemID=<span class="br0">&#123;</span>id<span class="br0">&#125;</span>&quot;&gt;
           Apple Student Gallery&lt;/a&gt; 
body_data: <span class="br0">&#123;</span>&quot;title&quot;:&quot;Lost&quot;, &quot;author&quot;:&quot;Jared A. Jaworski&quot;,&quot;id&quot;:<span style="">13243</span><span class="br0">&#125;</span> 
body_general: 
image_1: http://url/resize3.php?image=/109.jpg 
image_1_link: http://url/resize4.php?image=/109.jpg 
target_ids:</pre></td></tr></table></div>

<p><img width="436" src="http://joel.neubeck.net/wp-content/uploads/2007/10/fb_news1.gif" alt="Sample" height="302" class="imageframe imgalignleft" /><br />
As illustrated in the sample, if multiple users publish stories where both the title_template and body_template markup strings are identical, as well as the title_data and body_data arrays, then Facebook may aggregated the stories together.  When this occurs, the {actor} token is replaced with the names of all of the users whose actions are being aggregated.   Also note, that the only valid HTML tags supported in the template is the &lt;a&gt;, &lt;b&gt; and &lt;i&gt;.</p>
<p>For more information check out Facebooks wiki at <a href="http://wiki.developers.facebook.com/index.php/Feed.publishTemplatizedAction">Feed.publishTemplatizedAction<br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://joel.neubeck.net/2007/10/facedbook-feedpublishtemplatizedaction/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
