<?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>Visualrinse &#124; Design and Development by Chad Udell &#187; PHP</title>
	<atom:link href="http://visualrinse.com/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://visualrinse.com</link>
	<description>Design, Development, Technology and My Life.</description>
	<lastBuildDate>Thu, 22 Sep 2011 23:21:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>How To: Make a Simple RSS Reader with Adobe Flex</title>
		<link>http://visualrinse.com/2008/09/14/how-to-make-a-simple-rss-reader-with-adobe-flex/</link>
		<comments>http://visualrinse.com/2008/09/14/how-to-make-a-simple-rss-reader-with-adobe-flex/#comments</comments>
		<pubDate>Mon, 15 Sep 2008 03:11:18 +0000</pubDate>
		<dc:creator>Chad</dc:creator>
				<category><![CDATA[Mashups]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[School]]></category>

		<guid isPermaLink="false">http://visualrinse.com/?p=410</guid>
		<description><![CDATA[A little over a year ago, I converted my then dormant domain, Mediadinosaur.com, into a gossip focused news aggregator (previously, it was a media/celeb focused community and blog). It now captures feeds from a number of high profile celebrity rags (Egostastic, TMZ, E!, WWTD, etc) and lets you get your fan fix in one centralized [...]]]></description>
			<content:encoded><![CDATA[<p>A little over a year ago, I converted my then dormant domain, <a href="http://mediadinosaur.com" target="_blank">Mediadinosaur.com</a>, into a gossip focused news aggregator (previously, it was a media/celeb focused community and blog). It now captures feeds from a number of high profile celebrity rags (<a href="http://egotastic.com" target="_blank">Egostastic</a>, <a href="http://www.tmz.com/" target="_blank">TMZ</a>, E!, <a href="http://wwtd.com" target="_blank">WWTD</a>, etc) and lets you get your fan fix in one centralized place. I built it in Flex to highlight the ease of use of the Framework and the power that the HTTPService and E4X gives you in getting and parsing XML. I&#8217;m using the site as an exercise for my Mashups and RIAs class as an introduction to developing with Flex and a easing into the concept of reading and using XML feeds and services for students that may have never used either of them. So let&#8217;s take a look at how this all comes together.<span id="more-410"></span></p>
<p>Here is the site today:</p>
<p><img class="alignnone size-full wp-image-411" title="md_home" src="http://visualrinse.com/wp-content/uploads/2008/09/md_home.jpg" alt="" width="500" height="270" /></p>
<p>In this post, we&#8217;ll look at the site and find out what makes it tick. Here&#8217;s a quick overview: The interface is simple, it consists of only a ComboBox, a DataGrid, a TextArea, a couple Labels/Text components and a LinkButton. All of these Controls are placed in an assortment of Layout controls to assist with the overall look and feel. I then create a HTTPService and a couple quick AS3 functions to populate the ComboBox and handle feed results. The initial feedlist comes from a list of RSS feeds in a custom written XML file (which I&#8217;ll share in this post, as well), this could also come from an online service like a custom Yahoo pipe or an OPML file if you really wanted to get fancy.</p>
<p>After the basic app is functioning, I import one of Scalenine&#8217;s beautiful and easy to use skins, and voil?†. A feed reader for local filesystem use is ready. This could be run as a SWF or compiled as an AIR app for desktop use. However, if you want to put it online, you&#8217;ll need to use a middleware script to serve as a crossdomain proxy loader (this example is going to use PHP). This is needed to get around Flash player&#8217;s security sandbox which prevents you from loading XML files from other domains that lack a crossdomain.xml file.</p>
<p>Let&#8217;s examine the basic MXML markup before adding any AS3 or style calls:</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
14
15
16
17
18
19
20
21
22
23
</pre></td><td class="code"><pre>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; layout=&quot;absolute&quot; backgroundGradientColors=&quot;[#0099CC, #2383ac]&quot;&gt;
	&lt;mx:HTTPService id=&quot;feedList&quot; url=&quot;data/feedURLs.xml&quot; /&gt;
	&lt;mx:HTTPService id=&quot;mdFeed&quot; showBusyCursor=&quot;true&quot; useProxy=&quot;false&quot; /&gt;
	&lt;mx:VBox width=&quot;100%&quot; height=&quot;100%&quot;&gt;
		&lt;mx:HBox width=&quot;90%&quot; height=&quot;40&quot;&gt;
			&lt;mx:Label text=&quot;Choose a Site:&quot;/&gt;
			&lt;mx:ComboBox id=&quot;siteCombo&quot; labelField=&quot;name&quot; /&gt;
		&lt;/mx:HBox&gt;
		&lt;mx:Text width=&quot;90%&quot; color=&quot;#000000&quot;
		       text=&quot;Drag the divider up and down to resize the panel.&quot;/&gt;
		&lt;mx:VDividedBox height=&quot;100%&quot; width=&quot;100%&quot;&gt;
			&lt;mx:DataGrid id=&quot;mdGrid&quot; labelField=&quot;Choose a Site&quot; height=&quot;60%&quot; width=&quot;100%&quot;&gt;
			&lt;mx:columns&gt;
				&lt;mx:DataGridColumn headerText=&quot;The Dirt&quot; dataField=&quot;title&quot; /&gt;
				&lt;mx:DataGridColumn headerText=&quot;The Date&quot; width=&quot;100&quot; dataField=&quot;pubDate&quot;/&gt;
			&lt;/mx:columns&gt;
			&lt;/mx:DataGrid&gt;
			&lt;mx:TextArea right=&quot;10&quot; top=&quot;234&quot; bottom=&quot;50&quot; left=&quot;10&quot; width=&quot;100%&quot; height=&quot;30%&quot;/&gt;
		&lt;/mx:VDividedBox&gt;
		&lt;mx:LinkButton label=&quot;Read the Full Post&quot; bottom=&quot;10&quot; left=&quot;10&quot; width=&quot;150&quot;/&gt;
	&lt;/mx:VBox&gt;
&lt;/mx:Application&gt;</pre></td></tr></table></div>

<p>So, in the markup above, we create the visual components mentioned in the paragraph that preceded the source code, and add two HTTPServices, one for the list of all the feeds we are aggregating, and the other for the actual RSS feed data that we will retrieve once the user chooses a feed they want to review. </p>
<p>Here is a glance of the interface in Flex&#8217;s IDE:</p>
<p><img class="alignnone size-full wp-image-412" title="md_ide" src="http://visualrinse.com/wp-content/uploads/2008/09/md_ide.jpg" alt="" width="500" height="284" /></p>
<p>In order to add the interactivity, we&#8217;ll need to supply a list of feeds for the reader to parse, right? Here is the list of sites and the URLs for their RSS feeds in XML:</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="xml"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;sites<span style="font-weight: bold; color: black;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;site</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;egotastic.com&quot;</span>	<span style="color: #000066;">data</span>=<span style="color: #ff0000;">&quot;http://egotastic.com/feeds/index.xml&quot;</span> <span style="font-weight: bold; color: black;">/&gt;</span></span>
	<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;site</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;wwtdd.com&quot;</span>	<span style="color: #000066;">data</span>=<span style="color: #ff0000;">&quot;http://www.wwtdd.com/?mode=atom&quot;</span> <span style="font-weight: bold; color: black;">/&gt;</span></span>
	<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;site</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;defamer&quot;</span>	<span style="color: #000066;">data</span>=<span style="color: #ff0000;">&quot;http://www.defamer.com/excerpts.xml&quot;</span> <span style="font-weight: bold; color: black;">/&gt;</span></span>
	<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;site</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;superficial&quot;</span>	<span style="color: #000066;">data</span>=<span style="color: #ff0000;">&quot;http://www.thesuperficial.com/index.xml&quot;</span> <span style="font-weight: bold; color: black;">/&gt;</span></span>
	<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;site</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;idontlikeyouinthatway&quot;</span>	<span style="color: #000066;">data</span>=<span style="color: #ff0000;">&quot;http://feeds.feedburner.com/Idontlikeyouinthatwaycom&quot;</span> <span style="font-weight: bold; color: black;">/&gt;</span></span>
	<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;site</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;people.com&quot;</span>	<span style="color: #000066;">data</span>=<span style="color: #ff0000;">&quot;http://www.people.com/people/web/rss&quot;</span> <span style="font-weight: bold; color: black;">/&gt;</span></span>
	<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;site</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;eonline.com&quot;</span>	<span style="color: #000066;">data</span>=<span style="color: #ff0000;">&quot;http://www.eonline.com/everywhere/rss/index.jsp&quot;</span> <span style="font-weight: bold; color: black;">/&gt;</span></span>
	<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;site</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;tmz.com&quot;</span>	<span style="color: #000066;">data</span>=<span style="color: #ff0000;">&quot;http://www.tmz.com/rss.xml&quot;</span> <span style="font-weight: bold; color: black;">/&gt;</span></span>
	<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;site</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;usweekly.com&quot;</span> <span style="color: #000066;">data</span>=<span style="color: #ff0000;">&quot;http://64.90.166.18/atom/feed&quot;</span> <span style="font-weight: bold; color: black;">/&gt;</span></span>
	<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;site</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;CelebSlam&quot;</span> <span style="color: #000066;">data</span>=<span style="color: #ff0000;">&quot;http://www.celebslam.com/feed/&quot;</span> <span style="font-weight: bold; color: black;">/&gt;</span></span>
	<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;site</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;I Can Haz&quot;</span> <span style="color: #000066;">data</span>=<span style="color: #ff0000;">&quot;http://feeds.feedburner.com/ICanHasCheezburger?format=xml&quot;</span> <span style="font-weight: bold; color: black;">/&gt;</span></span>
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/sites<span style="font-weight: bold; color: black;">&gt;</span></span></span></pre></td></tr></table></div>

<p>Now that we have the XML ready, we need to add the MXML to get the feed to the application tag (creationComplete=feedList.send());):</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>2
</pre></td><td class="code"><pre>&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; layout=&quot;absolute&quot; creationComplete=&quot;feedList.send()&quot; backgroundGradientColors=&quot;[#0099CC, #2383ac]&quot;&gt;</pre></td></tr></table></div>

<p>Once we have the feedList retreived, we need to do something with it, right? Well, let&#8217;s add it to the comboBox, &#8220;siteCombo&#8221;. Here&#8217;s the AS to do it:</p>

<div class="wp_syntax"><div class="code"><pre>[Bindable]
private var sites:ArrayCollection = new ArrayCollection();
&nbsp;
private function siteListHandler(event:ResultEvent):void{
	sites = event.result.sites.site;
	var siteObj:Object = new Object();
	siteObj.name = &quot;Select&quot;
	siteObj.url = &quot;&quot;;
	sites.addItemAt(siteObj,0);
	siteCombo.selectedIndex = 0;
	//trace(event.result);
 }</pre></div></div>

<p>In that snippet, we created an arrayCollection to store the result. We then add the initial null &#8220;Select&#8221; option to the comboBox. We also need to add the databinding to the &#8220;sites&#8221; comboBox, so that it can be populated with the list of sites. Let&#8217;s do that now:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>8
</pre></td><td class="code"><pre>&lt;mx:ComboBox id=&quot;siteCombo&quot; dataProvider=&quot;{sites}&quot; labelField=&quot;name&quot; /&gt;</pre></td></tr></table></div>

<p>With the sites ComboBox binded (bound?) to the feedList, we need to add the function to handle the change event, so when the user selects a feed, the RSS feed is loaded. Here it is:</p>

<div class="wp_syntax"><div class="code"><pre>public function chooseSiteFeed(url:String, name:String):void{
myURL = url;
mdFeed.send();
}</pre></div></div>

<p>Now that the mdFeed is triggered, what do we do? Well, it would be a good idea to bind the mdFeed results to the datagrid, right? Then we can see all the posts in the feed:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>13
</pre></td><td class="code"><pre>&lt;mx:DataGrid id=&quot;mdGrid&quot; labelField=&quot;Choose a Site&quot; dataProvider=&quot;{mdFeed.lastResult.rss.channel.item}&quot; height=&quot;60%&quot; width=&quot;100%&quot;&gt;</pre></td></tr></table></div>

<p>Now that the datagrid is getting fed with the tasty RSS results, we need to let the user read the description and then click a link to see the full post, right?</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>19
20
21
22
</pre></td><td class="code"><pre>&lt;mx:TextArea right=&quot;10&quot; top=&quot;234&quot; bottom=&quot;50&quot; left=&quot;10&quot; width=&quot;100%&quot; height=&quot;30%&quot;/&gt;
		&lt;/mx:VDividedBox&gt;
		&lt;mx:LinkButton label=&quot;Read the Full Post&quot; bottom=&quot;10&quot; left=&quot;10&quot; width=&quot;150&quot;/&gt;
	&lt;/mx:VBox&gt;</pre></td></tr></table></div>

<p>That should work&#8230; If not, don&#8217;t worry, I&#8217;m supplying the full MXML source. But first, let&#8217;s make sure we can use this little RSS reader on your site. In order to do this, we need to leverage some serverside scripting in order to load the RSS feed via a proxy script. This will let your SWF file make a call to the script, then script handles the external URL call, returning the result as a local XML file for your flash file. Here is what the PHP looks like:</p>

<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
	<span style="color: #808080; font-style: italic;">// PHP Proxy</span>
	<span style="color: #808080; font-style: italic;">// Loads a XML from any location. Used with Flash/Flex apps to bypass security restrictions</span>
	<span style="color: #808080; font-style: italic;">// Author: Paulo Fierro</span>
	<span style="color: #808080; font-style: italic;">// January 29, 2006</span>
	<span style="color: #808080; font-style: italic;">// usage: proxy.php?url=http://mysite.com/myxml.xml</span>
&nbsp;
	<span style="color: #0000ff;">$session</span> = curl_init<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$_GET</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'url'</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>; 	               <span style="color: #808080; font-style: italic;">// Open the Curl session</span>
	curl_setopt<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$session</span>, CURLOPT_HEADER, <span style="color: #000000; font-weight: bold;">false</span><span style="color: #66cc66;">&#41;</span>; 	       <span style="color: #808080; font-style: italic;">// Don't return HTTP headers</span>
	curl_setopt<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$session</span>, CURLOPT_RETURNTRANSFER, <span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">&#41;</span>;   <span style="color: #808080; font-style: italic;">// Do return the contents of the call</span>
	<span style="color: #0000ff;">$xml</span> = curl_exec<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$session</span><span style="color: #66cc66;">&#41;</span>; 	                       <span style="color: #808080; font-style: italic;">// Make the call</span>
	<span style="color: #000066;">header</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Content-Type: text/xml&quot;</span><span style="color: #66cc66;">&#41;</span>; 	               <span style="color: #808080; font-style: italic;">// Set the content type appropriately</span>
	<span style="color: #000066;">echo</span> <span style="color: #0000ff;">$xml</span>; 	      <span style="color: #808080; font-style: italic;">// Spit out the xml</span>
	curl_close<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$session</span><span style="color: #66cc66;">&#41;</span>; <span style="color: #808080; font-style: italic;">// And close the session</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>So, make yourself a proxyURL.php file with that content in it and save it. If you go back and modifiy the mdFeed function to use the proxy script, everything should be in order&#8230; Here, in totality, is the app:</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
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
</pre></td><td class="code"><pre>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; layout=&quot;absolute&quot; creationComplete=&quot;feedList.send()&quot; backgroundGradientColors=&quot;[#0099CC, #2383ac]&quot;&gt;
	&lt;mx:Script&gt;
		import mx.collections.ArrayCollection;
		import mx.rpc.events.ResultEvent;
		import mx.effects.Resize;
&nbsp;
		[Bindable]
		private var sites:ArrayCollection = new ArrayCollection();
		[Bindable]
		public var myURL:String; 
&nbsp;
		private function siteListHandler(event:ResultEvent):void{
			sites = event.result.sites.site;
			var siteObj:Object = new Object();
			siteObj.name = &quot;Select&quot;
			siteObj.url = &quot;&quot;;
			sites.addItemAt(siteObj,0);
			siteCombo.selectedIndex = 0;
		 	//trace(event.result);
		 }
&nbsp;
		 public function chooseSiteFeed(url:String, name:String):void{
		 	myURL = &quot;proxyURL.php?url=&quot; + url;
       		mdFeed.send();
		 }
&nbsp;
	&lt;/mx:Script&gt;
	&lt;mx:Style source=&quot;css/OSX.css&quot; /&gt;
	&lt;mx:HTTPService id=&quot;feedList&quot; url=&quot;data/feedURLs.xml&quot; result=&quot;siteListHandler(event)&quot;/&gt;
	&lt;mx:HTTPService id=&quot;mdFeed&quot; url=&quot;{myURL}&quot; showBusyCursor=&quot;true&quot; useProxy=&quot;false&quot; /&gt;
	&lt;mx:VBox width=&quot;100%&quot; height=&quot;100%&quot;&gt;
		&lt;mx:HBox width=&quot;90%&quot; height=&quot;40&quot;&gt;
			&lt;mx:Label text=&quot;Choose a Site:&quot;/&gt;
			&lt;mx:ComboBox id=&quot;siteCombo&quot; dataProvider=&quot;{sites}&quot; labelField=&quot;name&quot; change=&quot;chooseSiteFeed(ComboBox(event.target).selectedItem.data, ComboBox(event.target).selectedItem.name)&quot; /&gt;
		&lt;/mx:HBox&gt;
		&lt;mx:Text width=&quot;90%&quot; color=&quot;#000000&quot;
		       text=&quot;Drag the divider up and down to resize the panel.&quot;/&gt;
		&lt;mx:VDividedBox height=&quot;100%&quot; width=&quot;100%&quot;&gt;
			&lt;mx:DataGrid id=&quot;mdGrid&quot; labelField=&quot;Choose a Site&quot; dataProvider=&quot;{mdFeed.lastResult.rss.channel.item}&quot; height=&quot;60%&quot; width=&quot;100%&quot;&gt;
			&lt;mx:columns&gt;
				&lt;mx:DataGridColumn headerText=&quot;The Dirt&quot; dataField=&quot;title&quot; /&gt;
				&lt;mx:DataGridColumn headerText=&quot;The Date&quot; width=&quot;100&quot; dataField=&quot;pubDate&quot;/&gt;
			&lt;/mx:columns&gt;
			&lt;/mx:DataGrid&gt;
			&lt;mx:TextArea htmlText=&quot;{mdGrid.selectedItem.description}&quot; right=&quot;10&quot; top=&quot;234&quot; bottom=&quot;50&quot; left=&quot;10&quot; width=&quot;100%&quot; height=&quot;30%&quot;/&gt;
		&lt;/mx:VDividedBox&gt;
		&lt;mx:LinkButton label=&quot;Read the Full Post&quot; click=&quot;navigateToURL(new URLRequest(mdGrid.selectedItem.link));&quot; bottom=&quot;10&quot; left=&quot;10&quot; width=&quot;150&quot;/&gt;
	&lt;/mx:VBox&gt;
&lt;/mx:Application&gt;</pre></td></tr></table></div>

<p>IN the code I also loaded the OSX skin from <a href="http://scalenine.com">Scalenine</a>. So there you have it. Pretty easy, really, though I understand I may not have explained it all as well as possible. It&#8217;s just easier when you are actually going through things in front of a lab or class. If you have questions on how it all works, feel free to drop me a line. You can download the source, <a href="/files/MD.zip">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://visualrinse.com/2008/09/14/how-to-make-a-simple-rss-reader-with-adobe-flex/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Saw Cloverfield&#8230; It was awesome&#8230; Now, the questions.</title>
		<link>http://visualrinse.com/2008/01/20/saw-cloverfield-it-was-awesome-now-the-questions/</link>
		<comments>http://visualrinse.com/2008/01/20/saw-cloverfield-it-was-awesome-now-the-questions/#comments</comments>
		<pubDate>Sun, 20 Jan 2008 19:37:35 +0000</pubDate>
		<dc:creator>Chad</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://visualrinse.com/2008/01/20/saw-cloverfield-it-was-awesome-now-the-questions/</guid>
		<description><![CDATA[The movie lived up to the interent hype for me. The hand-held camera stuff did make me a bit queasy, I&#8217;ll admit. I am happy that it ended the way it did. Certainly creates some questions for me, though&#8230; Stop reading if you don&#8217;t want spoilers&#8230; What company was Rob going to work for? Was [...]]]></description>
			<content:encoded><![CDATA[<p>The movie lived up to the interent hype for me. The hand-held camera stuff did make me a bit queasy, I&#8217;ll admit. I am happy that it ended the way it did. Certainly creates some questions for me, though&#8230; Stop reading if you don&#8217;t want spoilers&#8230;</p>
<ol>
<li>What company was Rob going to work for? Was it the company in the viral sites for the movie? Tagruato? Seems like it would make sense, but maybe be to convenient/cheesy.</li>
<li>What stirred the monster up? Offshore drilling? Is this an environmental statement?</li>
<li>Is the &#8220;hammer-down&#8221; a tactical nuke strike?</li>
<li>Was the monster destroyed?</li>
<li>How was the camera/tape not destroyed in the &#8220;hammer-down&#8221;?</li>
<li>What is in the parasites bite that causes the victim to burst/explode?</li>
<li>What were those air sac things on Clover&#8217;s head?</li>
<li>How much would a monster that size need to eat?</li>
<li>If the monster is living at a depth sufficient to hide it for millenia, what kind of food could be available down there?</li>
<li>Does it eat <a href="http://cloverfield.despoiler.org/index.php?title=Kaitei_no_mitsu">this stuff</a> (used to make Slusho)?</li>
<li>Did Tagruato&#8217;s harvesting of the &#8220;Seabed&#8217;s Nectar&#8221; cause it to come looking for food?</li>
<li>¬†Did the monster actually come from <a href="http://cloverfield.despoiler.org/index.php?title=Bold_Futura" target="_blank">outer space</a>?</li>
<li>Or did the parasites come from outer space and wake the monster?</li>
<li>Did the parasites eat the monster&#8217;s food causing it to leave it&#8217;s habitat?</li>
</ol>
<p>I&#8217;m really interested in hearing from other people that have seen the movie&#8230; What do you think? So many questions&#8230; Maybe Cloverfield 2 will answer &#8216;em&#8230; hmmm.</p>
]]></content:encoded>
			<wfw:commentRss>http://visualrinse.com/2008/01/20/saw-cloverfield-it-was-awesome-now-the-questions/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>GeSHi for AS3 and MXML?</title>
		<link>http://visualrinse.com/2007/09/16/geshi-for-as3-and-mxml/</link>
		<comments>http://visualrinse.com/2007/09/16/geshi-for-as3-and-mxml/#comments</comments>
		<pubDate>Sun, 16 Sep 2007 15:00:20 +0000</pubDate>
		<dc:creator>Chad</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://visualrinse.com/2007/09/16/geshi-for-as3-and-mxml/</guid>
		<description><![CDATA[I&#8217;ve done a little looking around and can&#8217;t seem to find any files for adding AS3 and MXML syntax highlighting to GeSHi. For those that don&#8217;t know, GeSHi stands for Generic Syntax Highlighter and is a library of PHP scripts that allows for nice source code highlighting/coloring for many different languages when you surround the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve done a <a href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1514657&amp;group_id=114997&amp;atid=670234" target="_blank">little looking around</a> and can&#8217;t seem to find any files for adding AS3 and MXML syntax highlighting to <a href="http://qbnz.com/highlighter/" target="_blank">GeSHi</a>. For those that don&#8217;t know, GeSHi stands for Generic Syntax Highlighter and is a library of PHP scripts that allows for nice source code highlighting/coloring for many different languages when you surround the code with simple HTML elements (e.g &lt;pre lang=&#8221;html&#8221;&gt;my code&lt;/pre&gt;). Actionscript 1/2 is currently supported and so is XML, but as far as I can tell (looking at the Sourceforge site, and doing some Googling), no work has been done on MXML/AS3.</p>
<p>Does anyone out there know differently? If it hasn&#8217;t been done yet, I may spend some time getting these going&#8230; I think MXML would come together quicky, as it could be made by hacking the XML file a bit&#8230; AS3 could be made from the existing AS file, but would require a bit more work.</p>
<p>If you know anything about the status of this work, please comment here.  I certainly don&#8217;t want to build something that&#8217;s already done.</p>
]]></content:encoded>
			<wfw:commentRss>http://visualrinse.com/2007/09/16/geshi-for-as3-and-mxml/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CakePHP + AMFPHP + Flex = some crazy great stuff?</title>
		<link>http://visualrinse.com/2007/03/06/cakephp-amfphp-flex-some-crazy-great-stuff/</link>
		<comments>http://visualrinse.com/2007/03/06/cakephp-amfphp-flex-some-crazy-great-stuff/#comments</comments>
		<pubDate>Wed, 07 Mar 2007 03:31:08 +0000</pubDate>
		<dc:creator>Chad</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://visualrinse.com/2007/03/06/cakephp-amfphp-flex-some-crazy-great-stuff/</guid>
		<description><![CDATA[I can only imagine. At work we have a really nice CakePHP app built to generate XML and someother nice stuff for some offline Flash apps we use. It works great. The front end for the Cake app is HTML/AJAX and it&#8217;s nice, but works pretty poorly in IE6. Since some of our clients are [...]]]></description>
			<content:encoded><![CDATA[<p>I can only imagine. At work we have a really nice CakePHP app built to generate XML and someother nice stuff for some offline Flash apps we use. It works great. The front end for the Cake app is HTML/AJAX and it&#8217;s nice, but works pretty poorly in IE6. Since some of our clients are on IE6, and probably will be until their IT staff gets a good virus or worm scare that makes them realize it&#8217;s probably time to move to IE7&#8230; it&#8217;s probably in our best interest to have an app that works well in the IE6 mess. I&#8217;m not against AJAX&#8230; I&#8217;m not really pro Flex. But the fact that the UI will look and behave the same in any browser with Flash 9 is pretty darn awesome IMHO. CakePHP has some AMFPHP support, just wondering if anyone has built some tutorials or examples out there using the three of them together&#8230; Flex, AMFPHP and Cake, that is&#8230; I&#8217;d like to get an idea of how to go about this before I jump.</p>
<p>I figure, if I&#8217;m going niche, I&#8217;m going niche. There&#8217;s probably like a couple hundred people out there speaking that kind of acronym soup, so I apologize to my family that checks on my blog from time to time. Please, check out the photo links on the right hand sidebar and forget the geek speak. <img src='http://visualrinse.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://visualrinse.com/2007/03/06/cakephp-amfphp-flex-some-crazy-great-stuff/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

