<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: phpFlickr 1.4.3, now with more interestingess</title>
	<link>http://phpflickr.com/2006/01/05/phpflickr-143-now-with-more-interestingess/</link>
	<description></description>
	<pubDate>Sat, 22 Nov 2008 02:41:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Ugo</title>
		<link>http://phpflickr.com/2006/01/05/phpflickr-143-now-with-more-interestingess/#comment-60</link>
		<dc:creator>Ugo</dc:creator>
		<pubDate>Tue, 07 Feb 2006 10:01:45 +0000</pubDate>
		<guid>http://phpflickr.com/2006/01/05/phpflickr-143-now-with-more-interestingess/#comment-60</guid>
		<description>Hi Dan.

First of all, thanks for developing and making phpFlickr available.

The examples given on phpFlickr home did not work at first. After some debugging I found that the problem was the proxy of the HTTP_Request package of PEAR not being set.
The simple fix was to add one line to function phpFlickr of phpFlickr.php:


    function phpFlickr ($api_key, $secret = NULL, $die_on_error = true)
    {
    //The API Key must be set before any calls can be made. You can
    //get your own at http://www.flickr.com/services/api/misc.api_keys.html
    $this-&#62;api_key = $api_key;
    $this-&#62;secret = $secret;
    $this-&#62;die_on_error = $die_on_error;

    //All calls to the API are done via the POST method using the PEAR::HTTP_Request package.
    require_once 'HTTP/Request.php';
    $this-&#62;req =&#38; new HTTP_Request();
&lt;strong&gt;    $this-&#62;req-&#62;setProxy( &lt;em&gt;your_proxy_here&lt;/em&gt;, &lt;em&gt;port_number_here&lt;/em&gt; );
&lt;/strong&gt;    $this-&#62;req-&#62;setMethod(HTTP_REQUEST_METHOD_POST);

    //setup XML parser using Aaron Colflesh’s XML class.
    $this-&#62;xml_parser = new xml(false, true, true);
    }

I thought you may want to add a note to the readme to point this thing out.

Regards
Ugo</description>
		<content:encoded><![CDATA[<p>Hi Dan.</p>
<p>First of all, thanks for developing and making phpFlickr available.</p>
<p>The examples given on phpFlickr home did not work at first. After some debugging I found that the problem was the proxy of the HTTP_Request package of PEAR not being set.<br />
The simple fix was to add one line to function phpFlickr of phpFlickr.php:</p>
<p>    function phpFlickr ($api_key, $secret = NULL, $die_on_error = true)<br />
    {<br />
    //The API Key must be set before any calls can be made. You can<br />
    //get your own at <a href="http://www.flickr.com/services/api/misc.api_keys.html" rel="nofollow">http://www.flickr.com/services/api/misc.api_keys.html</a><br />
    $this-&gt;api_key = $api_key;<br />
    $this-&gt;secret = $secret;<br />
    $this-&gt;die_on_error = $die_on_error;</p>
<p>    //All calls to the API are done via the POST method using the PEAR::HTTP_Request package.<br />
    require_once &#039;HTTP/Request.php&#039;;<br />
    $this-&gt;req =&amp; new HTTP_Request();<br />
<strong>    $this-&gt;req-&gt;setProxy( <em>your_proxy_here</em>, <em>port_number_here</em> );<br />
</strong>    $this-&gt;req-&gt;setMethod(HTTP_REQUEST_METHOD_POST);</p>
<p>    //setup XML parser using Aaron Colflesh’s XML class.<br />
    $this-&gt;xml_parser = new xml(false, true, true);<br />
    }</p>
<p>I thought you may want to add a note to the readme to point this thing out.</p>
<p>Regards<br />
Ugo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://phpflickr.com/2006/01/05/phpflickr-143-now-with-more-interestingess/#comment-34</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Thu, 12 Jan 2006 19:17:16 +0000</pubDate>
		<guid>http://phpflickr.com/2006/01/05/phpflickr-143-now-with-more-interestingess/#comment-34</guid>
		<description>Yes, that is what I meant.  I thought that I had fixed that typo a long time ago.  Thanks for pointing it out.</description>
		<content:encoded><![CDATA[<p>Yes, that is what I meant.  I thought that I had fixed that typo a long time ago.  Thanks for pointing it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian</title>
		<link>http://phpflickr.com/2006/01/05/phpflickr-143-now-with-more-interestingess/#comment-33</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Thu, 12 Jan 2006 18:13:44 +0000</pubDate>
		<guid>http://phpflickr.com/2006/01/05/phpflickr-143-now-with-more-interestingess/#comment-33</guid>
		<description>this is great!  one note - on the installation instructions page, it's said the pear package necessary is HTTP_Response - should this actually be HTTP_Request?</description>
		<content:encoded><![CDATA[<p>this is great!  one note - on the installation instructions page, it&#039;s said the pear package necessary is HTTP_Response - should this actually be HTTP_Request?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geeklog - Flickr plugin</title>
		<link>http://phpflickr.com/2006/01/05/phpflickr-143-now-with-more-interestingess/#comment-25</link>
		<dc:creator>Geeklog - Flickr plugin</dc:creator>
		<pubDate>Sun, 08 Jan 2006 10:49:18 +0000</pubDate>
		<guid>http://phpflickr.com/2006/01/05/phpflickr-143-now-with-more-interestingess/#comment-25</guid>
		<description>[...] And that's pretty much everything the plugin currently does.The plugin uses Dan Coulter's phpFlickr class (version 1.4.3 is included with the plugin) which does all of the hard work of communicating with Flickr. It also provides caching options, as the use of [flickr:] autotags may significantly slow down your site otherwise (see the plugin's README for details). [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] And that&#039;s pretty much everything the plugin currently does.The plugin uses Dan Coulter&#039;s phpFlickr class (version 1.4.3 is included with the plugin) which does all of the hard work of communicating with Flickr. It also provides caching options, as the use of [flickr:] autotags may significantly slow down your site otherwise (see the plugin&#039;s README for details). [&#8230;]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
