<?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>Konstantin Kovshenin &#187; flickr</title>
	<atom:link href="http://kovshenin.com/tag/flickr/feed/" rel="self" type="application/rss+xml" />
	<link>http://kovshenin.com</link>
	<description>WordPress, Automattic and Open Source</description>
	<lastBuildDate>Mon, 21 May 2012 15:59:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Javascript in WordPress: 2 Functions 2 Save Your Day</title>
		<link>http://kovshenin.com/2009/javascript-wordpress-functions/</link>
		<comments>http://kovshenin.com/2009/javascript-wordpress-functions/#comments</comments>
		<pubDate>Mon, 04 May 2009 09:09:05 +0000</pubDate>
		<dc:creator>Konstantin Kovshenin</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[snippets]]></category>

		<guid isPermaLink="false">http://kovshenin.com/?p=739</guid>
		<description><![CDATA[I&#8217;ve introduced Javascript mode in the latest update of Quick Flickr Widget (1.2.7) for WordPress, and I just wanted to give you a short advice about handling javascript code in your WordPress plugins. The wp_enqueue_script WordPress function helps you add javascript code to your head section, so you don&#8217;t have to mess up with the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve introduced Javascript mode in the latest update of <a href="http://kovshenin.com/wordpress/plugins/quick-flickr-widget/">Quick Flickr Widget</a> (1.2.7) for WordPress, and I just wanted to give you a short advice about handling javascript code in your WordPress plugins.</p>
<p>The <a href="http://codex.wordpress.org/Function_Reference/wp_enqueue_script">wp_enqueue_script</a> WordPress function helps you add javascript code to your head section, so you don&#8217;t have to mess up with the header.php file. One of the frequently asked questions is how do you get your plugin to load a javascript file that&#8217;s located in your plugin folder? Here&#8217;s the right way to do it:</p>
<pre>$quick_flickr_plugin_url = trailingslashit(get_bloginfo('wpurl')).PLUGINDIR.'/'. dirname(plugin_basename(__FILE__));
wp_enqueue_script('quick_flickr_widget', $quick_flickr_plugin_url.'/quick_flickr_widget.js');
</pre>
<p>This should be in the <strong>init</strong> of your plugin (take a look at <a href="http://codex.wordpress.org/Function_Reference/add_action">add_action</a>).</p>
<p>Another good problem is passing your php variables to javascript. This is pretty simple with a WordPress function called wp_localize_script. Here&#8217;s a quick sample based on the flickr widget. Remember, we&#8217;re still in the init section.</p>
<pre>wp_localize_script('quick_flickr_widget', 'FlickrOptions', $options);
</pre>
<p>You&#8217;ll get the $options variable output right before your javascript file in javascript format, like this:</p>
<pre>&lt;script type='text/javascript'&gt;
/* &lt;![CDATA[ */
	FlickrOptions = {
		title: "",
		view: "_m",
		before_flickr_widget: "&lt;div class=&quot;flickr&quot;&gt;",
		after_flickr_widget: "&lt;/div&gt;",
// and so on
</pre>
<p>This makes it W3C valid (using CDATA) and easy to retrieve from within your javascript file: alert(FlickrOptions.title). There you go, one more reason to love WordPress ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://kovshenin.com/2009/javascript-wordpress-functions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Quick Flickr Widget: Empowered by Thickbox</title>
		<link>http://kovshenin.com/2009/quick-flickr-widget-thickbox/</link>
		<comments>http://kovshenin.com/2009/quick-flickr-widget-thickbox/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 13:03:47 +0000</pubDate>
		<dc:creator>Konstantin Kovshenin</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[snippets]]></category>
		<category><![CDATA[thickbox]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://kovshenin.com/?p=631</guid>
		<description><![CDATA[Finally, version 1.2.4 is public! Can you belive this? I managed to get Thickbox running with the widget! No, it wasn&#8217;t that difficult at all. Here are the two tricks: In the plugin init: $options = get_option("pluginname"); if ($options["thickbox"] == "checked") { wp_enqueue_script("thickbox"); add_action("wp_head", "pluginname_thickbox_inject", 10); } And the thickbox inject function: function pluginname_thickbox_inject() { [...]]]></description>
			<content:encoded><![CDATA[<p>Finally, version 1.2.4 is public! Can you belive this? I managed to get Thickbox running with the widget! No, it wasn&#8217;t that difficult at all. Here are the two tricks:</p>
<p>In the plugin init:</p>
<pre>	$options = get_option("pluginname");
	if ($options["thickbox"] == "checked")
	{
		wp_enqueue_script("thickbox");
		add_action("wp_head", "pluginname_thickbox_inject", 10);
	}
</pre>
<p>And the thickbox inject function:</p>
<pre>function pluginname_thickbox_inject() {
    ?&gt;
    &lt;link rel="stylesheet" href="&lt;?= get_option("siteurl"); ?&gt;/&lt;?= WPINC; ?&gt;/js/thickbox/thickbox.css" type="text/css" media="screen" /&gt;

    &lt;script type="text/javascript"&gt;
    var tb_pathToImage = "&lt;?= get_option("siteurl"); ?&gt;/&lt;?= WPINC; ?&gt;/js/thickbox/loadingAnimation.gif";
    var tb_closeImage = "&lt;?= get_option("siteurl"); ?&gt;/&lt;?= WPINC; ?&gt;/js/thickbox/tb-close.png"
    &lt;/script&gt;

    &lt;?php
}
</pre>
<p>That&#8217;s all. Then use Thickbox the ordinary way you would. Oh and don&#8217;t forget to check out the <a href="http://kovshenin.com/wordpress/plugins/quick-flickr-widget/">Quick Flickr Widget</a> page for more info on the plugin and once again thank you for all your feedback. It really helps a lot!</p>
]]></content:encoded>
			<wfw:commentRss>http://kovshenin.com/2009/quick-flickr-widget-thickbox/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Quick Flickr Widget and the Flickr API Services</title>
		<link>http://kovshenin.com/2009/quick-flickr-widget-api-services/</link>
		<comments>http://kovshenin.com/2009/quick-flickr-widget-api-services/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 09:05:05 +0000</pubDate>
		<dc:creator>Konstantin Kovshenin</dc:creator>
				<category><![CDATA[iphone]]></category>
		<category><![CDATA[web 2.0]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[books]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://kovshenin.com/?p=560</guid>
		<description><![CDATA[Hope you remember the Quick Flickr Widget plugin for WordPress. Well, since version 1.2 I&#8217;ve changed the way it works. Prior to 1.2, as Donncha suggested in his Flickr plugin, I used a public Flickr RSS feed to display the items, using WordPress&#8217; RSS functions to move around the feed. Anyways I thought that I [...]]]></description>
			<content:encoded><![CDATA[<p>Hope you remember the <a href="http://kovshenin.com/wordpress/plugins/quick-flickr-widget/">Quick Flickr Widget</a> plugin for WordPress. Well, since version 1.2 I&#8217;ve changed the way it works. Prior to 1.2, as Donncha suggested in his Flickr plugin, I used a public Flickr RSS feed to display the items, using WordPress&#8217; RSS functions to move around the feed. Anyways I thought that I couldn&#8217;t take the plugin far enough, so I decided to use the <a href="http://www.flickr.com/services/api/">Flickr API Services</a> which is way more extended.</p>
<p>Still not sure about the consequences of sharing my Flickr API key. I&#8217;ve got a Flickr call for converting a Flickr screen name to a Flickr NSID which requires a valid API key. I thought that asking everyone to sign up for an API key would be a loss of plugin users so I provided my own key. Hope they don&#8217;t get me killed ;)</p>
<p>Now, to the user interface and experience. I&#8217;m not sure why, but some people are still confused about the new way and there are those, who cannot manage to find out their Flickr screen name (thinking that it&#8217;s their Flickr username or Yahoo ID). Anyways I hope to get this all sorted out and solved by 1.3 (maybe I should feed from Flickr by user e-mail?). Tiny bug in 1.2 was the inability to use a Flickr screen name with spaces. Thanks to Tung&#8217;s comments I sorted it all out by 1.2.1 &#8211; I had no idea people would use spaces in their screen names.</p>
<p>Now, for all the geeks out there. The <a href="http://www.flickr.com/services/api/">Flickr API Explorer</a> is the most fabulous thing that makes the Flickr API so easy to use. And the <a href="http://www.jsonlint.com/">JSON Validator</a> really helped me out there (I use JSON because I like it and also looking forward to adding some Javascript features to the plugin). So keep your comments and suggestions coming on the <a href="http://kovshenin.com/wordpress/plugins/quick-flickr-widget/">Quick Flickr Widget</a> page.</p>
<p>Also, I&#8217;d like to recommend a book called <a href="http://www.amazon.com/dp/159059858X">Pro Web 2.0 Mashups</a> which helped me out with Flickr API usage.</p>
<p>P.S. The <a href="http://www.appsandhats.com/">Apps &amp; Hats</a> show launched on Friday 20th. The first episode is so cool. Girls with iPhones are so cute! Check them out: <a href="http://www.appsandhats.com/">Apps &amp; Hats</a> &#8211; Your Quirky iPhone Application Review Show.</p>
]]></content:encoded>
			<wfw:commentRss>http://kovshenin.com/2009/quick-flickr-widget-api-services/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Quick Flickr Widget: Plugin update!</title>
		<link>http://kovshenin.com/2009/quick-flickr-widget-plugin-update-10/</link>
		<comments>http://kovshenin.com/2009/quick-flickr-widget-plugin-update-10/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 12:43:31 +0000</pubDate>
		<dc:creator>Konstantin Kovshenin</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://kovshenin.com/?p=422</guid>
		<description><![CDATA[Hey I got some great news about my first wordpress plugin called Quick Flickr Widget. I applied to the WordPress Plugin Directory and guess what! I got hosted! They sent me an e-mail with all the necessary links. I quickly set up a valid readme file and uploaded everything to their plugins repository under version [...]]]></description>
			<content:encoded><![CDATA[<p>Hey I got some great news about my first wordpress plugin called <strong>Quick Flickr Widget</strong>. I applied to the WordPress Plugin Directory and guess what! <a href="http://wordpress.org/extend/plugins/quick-flickr-widget/">I got hosted</a>! They sent me an e-mail with all the necessary links. I quickly set up a <a href="http://wordpress.org/extend/plugins/about/validator/">valid readme file</a> and uploaded everything to their plugins repository under version 1.0b. The plugin appeared in the directory in about 10 minutes, but there was no description, installation guide and FAQs. I figured out it&#8217;s because the readme file was called quick-flickr-widget.txt! Renamed that to readme.txt, made some minor changes and cleaned up my code in quick-flickr-widget.php and released the 1.0 version.</p>
<p>Anyways, the <a href="http://kovshenin.com/wordpress/plugins/quick-flickr-widget/">old plugin page</a> still remains valid and up to date, nevertheless here&#8217;s the official link at WordPress.org: <a href="http://wordpress.org/extend/plugins/quick-flickr-widget/">Quick Flickr Widget</a>.</p>
<p>I&#8217;ve also started to develop a new plugin called <a href="http://kovshenin.com/wordpress/plugins/related-external-links/">Related External Links</a>. I hope it gets hosted by WordPress.org too.</p>
<p>Here are the screenshots:<br />
</p>
]]></content:encoded>
			<wfw:commentRss>http://kovshenin.com/2009/quick-flickr-widget-plugin-update-10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Plugins: It&#039;s Flickr Time!</title>
		<link>http://kovshenin.com/2009/quick-flicker-10b/</link>
		<comments>http://kovshenin.com/2009/quick-flicker-10b/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 13:36:13 +0000</pubDate>
		<dc:creator>Konstantin Kovshenin</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://kovshenin.com/?p=411</guid>
		<description><![CDATA[Hi. I wrote a while ago on Twitter about starting the development of a WordPress plugin for displaying some Flickr photos in your sidebar. I finally finished coding and debugging the first part. It&#8217;s called Quick Flickr Widget. Here are some features: Easy to setup Up to 10 Flickr photos in your sidebar Fully customizable [...]]]></description>
			<content:encoded><![CDATA[<p>Hi. I wrote a while ago on <a href="http://twitter.com/kovshenin">Twitter</a> about starting the development of a WordPress plugin for displaying some Flickr photos in your sidebar. I finally finished coding and debugging the first part. It&#8217;s called <strong>Quick Flickr Widget</strong>. Here are some features:</p>
<ul>
<li>Easy to setup</li>
<li>Up to 10 Flickr photos in your sidebar</li>
<li>Fully customizable widget (editable before_widget, after_widget, before_item, after_item, etc.)</li>
<li>You can pick the photos display size: thumbnail, square, small or medium</li>
</ul>
<p>And here are the screenshots:<br />
</p>
<p>By the way I&#8217;m using it here on this blog to display my latest flickr photo, see? For more detailed description, changelog and download links, please visit the <a href="http://kovshenin.com/wordpress/plugins/quick-flickr-widget/">Quick Flickr Widget</a> page.</p>
]]></content:encoded>
			<wfw:commentRss>http://kovshenin.com/2009/quick-flicker-10b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blog Redesigned: Hi, This is the New Me!</title>
		<link>http://kovshenin.com/2009/blog-new-design/</link>
		<comments>http://kovshenin.com/2009/blog-new-design/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 12:47:00 +0000</pubDate>
		<dc:creator>Konstantin Kovshenin</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[personal]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://kovshenin.com/?p=284</guid>
		<description><![CDATA[Done! Wohooo! That seemed to take forever but my brand new WordPress theme is now complete and polished. Apperantly this is my first ever WordPress theme done from scratch. I started sketching like a week ago in Corel PaintShop Pro X2 (btw I don&#8217;t like to do Photoshop &#8217;cause I&#8217;ve been using PaintShop Pro for [...]]]></description>
			<content:encoded><![CDATA[<p>Done! Wohooo! That seemed to take forever but my brand new WordPress theme is now complete and polished. Apperantly this is my first ever WordPress theme done from scratch. I started sketching like a week ago in Corel PaintShop Pro X2 (btw I don&#8217;t like to do Photoshop &#8217;cause I&#8217;ve been using PaintShop Pro for around 6 years and got pretty much used to it. Looking forward to Adobe Fireworks CS4 though!). I got some good feedback on Twitter, DeviantArt and from some of my local friends, so I made some changes, sliced it up, wordpressized &amp; widgetized and here we are!</p>
<p>I&#8217;ll try to get myself listed on <a href="http://minimalsites.com">minimalsites.com</a> with this although the ones already listed seem much more minimal than this. Anyawys, I&#8217;ve also decided to open this theme up for public use and get it listed in the WordPress themes directory. That&#8217;ll be in a couple of months though &#8211; still need to polish some backend stuff.</p>
<p>Oh, and I&#8217;m also going to translate this into russian and use it on <a href="http://blog.kovshenin.com">my russian blog</a>, &#8217;cause the current one is so lame and green and way too old.</p>
<p>By the way, I&#8217;ve also installed a couple of plugins for the Twitter &amp; Flickr feeds. Check them out:</p>
<ul>
<li><a href="http://seanys.com/2007/10/12/twitter-wordpress-widget/">Twitter Widget</a> by Sean Spalding</li>
<li><a href="http://donncha.wordpress.com/flickr-widget/">Flickr Widget</a> by Donncha O Caoimh</li>
</ul>
<p>Thank you all for your comments, suggestions and support. PS I joined <a href="http://blip.fm/kovshenin">Blip.fm</a> and keep up with my <a href="http://12seconds.tv/channel/kovshenin">12seconds.tv channel</a>. I&#8217;m also working on my very first video blog post. Peace!</p>
]]></content:encoded>
			<wfw:commentRss>http://kovshenin.com/2009/blog-new-design/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Working in Web 2.0</title>
		<link>http://kovshenin.com/2008/working-in-web20/</link>
		<comments>http://kovshenin.com/2008/working-in-web20/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 20:59:45 +0000</pubDate>
		<dc:creator>Konstantin Kovshenin</dc:creator>
				<category><![CDATA[web 2.0]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[last.fm]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[social networking]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://kovshenin.com/?p=184</guid>
		<description><![CDATA[Somebody on Twitter yesterday posted a link to UADDit with photos of workplaces in web 2.0 companies, such as Twitter, Facebook, Flickr, Last.fm, Mozilla and others. I just couldn&#8217;t resist, so here they are: The last.fm pictures are my favourite! The original post is at uaddit.com discussions.]]></description>
			<content:encoded><![CDATA[<p>Somebody on <a href="http://twitter.com">Twitter</a> yesterday posted a link to <a href="http://uaddit.com">UADDit</a> with photos of workplaces in web 2.0 companies, such as Twitter, Facebook, Flickr, Last.fm, Mozilla and others. I just couldn&#8217;t resist, so here they are:</p>

<p>The last.fm pictures are my favourite! The original post is at <a href="http://uaddit.com/discussions/showthread.php?t=706">uaddit.com discussions</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://kovshenin.com/2008/working-in-web20/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>I Got my Flickr Account!</title>
		<link>http://kovshenin.com/2008/i-got-my-flickr-account/</link>
		<comments>http://kovshenin.com/2008/i-got-my-flickr-account/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 17:52:42 +0000</pubDate>
		<dc:creator>Konstantin Kovshenin</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[social networking]]></category>

		<guid isPermaLink="false">http://kovshenin.com/?p=91</guid>
		<description><![CDATA[Yeah, I finally got my Flickr account and would like to share my photostream with everyone, so if you&#8217;re interested feel free to add me to your contact list: flickr.com/people/kovshenin. By the way, I haven&#8217;t got a camera &#8211; I use my cellphone to take pictures so the quality isn&#8217;t very good, sorry. Anyways, I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>Yeah, I finally got my Flickr account and would like to share my photostream with everyone, so if you&#8217;re interested feel free to add me to your contact list: <a href="http://www.flickr.com/people/kovshenin/">flickr.com/people/kovshenin</a>.</p>
<p>By the way, I haven&#8217;t got a camera &#8211; I use my cellphone to take pictures so the quality isn&#8217;t very good, sorry. Anyways, I&#8217;ve found a great way to upload images directy to Flickr using my Nokia 6681. In fact, there are two of them. One is to use the WAP browser and point it to <a href="http://m.flickr.com">m.flickr.com</a>, login and upload pictures. The second one is to use e-mail posting. Flickr gives out some secret e-mail address to every user. If you send an image to that address it appears in your photostream. Tagging is allowed aswell.</p>
<p>Oh, and you can also use the XML-RPC protocol to post pictures directy to your wordpress (or any other) blog. Look for it in the account settings.</p>
]]></content:encoded>
			<wfw:commentRss>http://kovshenin.com/2008/i-got-my-flickr-account/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

