<?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>iKOZ &#187; photos</title>
	<atom:link href="http://blog.kosso.co.uk/category/photos/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kosso.co.uk</link>
	<description>{ memoirs and scars of an interactive multimedia veteran }</description>
	<lastBuildDate>Sat, 10 Dec 2011 04:12:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Free PHP5 Script to grab YOUR flickr Photos</title>
		<link>http://blog.kosso.co.uk/2007/01/31/free-php5-script-to-grab-your-flickr-photos/</link>
		<comments>http://blog.kosso.co.uk/2007/01/31/free-php5-script-to-grab-your-flickr-photos/#comments</comments>
		<pubDate>Wed, 31 Jan 2007 18:03:30 +0000</pubDate>
		<dc:creator>kosso</dc:creator>
				<category><![CDATA[download]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[merge]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[Yahoo!]]></category>

		<guid isPermaLink="false">http://kosso.co.uk/wp_blog/?p=319</guid>
		<description><![CDATA[UPDATED: To support Curl, if it is installed. It appears that some servers have the &#8216;fopen&#8217; wrapper disabled, preferring Curl &#8211; which is faster too ! ) OK, so I have just knocked up a PHP5 script which, WITH SOME MORE WORK (on your part) will grab all your photos from flickr, should you want [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATED</strong>: To support <a href="http://uk2.php.net/manual/en/ref.curl.php">Curl</a>, if it is installed. It appears that some servers have the &#8216;fopen&#8217; wrapper disabled, preferring Curl &#8211; which is faster too ! )</p>
<p>OK, so I have just knocked up a PHP5 script which, WITH SOME MORE WORK (on your part) will grab all your photos from flickr, should you want to move away from them.</p>
<p>This script takes your screen name and then lists all your photos, with the original photo file url, the title, description and any tags, comments and geocoding data too.</p>
<p>That&#8217;s as far as I go &#8211; the script is not doing any downloading at all &#8211; I leave the rest up to you <img src='http://blog.kosso.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   You could add the details to a database, store images anywhere you like, ftp them somewhere &#8211; it&#8217;s up to you to get the PHP to do what you want.</p>
<p>If I get the time, I will create a desktop version which does the same thing. The tricky bit might be deciding on a static xml format for all the rest of the data &#8211; maybe a big RSS file would do. Or OPML. Or both?</p>
<p><a href="http://noklog.com/flickoffr.phps">Here is the PHP5 SOURCE</a>.</p>
<p>NB: You <strong>MUST</strong> have <strong>PHP5</strong>  with <a href="http://uk.php.net/manual/en/ref.simplexml.php">simplexml</a> and <a href="http://uk.php.net/manual/en/function.file-get-contents.php">fopen wrappers</a> or <a href="http://uk2.php.net/manual/en/ref.curl.php">Curl</a> activated (Some webhosts prefer you to use Curl, so they deactivate file_get_contents)</p>
<p>Enjoy! Feel free to use this code and hack and mash it up at will. Please add to the comments of this post, if you do extend it. Cheers! <img src='http://blog.kosso.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kosso.co.uk/2007/01/31/free-php5-script-to-grab-your-flickr-photos/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
	</channel>
</rss>

