<?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>For Your Lungs Only &#187; actionscript</title>
	<atom:link href="http://www.foryourlungsonly.net/category/actionscript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.foryourlungsonly.net</link>
	<description>Everything you wanted to know about web development, espresso, typography, nicotine, user interface design, whiskey, javascript, php, cascading style sheets, css hacks, beer, prototype, jquery, mysql, usability and accessiblity (but were afraid to ask)</description>
	<lastBuildDate>Mon, 14 Jun 2010 22:08:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Flickr + PHP + XML + Flash = Fun</title>
		<link>http://www.foryourlungsonly.net/2008/11/12/flickr-php-xml-flash-fun/</link>
		<comments>http://www.foryourlungsonly.net/2008/11/12/flickr-php-xml-flash-fun/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 00:51:42 +0000</pubDate>
		<dc:creator>Jonathan Harriot</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[gnu gpl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress plugins]]></category>

		<guid isPermaLink="false">http://www.foryourlungsonly.net/?p=46</guid>
		<description><![CDATA[PHPFlickr is a really neat little package that makes implementation of Flickr&#8217;s API quick and painless. I tried various techniques to create a slideshow for a client with LyteBox to enlarge the images but I slowly grew tired of the animation and the functionality that almost no one for this specific project would use. So [...]]]></description>
			<content:encoded><![CDATA[<p>PHPFlickr is a really neat little package that makes implementation of Flickr&#8217;s API quick and painless. I tried various techniques to create a slideshow for a client with LyteBox to enlarge the images but I slowly grew tired of the animation and the functionality that almost no one for this specific project would use. So I grabbed a small SWF slideshow from my toolbox and went to work creating a simple script to grab the photos and output the image URI I needed without creating bulky code. Here is what I came up with to make this easier for myself:<span id="more-46"></span></p>
<pre><code>&lt;?
photosets_getPhotos($photoset_id, NULL, NULL, 15, 1);

	// create a random interval for the timer between 6 and 10 seconds
	$randomnumber= rand(6,10);

	// create an array to output as xml
	$xml_output = "\n";
	foreach ((array)$photos['photo'] as $photo) {
		$xml_output .= "<img alt="" />buildPhotoURL($photo, "medium") . "\" ";
		$xml_output .= "/&gt;\n";
		$i++;
	}
	$xml_output .= "\n";
	echo $xml_output;

	// you're done!
?&gt;</code></pre>
<p>Simple and straight forward.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.foryourlungsonly.net/2008/11/12/flickr-php-xml-flash-fun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.263 seconds -->
