<?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>The Captain's (B)log &#187; internet</title>
	<atom:link href="http://www.threshold-zero.com/cblog/category/internet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.threshold-zero.com/cblog</link>
	<description>Noos you can uoos</description>
	<lastBuildDate>Sun, 22 Jan 2012 14:25:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Integrating Picasa Web Photos with WordPress</title>
		<link>http://www.threshold-zero.com/cblog/2010/01/23/integrating-picasa-web-photos-with-wordpress/</link>
		<comments>http://www.threshold-zero.com/cblog/2010/01/23/integrating-picasa-web-photos-with-wordpress/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 21:04:36 +0000</pubDate>
		<dc:creator>el capitan</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[picasa]]></category>
		<category><![CDATA[picasaweb]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://www.threshold-zero.com/cblog/?p=619</guid>
		<description><![CDATA[OMG is this so much harder than it needs to be. Picasa (or Google) offers nothing in the way of little blog widgets (unlike Flickr&#8217;s great support for everything), nor is there really any third-party support for this kind of thing out on the web. I don&#8217;t understand why, since &#8212; at least to me [...]]]></description>
			<content:encoded><![CDATA[<p>OMG is this so much harder than it needs to be.</p>
<p>Picasa (or Google) offers nothing in the way of little blog widgets (unlike Flickr&#8217;s great support for everything), nor is there really any third-party support for this kind of thing out on the web.</p>
<p>I don&#8217;t understand why, since &#8212; at least to me &#8212; what Picasa offers for free is so much better than what Flickr offers, still, even to this day. :\</p>
<p>Every third-party WordPress plugin I&#8217;ve tried either doesn&#8217;t work, doesn&#8217;t work right, or needs so much configuration on the server side &#8212; and I&#8217;m talking about editing raw PHP here (unacceptable) or creating farking CURL scripts for the server (why did you even release this plugin?).</p>
<p>Sadly enough, the BEST solution I could find for the problem of integrating Picasa was actually done in straight JavaScript (yay!), found here: <a href="http://www.bloggingtips.com/2009/03/23/picasa-widgets-and-plugins-for-your-blog/">http://www.bloggingtips.com/2009/03/23/picasa-widgets-and-plugins-for-your-blog/</a></p>
<p>Her code works great, works fast, requires almost no configuration (besides your Picasa username), and uses <a href="http://jquery.com">JQuery</a>, so pretty much anyone can edit and customize it.</p>
<p>Which I did.  ^_^  Though the code works, it doesn&#8217;t appear to always grab your <em>latest</em> photos from Picasa.  (I&#8217;m guessing it has something to do with the &#8220;max-results&#8221; flag in the URL string &#8212; you <em>have</em> to restrict the number of photos that Picasa feeds up for you to get the latest.)  I also made each photo be a link to the Picasa page where it&#8217;s at, as well as cleaning up the code a little.</p>
<p>There&#8217;s basically two parts:</p>
<p><strong>First, put this code in a widget text block where you want it to be in your wordpress blog (this is also where you can edit the style):</strong></p>
<pre>&lt;style&gt;
#picasaStream img {border: 1px solid #000; margin: 0 5px 5px 0;}
&lt;/style&gt;  

&lt;div id="picasaStream"&gt;&lt;/div&gt;
</pre>
<p><strong>Second, put this code either right after the widget, or wherever you put your JavaScript (if you choose to put it in another place, like a footer):</strong></p>
<pre style="overflow: scroll;">&lt;script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js"&gt;&lt;/script&gt;

&lt;script type="text/javascript"&gt;
/*
****	Uncomment this line if you are using other JavaScript libraries
****	(Prototype, Scriptaculous, etc.)
*/
// jQuery.noConflict();

jQuery(document).ready(function(){
	/*
	****	Change your Picasaweb username here,
	****	as well as how many thumbnails you want to show
	*/
	var _userName = "captainskyhawk",
		_count = 6

	/*
	****	Choose your thumbnail size here:
	**** 	"0" for small, "1" for medium, and "2" for large
	*/
	var _thumbnailSize = 0;

	/*
	****	Script Code
	****	No need to edit any further
	*/
	jQuery.getJSON("http://picasaweb.google.com/data/feed/api/user/"
		+ _userName + "?kind=photo&#038;thumbsize=72c&#038;access=public&#038;alt=json&#038;max-results="
		+ _count + "&#038;callback=?",
		function(data){
			jQuery.each(data.feed.entry, function(index, pic) {
				jQuery('&lt;a href="' + pic.link[1].href + '"&gt;&lt;img src="'
					+ pic.media$group.media$thumbnail[_thumbnailSize].url
					+ '" alt="' + pic.summary.$t + '" /&gt;&lt;/a&gt;')
				.appendTo("#picasaStream");
			});
		}
	);
});
&lt;/script&gt;
</pre>
<p>Just change your name in the code from &#8220;captainskyhawk&#8221; (that&#8217;s me!), and it should work!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.threshold-zero.com/cblog/2010/01/23/integrating-picasa-web-photos-with-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Voice-over-IP gateway for Google Talk, MSN and Yahoo Users</title>
		<link>http://www.threshold-zero.com/cblog/2009/06/04/voice-over-ip-gateway-for-google-talk-msn-and-yahoo-users/</link>
		<comments>http://www.threshold-zero.com/cblog/2009/06/04/voice-over-ip-gateway-for-google-talk-msn-and-yahoo-users/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 04:02:52 +0000</pubDate>
		<dc:creator>el capitan</dc:creator>
				<category><![CDATA[Delicious]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[oftware]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[telephony]]></category>
		<category><![CDATA[voip]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[window]]></category>

		<guid isPermaLink="false">http://delicious.com/url/f22cee2b75f354787bf803a35ef1c9e6#captainskyhawk</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.threshold-zero.com/cblog/2009/06/04/voice-over-ip-gateway-for-google-talk-msn-and-yahoo-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

