<?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>Mitch Canter is [studionashvegas] &#187; Widget</title>
	<atom:link href="http://www.studionashvegas.com/tag/widget/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.studionashvegas.com</link>
	<description>&#124; Nashville&#039;s Best WordPress Design, Web Development, and Marketing</description>
	<lastBuildDate>Sun, 20 Jun 2010 21:04:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Using Friendfeed as a Lifestream within WordPress</title>
		<link>http://www.studionashvegas.com/old-posts/using-friendfeed-as-a-lifestream-within-wordpress/</link>
		<comments>http://www.studionashvegas.com/old-posts/using-friendfeed-as-a-lifestream-within-wordpress/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 20:36:35 +0000</pubDate>
		<dc:creator>studionashvegas</dc:creator>
				<category><![CDATA[Old Posts]]></category>
		<category><![CDATA[Embed]]></category>
		<category><![CDATA[FriendFeed]]></category>
		<category><![CDATA[Widget]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.studionashvegas.com/2008/11/13/using-friendfeed-as-a-lifestream-within-wordpress/</guid>
		<description><![CDATA[I spent days (literally) looking for a good lifestreaming plugin for WordPress to showcase some of the exploits that I have my hand in on a daily basis (videos, twitter, pictures, etc).  The ones I found had certain features that I liked, but none of them really LOOKED (format-wise) how I wanted it to. Enter [...]]]></description>
			<content:encoded><![CDATA[<p>I spent days (literally) looking for a good lifestreaming plugin for WordPress to showcase some of the exploits that I have my hand in on a daily basis (videos, twitter, pictures, etc).  The ones I found had certain features that I liked, but none of them really LOOKED (format-wise) how I wanted it to.</p>
<p>Enter Friendfeed.  They have a slick looking widget/badge you can embed on a site to display the items that are broadcast to your Friendfeed.  BUT, in the initial code, you can’t make it do everything you want.</p>
<p>With some fun hacking, I’ve got the FriendFeed widget doing what I want.  So, if you want a great, easy way to show your lifestream, here’s the 4-1-1:</p>
<ol>
<li>Head over to FriendFeed.com.  On your personal profile page, next to your pictures, there’s a link that says “Embed in a Web Page”.
<p><a href="http://www.studionashvegas.com/wp-content/uploads/2008/11/11.jpg"><img style="display: inline" title="1" src="http://www.studionashvegas.com/wp-content/uploads/2008/11/1-thumb.jpg" alt="1" width="442" height="138" /></a></li>
<li>That will take to the “embed” page.  There are five options (Badge, ShareLink, Feed Widget, Chiclet Widget, and Status Widget).  You want “Feed Widget”.<a href="http://www.studionashvegas.com/wp-content/uploads/2008/11/21.jpg"><img style="display: inline" title="2" src="http://www.studionashvegas.com/wp-content/uploads/2008/11/2-thumb.jpg" alt="2" width="500" height="288" /></a></li>
<li>Clicking on that link will give you a preview and some options to choose.  Here are your optimal choices:
<ul>
<li>Feed: My Feed&#8221;</li>
<li>Services: All Services (you can include only a certain service if you want to segment it, but this shows everything in order)</li>
<li>Entries: Change it to 10.  We’ll be hard changing this in the code, but that drops a variable in we can change.</li>
<li>Show: UNCHECK all of the boxes.  You want to get rid of the logo, feed, and subscribe links.</li>
<li>Format: Javascript (yes, I know the other option mentions WordPress, but we’re doing things a bit differently)</li>
<li>More Options / Width: Set the width of the CONTENT region (minus sidebar) you want to display this in.  Typically anywhere from 400-600 pixels)</li>
</ul>
<p><a href="http://www.studionashvegas.com/wp-content/uploads/2008/11/3a.jpg"><img style="display: inline" title="3a" src="http://www.studionashvegas.com/wp-content/uploads/2008/11/3a-thumb.jpg" alt="3a" width="500" height="452" /></a></li>
<li>Copy the HTML.  Take it into a text editor and get ready to make some changes.  This is (more than likely) what you have:
<div class="code">&lt;script type=&#8221;text/javascript&#8221; src=&#8221;http://friendfeed.com/embed/widget/studionashvegas?v=2&amp;amp;num=10&amp;amp;hide_logo=1&amp;amp;hide_comments_likes=1&amp;amp;hide_subscribe=1&#8243;&gt;&lt;/script&gt;&lt;noscript&gt;&lt;a href=&#8221;http://friendfeed.com/studionashvegas&#8221;&gt;&lt;img alt=&#8221;View my FriendFeed&#8221; style=&#8221;border:0;&#8221; src=&#8221;http://friendfeed.com/embed/widget/studionashvegas?v=2&amp;amp;num=10&amp;amp;hide_logo=1&amp;amp;hide_comments_likes=1&amp;amp;hide_subscribe=1&amp;amp;format=png&#8221;/&gt;&lt;/a&gt;&lt;/noscript&gt;</div>
<p>That’s all well an good, but it’s only showing 10 entries and it looks weird.  Change the “num=10” to something bigger like “num=100”  Also, make sure to add a special div to your script – you want to be able to target CSS to customize it; might as well give it a canvas hook to work with! You can also delete the &lt;noscript&gt; section too.</li>
<li>Take your page.php and make a duplicate.  Rename this page “lifestream.php” and upload it to your server.  In the WordPress theme editor, take everything between:
<div class="code">&lt;?php if (have_posts()) : while (have_posts()) : the_post(); ?&gt;</div>
<p>and</p>
<div class="code">&lt;?php endwhile; endif; ?&gt;</div>
<p>and delete it (those lines included).  Copy your final script, which should look something like this:</p>
<div class="code">&lt;div class=&#8221;lifestream&#8221;&gt;&lt;script type=&#8221;text/javascript&#8221; src=&#8221;http://friendfeed.com/embed/widget/studionashvegas?v=2&amp;amp;num=100&amp;amp;hide_logo=1&amp;amp;hide_subscribe=1&amp;amp;width=505&#8243;&gt;&lt;/script&gt;&lt;/div&gt;</div>
<p>and paste it where those php calls were.  Make sure you also include the code to create a page template in WordPress:</p>
<div class="code">&lt;?php<br />
/*<br />
Template Name: LifeStream<br />
*/<br />
?&gt;</div>
<p>at the top of the page. Save your changes.</li>
<li>Create a new WordPress page titled “Lifestream” and set the page template to “lifestream” (leave the content blank).</li>
<li>Voila!  Your very own friendfeed widget. But hold on, what if you want to change the css?  No matter what code you put in, it doesn’t work!  Never fear; there’s a guide here!  <a href="http://friendfeed.com/embed/css">A Guide to CSS’ing a FriendFeed Widget</a>, that is.</li>
</ol>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.studionashvegas.com/old-posts/using-friendfeed-as-a-lifestream-within-wordpress/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.studionashvegas.com/old-posts/using-friendfeed-as-a-lifestream-within-wordpress/&amp;title=Using+Friendfeed+as+a+Lifestream+within+WordPress" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.studionashvegas.com/old-posts/using-friendfeed-as-a-lifestream-within-wordpress/&amp;title=Using+Friendfeed+as+a+Lifestream+within+WordPress" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.studionashvegas.com/old-posts/using-friendfeed-as-a-lifestream-within-wordpress/&amp;t=Using+Friendfeed+as+a+Lifestream+within+WordPress" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Using+Friendfeed+as+a+Lifestream+within+WordPress&amp;link=http://www.studionashvegas.com/old-posts/using-friendfeed-as-a-lifestream-within-wordpress/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.studionashvegas.com/old-posts/using-friendfeed-as-a-lifestream-within-wordpress/&amp;imageurl=" rel="nofollow" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.studionashvegas.com/old-posts/using-friendfeed-as-a-lifestream-within-wordpress/&amp;title=Using+Friendfeed+as+a+Lifestream+within+WordPress" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.studionashvegas.com/old-posts/using-friendfeed-as-a-lifestream-within-wordpress/&amp;title=Using+Friendfeed+as+a+Lifestream+within+WordPress" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.studionashvegas.com/old-posts/using-friendfeed-as-a-lifestream-within-wordpress/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.studionashvegas.com%2Fold-posts%2Fusing-friendfeed-as-a-lifestream-within-wordpress%2F&amp;t=Using+Friendfeed+as+a+Lifestream+within+WordPress" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Using+Friendfeed+as+a+Lifestream+within+WordPress+-+http://b2l.me/5b6vv&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

<div class="facebook_like_button"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.studionashvegas.com%2Fold-posts%2Fusing-friendfeed-as-a-lifestream-within-wordpress%2F&amp;layout=standard&amp;show-faces=true&amp;width=600&amp;action=recommend&amp;font=verdana&amp;colorscheme=dark" scrolling="no" frameborder="0" allowTransparency="true" style="padding: 0px 0px; border:none; overflow:hidden; width:600px; height:70px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.studionashvegas.com/old-posts/using-friendfeed-as-a-lifestream-within-wordpress/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
	</channel>
</rss>
