<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Mastering the Flickr API with PHP and cURL</title>
	<atom:link href="http://blog.darkcrimson.com/2009/11/mastering-the-flickr-api-with-php-and-curl/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.darkcrimson.com/2009/11/mastering-the-flickr-api-with-php-and-curl/</link>
	<description>The Blog of Ben Lister</description>
	<lastBuildDate>Wed, 21 Jul 2010 18:37:10 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ben Lister</title>
		<link>http://blog.darkcrimson.com/2009/11/mastering-the-flickr-api-with-php-and-curl/comment-page-1/#comment-411</link>
		<dc:creator>Ben Lister</dc:creator>
		<pubDate>Sat, 17 Jul 2010 22:50:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=34#comment-411</guid>
		<description>Hi David, I responded to your email a moment ago but to share the answer publicly, it appears there was an extra comma at the end of the &lt;code&gt;$params&lt;/code&gt; that could potentially cause an error in certain versions of PHP. I&#039;ve also updated the tutorial to reflect this fix.</description>
		<content:encoded><![CDATA[<p>Hi David, I responded to your email a moment ago but to share the answer publicly, it appears there was an extra comma at the end of the <code>$params</code> that could potentially cause an error in certain versions of PHP. I&#8217;ve also updated the tutorial to reflect this fix.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://blog.darkcrimson.com/2009/11/mastering-the-flickr-api-with-php-and-curl/comment-page-1/#comment-410</link>
		<dc:creator>David</dc:creator>
		<pubDate>Fri, 16 Jul 2010 15:03:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=34#comment-410</guid>
		<description>Hi, I hope you may be able to help..

I&#039;ve followed the tutorial through but can&#039;t get it working.. I&#039;ve put my (non-pro account) API key into the code, moved the img src code into the right place but when I try loading it on my local xampp server I get an error..

Parse error: syntax error, unexpected &#039;&lt;&#039; in K:\xampp\htdocs\darkcrimson.php  on line 47

where line 47 is



Can you / someone spot what is wrong?

I&#039;d love this to work! Looks spot on for what I want to do and you code was fairly easy to follow.. I thought! :-)

Any help would be great, thanks</description>
		<content:encoded><![CDATA[<p>Hi, I hope you may be able to help..</p>
<p>I&#8217;ve followed the tutorial through but can&#8217;t get it working.. I&#8217;ve put my (non-pro account) API key into the code, moved the img src code into the right place but when I try loading it on my local xampp server I get an error..</p>
<p>Parse error: syntax error, unexpected &#8216;&lt;&#039; in K:\xampp\htdocs\darkcrimson.php  on line 47</p>
<p>where line 47 is</p>
<p>Can you / someone spot what is wrong?</p>
<p>I&#8217;d love this to work! Looks spot on for what I want to do and you code was fairly easy to follow.. I thought! <img src='http://blog.darkcrimson.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Any help would be great, thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://blog.darkcrimson.com/2009/11/mastering-the-flickr-api-with-php-and-curl/comment-page-1/#comment-408</link>
		<dc:creator>David</dc:creator>
		<pubDate>Thu, 15 Jul 2010 13:15:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=34#comment-408</guid>
		<description>Hi,

I&#039;ve just been following your tutorial above, but can&#039;t get it to work.  I&#039;ve changed the API to my own (a non-pro Flickr account), and copied the src= code block in, but (running on Xampp if it makes any difference) get a parse error..

Parse error: syntax error, unexpected &#039;&lt;&#039; in F:\xampp\htdocs\myfile.php on line 50

Do you know how to fix this? I can&#039;t see where the error is!

Any help greatly appreciated.

p.s. Shouldn&#039;t it be  
$photo_title       = $photo[&#039;title&#039;];   rather than $photo_title       = $photo[&#039;secret&#039;];   ?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;ve just been following your tutorial above, but can&#8217;t get it to work.  I&#8217;ve changed the API to my own (a non-pro Flickr account), and copied the src= code block in, but (running on Xampp if it makes any difference) get a parse error..</p>
<p>Parse error: syntax error, unexpected &#8216;&lt;&#039; in F:\xampp\htdocs\myfile.php on line 50</p>
<p>Do you know how to fix this? I can&#039;t see where the error is!</p>
<p>Any help greatly appreciated.</p>
<p>p.s. Shouldn&#039;t it be<br />
$photo_title       = $photo[&#039;title&#039;];   rather than $photo_title       = $photo[&#039;secret&#039;];   ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Lister</title>
		<link>http://blog.darkcrimson.com/2009/11/mastering-the-flickr-api-with-php-and-curl/comment-page-1/#comment-281</link>
		<dc:creator>Ben Lister</dc:creator>
		<pubDate>Wed, 06 Jan 2010 22:29:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=34#comment-281</guid>
		<description>Doug,

Sorry for the delay in response  and confusion:

 I actually was missing a line in that code block where the urlencode is used on the $params variable.

$encoded_params = array();   should be proceeded by:

foreach ($params as $k =&gt; $v){ $encoded_params[] = urlencode($k).&#039;=&#039;.urlencode($v); }</description>
		<content:encoded><![CDATA[<p>Doug,</p>
<p>Sorry for the delay in response  and confusion:</p>
<p> I actually was missing a line in that code block where the urlencode is used on the $params variable.</p>
<p>$encoded_params = array();   should be proceeded by:</p>
<p>foreach ($params as $k => $v){ $encoded_params[] = urlencode($k).&#8217;=&#8217;.urlencode($v); }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug Avery</title>
		<link>http://blog.darkcrimson.com/2009/11/mastering-the-flickr-api-with-php-and-curl/comment-page-1/#comment-279</link>
		<dc:creator>Doug Avery</dc:creator>
		<pubDate>Sun, 27 Dec 2009 03:51:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=34#comment-279</guid>
		<description>Forgive me if I&#039;m just missing something, but how do the parameters become &quot;encoded_params&quot; in your example? I&#039;m not a big PHP person, so I&#039;m not sure what I&#039;d use to normalize these params before concatenation to the URL.

Thanks!</description>
		<content:encoded><![CDATA[<p>Forgive me if I&#8217;m just missing something, but how do the parameters become &#8220;encoded_params&#8221; in your example? I&#8217;m not a big PHP person, so I&#8217;m not sure what I&#8217;d use to normalize these params before concatenation to the URL.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
