<?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>Mike Luby</title>
	<atom:link href="http://www.mikeluby.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikeluby.com</link>
	<description>acts smart.</description>
	<lastBuildDate>Wed, 10 Feb 2010 23:23:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Display Your Twitter feed with Javascript and jQuery</title>
		<link>http://www.mikeluby.com/2009/12/23/display-your-twitter-feed-with-javascript-and-jquery/</link>
		<comments>http://www.mikeluby.com/2009/12/23/display-your-twitter-feed-with-javascript-and-jquery/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 15:41:00 +0000</pubDate>
		<dc:creator>Mike Luby</dc:creator>
				<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.mikeluby.com/?p=223</guid>
		<description><![CDATA[Here is a quick example how to display your Twitter feed just using Javascript and jQuery. As you know, this content won&#8217;t be available for spidering so it&#8217;s more for your users rather than SEO. Ok, lets get started. If [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a quick example how to display your Twitter feed just using Javascript and jQuery. As you know, this content won&#8217;t be available for spidering so it&#8217;s more for your users rather than SEO. Ok, lets get started.<br />
If you haven&#8217;t already, let&#8217;s include jQuery into your site. Add the following script tag into the &lt;head&gt; of your site:</p>
<p>[source language="html"]<br />
&lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js&quot;&gt;&lt;/script&gt;<br />
[/source]</p>
<p>Next we&#8217;re going to load the data from Twitter asynchronously. The following will do that:</p>
<p>[source language="javascript"]<br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
//Your twitter name<br />
var twitter_name = &quot;mikeluby&quot;;<br />
//Number of tweets you want to get back<br />
var twitter_count = 6;<br />
//Callback function name<br />
var callback_name = &quot;tweet_callback&quot;;<br />
//Twitter search url<br />
var twitter_search = &quot;http://twitter.com/statuses/user_timeline&quot;;<br />
//Return type (json or xml)<br />
var return_type = &quot;json&quot;;<br />
//Adds script tags to the head/body tag<br />
( function() {<br />
var ts = document.createElement(&#8216;script&#8217;);<br />
ts.type = &#8216;text/javascript&#8217;;<br />
ts.async = true;<br />
ts.src = twitter_search + &quot;.&quot; + return_type + &quot;?screen_name=&quot; + twitter_name + &quot;&amp;count=&quot; + twitter_count + &quot;&amp;callback=&quot; + callback_name;<br />
( document.getElementsByTagName( &#8216;head&#8217; )[ 0 ] || document.getElementsByTagName( &#8216;body&#8217; )[ 0 ] ).appendChild( ts );<br />
} )();<br />
&lt;/script&gt;<br />
[/source]</p>
<p>Ok you got the data now what? Let&#8217;s parse it and display it!</p>
<p>[source language="javascript"]&lt;script type=&quot;text/javascript&quot;&gt;<br />
//Call back function<br />
function tweet_callback( data ) {<br />
//Loop through the data from twitter<br />
$.each( data, function( i, tweet ) {<br />
//Make sure the text isn&#8217;t undefined<br />
if( tweet.text != undefined ) {<br />
//Lets do some regex magic to replace urls, hashtags, and usernames<br />
var text = tweet.text.toString().replace( /(\b(https?|ftp|file):\/\/[-A-Z0-9+&amp;@#\/%?=~_|!:,.;]*[-A-Z0-9+&amp;@#\/%=~_|])/ig, &#8216;&lt;a href=&quot;$1&quot;&gt;$1&lt;/a&gt;&#8217; ).replace( /(^|\s)@(\w+)/, &#8216;&lt;a href=&quot;http://www.twitter.com/$2&quot;&gt;@$2&lt;/a&gt;&#8217; ).replace( /[#]+[A-Za-z0-9-_]+/ig, function(t) { var tag = t.replace(&quot;#&quot;,&quot;%23&quot;); return t.link(&quot;http://search.twitter.com/search?q=&quot;+tag); } );<br />
//Lets append each tweet to a ul with the id of tweet_container<br />
$( &quot;#tweet_container&quot; ).append( &quot;&lt;li&gt;&quot; + text + &quot;&lt;/li&gt;&quot;);<br />
}<br />
} );<br />
}&lt;/script&gt;[/source]</p>
<p>There you go! The only limitation is if a user decides to visit the page (and make the twitter api calls) more than 100 times per hour.</p>
<p>For those who don&#8217;t know how to do a ul tag with an id:</p>
<p>[source language="html"]&lt;ul id=&quot;tweet_container&quot;&gt;&lt;/ul&gt;[/source]</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeluby.com/2009/12/23/display-your-twitter-feed-with-javascript-and-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple Gnip example</title>
		<link>http://www.mikeluby.com/2009/06/07/simple-gnip-example/</link>
		<comments>http://www.mikeluby.com/2009/06/07/simple-gnip-example/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 06:37:48 +0000</pubDate>
		<dc:creator>Mike Luby</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://mikeluby.com/?p=193</guid>
		<description><![CDATA[If you&#8217;re unfamiliar with Gnip (http://gnip.com/) pronounced &#8220;Guh-nip&#8221; it&#8217;s a content distribution solution for multiple publishers such as twitter, digg, flickr, tumblr, and many more. Rather than polling the service, Gnip allows you to set up a &#8220;push&#8221; type system [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re unfamiliar with Gnip (<a title="Gnip" href="http://gnip.com">http://gnip.com/</a>) pronounced &#8220;Guh-nip&#8221; it&#8217;s a content distribution solution for multiple publishers such as twitter, digg, flickr, tumblr, and many more. Rather than polling the service, Gnip allows you to set up a &#8220;push&#8221; type system where you let a callback URL and when there are new activities or notifications gnip will notify you through the URL provided. What I plan to show you here is a quick bit of code that allows you to quickly retrieve activities from filters using the <a title="Gnip PHP Convience Library" href="http://github.com/gnip/gnip-php/tree/master">Gnip PHP Convenience Library</a>. I&#8217;m not going to go into a huge amount of depth and I also assume that you know basic programming/PHP paradigms</p>
<p>OK lets get started, what you&#8217;ll want to do first is to create a simple filter, I&#8217;ll be using the twitter-search publisher for this. So lets say you wanted to get all of the tweets that have the keywords &#8220;@mikeluby&#8221;, &#8220;mike luby&#8221;, and &#8220;mikeluby.com&#8221;. You would start by creating the filter, lets name it &#8220;aboutMikeLuby&#8221; next you&#8217;ll want to put the URL to your callback (lets use http://example.com/gnip_input.php). Finally at the bottom you&#8217;ll enter the keywords into the keyword input. This input is comma separated and will simulate an OR conditionals to the twitter search api. Now there is away to create these filters via code, I&#8217;ll get into this at a later date. When the activities are returned they are grouped into buckets, there is a new bucket every minute.</p>
<p>At this point you&#8217;ll want to make sure you have the Gnip PHP Convenience Library downloaded. (Get it <a title="Gnip PHP Convience Library" href="http://github.com/gnip/gnip-php/tree/master">here</a>) In gnip_input.php (the callback when gnip &#8220;pushes&#8221; data to your service) you&#8217;ll have the following:</p>
<p>[sourcecode language="php"]</p>
<p>//This file is called every time Gnip has activities to publish to the current bucket.</p>
<p>include_once( &quot;Gnip.php&quot; );</p>
<p>$time = time(); //Get current time</p>
<p>$gnip = new Services_Gnip( $gnip_username, $gnip_password ); //Create gnip Object</p>
<p>$filter = $gnip-&gt;getFilter( &quot;twitter-search&quot;, &quot;aboutMikeLuby&quot; ); //Create filter object</p>
<p>$results = $gnip-&gt;getFilterActivities( &quot;twitter-search&quot;, $filter, $time ); //This returns a Services_Gnip Object of the activites in the specified bucket.</p>
<p>print_r( $results );</p>
<p>[/sourcecode]</p>
<p>There you go, it&#8217;s pretty straight forward. Don&#8217;t forget to check out <a title="Gnip's Documentation" href="http://docs.google.com/Doc?id=dpw6zj9_0fdcnttgd">Gnip&#8217;s documentation</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeluby.com/2009/06/07/simple-gnip-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Live blogging from Ignite Phoenix</title>
		<link>http://www.mikeluby.com/2009/02/25/live-blogging-from-ignite-phoenix/</link>
		<comments>http://www.mikeluby.com/2009/02/25/live-blogging-from-ignite-phoenix/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 15:02:42 +0000</pubDate>
		<dc:creator>Mike Luby</dc:creator>
				<category><![CDATA[Ignite Phoenix]]></category>
		<category><![CDATA[Live]]></category>

		<guid isPermaLink="false">http://mikeluby.com/?p=72</guid>
		<description><![CDATA[Tonight is Ignite Phoenix #3 hosted at the Tempe Center for the Arts. For those who don&#8217;t know what Ignite Phoenix is all about: &#8220;Ignite Phoenix is an information exchange aimed at fostering and inspiring Phoenix’s creative community. Presenters get [...]]]></description>
			<content:encoded><![CDATA[<p>Tonight is <a title="Ignite Phoenix" href="http://www.ignite-phoenix.org/">Ignite Phoenix #3</a> hosted at the <a title="Temep Center for the Arts" href="http://www.tempe.gov/TCA/">Tempe Center for the Arts</a>. For those who don&#8217;t know what Ignite Phoenix is all about: <em>&#8220;Ignite Phoenix is an information exchange aimed at fostering and inspiring Phoenix’s creative community. Presenters get 5 minutes and 20 slides to talk about anything they are passionate about. Send in your presentation or just show up and have a fun time.&#8221;</em> If you&#8217;re in town there is still plenty of time to RSVP to the event either via the <a title="Faceook Ignite Phoenix Event page" href="http://www.new.facebook.com/event.php?eid=42833003916">Facebook Event</a> or at <a title="Upcoming" href="http://upcoming.yahoo.com/event/1438993">Upcoming</a>. Don&#8217;t forget to join Ignite Phoenix&#8217;s <a title="Ignite Phoenix's Facebook group" href="http://www.new.facebook.com/group.php?gid=23984911524">Facebook group</a> and <a title="Ignite Phoenix's LinkedIn group" href="http://www.linkedin.com/groups?gid=1593447">LinkedIn Group</a>. I expect there will be quite a bit of useful information and networking going on at this event.</p>
<p>Below I&#8217;ll be sharing the event live here and also via <a title="Mike Luby's Twitter" href="http://twitter.com/mikeluby">my twitter</a>. Feel free to refresh the page as much as you would like It&#8217;ll be updated as much as possible through out the evening.</p>
<p><strong>Update: </strong>The videos are now online <a href="http://ignitephoenix.blip.tv/">http://ignitephoenix.blip.tv/</a> go check them all out.</p>
<p><strong>Live Blogging:</strong><br />
View the live feed at <a title="Ignite Phoenix Live streaming" href="http://ignite-phoenix.org/live/">http://ignite-phoenix.org/live/</a></p>
<p>5:14 &#8211; I arrived at TCA the event doesn&#8217;t start until 6</p>
<p><a href="http://mikeluby.com/wp-content/uploads/2009/02/l-640-480-327dc134-6c55-4d46-8c98-e41c3fa8e4eb.jpeg"><img class="alignnone size-full wp-image-364" src="http://mikeluby.com/wp-content/uploads/2009/02/l-640-480-327dc134-6c55-4d46-8c98-e41c3fa8e4eb.jpeg" alt="" width="300" height="225" /></a></p>
<p>More after the fold&#8230;<br />
<span id="more-72"></span><br />
5:34 &#8211; great view of Tempe town lake</p>
<p><a href="http://mikeluby.com/wp-content/uploads/2009/02/l-640-480-cb116f9e-f041-4cb1-a84c-9c5b3acf9bbb.jpeg"><img class="alignnone size-full wp-image-364" src="http://mikeluby.com/wp-content/uploads/2009/02/l-640-480-cb116f9e-f041-4cb1-a84c-9c5b3acf9bbb.jpeg" alt="" width="300" height="225" /></a></p>
<p>6:03 &#8211; it&#8217;s starting to fill up. Let&#8217;s get this show on the road.</p>
<p><a href="http://mikeluby.com/wp-content/uploads/2009/02/l-640-480-a0092354-516b-410c-93e3-bdd588fe2d9d.jpeg"><img class="alignnone size-full wp-image-364" src="http://mikeluby.com/wp-content/uploads/2009/02/l-640-480-a0092354-516b-410c-93e3-bdd588fe2d9d.jpeg" alt="" width="300" height="225" /></a></p>
<p>6:24 &#8211; here we go. Tempe tech counselor follows the &#8220;the wireless doesn&#8217;t work&#8221; guy</p>
<p>6:29 &#8211; what is ignite presentation</p>
<p><a href="http://mikeluby.com/wp-content/uploads/2009/02/p-640-480-3826b6fe-99d6-4814-a0bf-0186ae617132.jpeg"><img class="alignnone size-full wp-image-364" src="http://mikeluby.com/wp-content/uploads/2009/02/p-640-480-3826b6fe-99d6-4814-a0bf-0186ae617132.jpeg" alt="" width="225" height="300" /></a></p>
<p>6:35 &#8211; first presentation &#8220;toilet training &#8211; a study of connectivity in history&#8221;. Interesting connection between toilets and science.</p>
<p>6:41 &#8211; presentation 2: &#8220;web comics: off the newsprint onto the Internet&#8221;. A great history of web comics and a lot of great examples. I gotta look up Garfield minus Garfield</p>
<p>6:46 &#8211; presentation 3 &#8220;how open source bio fuels will change phoenix and the world&#8221; great benefits economically and environmentally. AZ is a big place for Algae bio fuels. <a title="Desert Bio Fuels Initiative" href="http://desertbiofuels.org/">http://desertbiofuels.org/</a></p>
<p>6:52 &#8211; presentation 4 &#8220;floating bones 102: rules for loosely-coupled structures&#8221;</p>
<p>- presentation 5 &#8220;nothing defines humans better than their willingness to do irrational things in the pursuit of phenomenally unlikely payoffs&#8221;. Besides the long title it&#8217;s about how people are suckered into paying more and social norms. Are things overvalued? People are easily distracted. The power of price, just because it costs more doesn&#8217;t mean it&#8217;s better.</p>
<p>7:02 &#8211; presentation 6 &#8220;journalism&#8217;s implosion: what&#8217;s next&#8221; great presentation on what&#8217;s next for media 3.0 and how the news will change in the future. Collaborators becoming contributors. Journalism innovation is inexpensive.</p>
<p>7:09 &#8211; presentation 7 &#8220;the eyes have it: eyes as a window to cognition&#8221;</p>
<p>7:13 &#8211; presentation 8 &#8220;the art of enjoying food&#8221;. Oh I&#8217;m hungry. Learn da  new foods skillz d00d.</p>
<p>7:18 &#8211; presentation 9 &#8220;big distance&#8221;. Distance in perspective. From 4.2 light years to the closest star to the size of DNA.</p>
<p>7:23 &#8211; break</p>
<p>8:00 &#8211; and we&#8217;re back and a word from the sponsor.</p>
<p>Ugh damn wordpress iPhone app crashes and I lose what I wrote!</p>
<p><strong>After event update:</strong> So unfortunately I lost a couple of presentations worth of blog post because the WordPress iPhone application crashed mid image upload, I decided it was too late to salvage the rest of the presentations. But I&#8217;m sure they will haven all of them posted on the website some time.Other than that the rest of the event was pretty amazing. Everyone who presented did a great job, learned a lot of stuff! I can&#8217;t wait for the next Ignite Phoenix June 9th, it&#8217;ll definitely be in a larger venue and just as exciting.  So thanks to the 1 or 2 of you who followed the event live on here and sorry about the second half, you should have been there in person.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeluby.com/2009/02/25/live-blogging-from-ignite-phoenix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mikeluby.com with FBC&#8217;s Comments</title>
		<link>http://www.mikeluby.com/2009/02/19/mikelubycom-with-fbcs-comments/</link>
		<comments>http://www.mikeluby.com/2009/02/19/mikelubycom-with-fbcs-comments/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 05:15:50 +0000</pubDate>
		<dc:creator>Mike Luby</dc:creator>
				<category><![CDATA[Facebook]]></category>

		<guid isPermaLink="false">http://mikeluby.com/?p=43</guid>
		<description><![CDATA[Facebook has just launched their first social widget using their increasingly popular Facebook Connect platform. You can take a look at their recent blog post to explain it a little more. Facebook says that &#8220;Sites have seen as much as [...]]]></description>
			<content:encoded><![CDATA[<p>Facebook has just launched their first social widget using their increasingly popular Facebook Connect platform. You can take a look at their recent <a title="Facebook Blog" href="http://developers.facebook.com/news.php?blog=1&amp;story=198">blog post</a> to explain it a little more. Facebook says that &#8220;Sites have seen as much as 40-50% more comments since they launched added these features.&#8221; and adding Facebook connect to a site is extremely easy.  I&#8217;m not going to go over how to implement Facebook connect right now (maybe later). Using a mix of the Facebook PHP API and Facebook connect you can totally replace your own blog&#8217;s comment system. I invite you to check out the comment system in action <a href="http://mikeluby.com/2009/02/19/mikelubycom-with-fbcs-comments/">here</a>.</p>
<p>Below the fold I&#8217;m going to paste a code snippet that will set you on your way.</p>
<p><span id="more-43"></span></p>
<p><strong>FBML for comment box:</strong></p>
<p>[sourcecode language="html"]</p>
<p><fb:comments xid="mikeluby_POST_ID" reverse="true"></fb:comments></p>
<p>[/sourcecode]</p>
<p><strong>Get the Number of comments:</strong></p>
<p>[sourcecode language="php"]</p>
<p>require_once( &#8220;FBAPI/CLIENT/LOCATION/facebook.php&#8221; );<br />
$appapikey = &#8216;FB_API_KEY&#8217;;<br />
$appsecret = &#8216;FB_SECRET&#8217;;<br />
$facebook = new Facebook( $appapikey, $appsecret );<br />
$comments = count( $facebook->api_client->call_method( &#8220;facebook.comments.get&#8221;, array( &#8220;xid&#8221; => &#8220;mikeluby_$post_id&#8221; ) ) );</p>
<p>[/sourcecode]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeluby.com/2009/02/19/mikelubycom-with-fbcs-comments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lets post to twitter via command line!</title>
		<link>http://www.mikeluby.com/2009/01/11/lets-post-to-twitter-via-command-line/</link>
		<comments>http://www.mikeluby.com/2009/01/11/lets-post-to-twitter-via-command-line/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 02:35:11 +0000</pubDate>
		<dc:creator>Mike Luby</dc:creator>
				<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://strategicv.com/?p=92</guid>
		<description><![CDATA[If you find your self not truly satisfied with filling out a form or by sending a text you can post your twitter statuses via command line/curl: [sourcecode language='jscript'] curl -u USERNAME:PASSWORD -d status=&#8221;MESSAGE&#8221; http://twitter.com/statuses/update.xml &#124; grep truncated [/sourcecode]]]></description>
			<content:encoded><![CDATA[<p>If you find your self not truly satisfied with filling out a form or by sending a text you can post your twitter statuses via command line/curl:</p>
<p>[sourcecode language='jscript']<br />
curl -u USERNAME:PASSWORD -d status=&#8221;MESSAGE&#8221; http://twitter.com/statuses/update.xml | grep truncated<br />
[/sourcecode]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeluby.com/2009/01/11/lets-post-to-twitter-via-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 Code Snippet: Covert seconds to simple time stamp</title>
		<link>http://www.mikeluby.com/2008/10/15/as3-code-snippet-covert-seconds-to-simple-time-stamp/</link>
		<comments>http://www.mikeluby.com/2008/10/15/as3-code-snippet-covert-seconds-to-simple-time-stamp/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 16:26:41 +0000</pubDate>
		<dc:creator>Mike Luby</dc:creator>
				<category><![CDATA[Actionscript]]></category>

		<guid isPermaLink="false">http://lubymike.wordpress.com/?p=80</guid>
		<description><![CDATA[What this code snippet allows is the ability to pass the number of seconds and return a simple time stamp in the form of &#8220;Weeks:Days:Hours:Minutes:Seconds&#8221; with the minimum return of &#8220;Minutes:Seconds&#8221;. A good use of this snippet is in media [...]]]></description>
			<content:encoded><![CDATA[<p>What this code snippet allows is the ability to pass the number of seconds and return a simple time stamp in the form of &#8220;Weeks:Days:Hours:Minutes:Seconds&#8221; with the minimum return of &#8220;Minutes:Seconds&#8221;. A good use of this snippet is in media players to convert the duration of the media to a more readable time stamp.</p>
<p>[sourcecode language='jscript']<br />
/**<br />
* Converts seconds to minutes and seconds<br />
* @param number Number of seconds<br />
* @return String of minutes and seconds (00:00)<br />
*/<br />
public function convertTime( number:Number ):String {<br />
	number = Math.abs( number );<br />
	var val:Array = new Array( 5 );<br />
		val[ 0 ] = Math.floor( number / 86400 / 7 ); //weeks<br />
		val[ 1 ] = Math.floor( number / 86400 % 7 );//days<br />
		val[ 2 ] = Math.floor( number / 3600 % 24 );//hours<br />
		val[ 3 ] = Math.floor( number / 60 % 60 );//mins<br />
		val[ 4 ] = Math.floor( number % 60 );//secs<br />
	var stopage:Boolean = false;<br />
	var cutIndex:Number  = -1;<br />
	for(var i:Number = 0; i < val.length; i++ ) {<br />
		if( val[ i ] < 10 )<br />
			val[ i ] = &#8220;0&#8243; + val[ i ];<br />
		if( val[ i ] == &#8220;00&#8243; &#038;&#038; i < ( val.length &#8211; 2 ) &#038;&#038; !stopage ) {<br />
			cutIndex = i;<br />
		} else {<br />
			stopage = true;<br />
		}<br />
	}<br />
	val.splice( 0, cutIndex + 1 );<br />
	return val.join( &#8220;:&#8221; );<br />
}<br />
[/sourcecode]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeluby.com/2008/10/15/as3-code-snippet-covert-seconds-to-simple-time-stamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code snippet: tinyurl link creation api</title>
		<link>http://www.mikeluby.com/2008/09/29/code-snippet-tinyurl-link-creation-api/</link>
		<comments>http://www.mikeluby.com/2008/09/29/code-snippet-tinyurl-link-creation-api/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 16:34:14 +0000</pubDate>
		<dc:creator>Mike Luby</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://lubymike.wordpress.com/?p=73</guid>
		<description><![CDATA[Here is a quick code snippet to use the tinyurl link creation api. [sourcecode language='php']< ?php //tinyURL function, needs url to be passed to tinyrul function tinyURL( $url ) { //Initializes a new session and return a cURL handle $curl [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a quick code snippet to use the tinyurl link creation api.</p>
<p>[sourcecode language='php']< ?php<br />
//tinyURL function, needs url to be passed to tinyrul<br />
function tinyURL( $url ) {<br />
	//Initializes a new session and return a cURL handle<br />
	$curl = curl_init( );<br />
	//Sets an option on the given cURL session handle.<br />
	//request url<br />
	curl_setopt( $curl, CURLOPT_URL, "http://tinyurl.com/api-create.php?url=" . urlencode( $url ) );<br />
	curl_setopt( $curl, CURLOPT_RETURNTRANSFER, 1 ); //return transfer<br />
	curl_setopt( $curl, CURLOPT_CONNECTTIMEOUT, 10 ); // connection timeout<br />
	//Execute the given cURL session.<br />
	$tiny = curl_exec( $curl );<br />
	//Closes a cURL session and frees all resources. The cURL handle, $curl , is also deleted.<br />
	curl_close( $curl );<br />
	//return result from curl<br />
	return( $tiny );<br />
}</p>
<p>echo tinyURL( "http://strategicv.com/" ); //echos: http://tinyurl.com/3r4j8c<br />
?>[/sourcecode]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeluby.com/2008/09/29/code-snippet-tinyurl-link-creation-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is social media marketing?</title>
		<link>http://www.mikeluby.com/2008/04/18/what-is-social-media-marketing/</link>
		<comments>http://www.mikeluby.com/2008/04/18/what-is-social-media-marketing/#comments</comments>
		<pubDate>Fri, 18 Apr 2008 19:46:29 +0000</pubDate>
		<dc:creator>Mike Luby</dc:creator>
				<category><![CDATA[Social Media]]></category>

		<guid isPermaLink="false">http://lubymike.wordpress.com/?p=28</guid>
		<description><![CDATA[Social media marketing is sometimes hard to describe but you know what it is when you see it. Today millions of people are connected through social networks such as Myspace and Facebook. Social media marketing allows brands to use social [...]]]></description>
			<content:encoded><![CDATA[<p><a title="What is social media marketing" href="http://theanswer.ad-tech.com/view/answer/What-is-social-media-marketing-6" target="_blank"><img class="alignleft" style="border:2px solid black;float:left;margin:10px;" src="http://theanswer.vsocial.com/media/embed/7861998932ec37275959c133f79c113f" alt="What is social media " width="300" height="251" /></a>Social media marketing is sometimes hard to describe but you know what it is when you see it. Today millions of people are connected through social networks such as Myspace and Facebook. Social media marketing allows brands to use social technologies such as blogs, interactive websites, and video, just to name a few, to entice users to contribute to the brand’s messaging creating their own buzz about the brand. Users virally spread their messages through the use of the social media technologies. These like-minded individuals build their own communities around the brands they like and use. Through the use of these technologies a greater percentage of the brand’s target audience can now be reached, tracked and serviced. I guess in a way social media marketing puts the power in the hands of the users and in turn the users basically do the rest of the work for the brands.</p>
<p><a href="http://theanswer.ad-tech.com/view/answer/What-is-social-media-marketing-6">http://theanswer.ad-tech.com/view/answer/What-is-social-media-marketing-6</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeluby.com/2008/04/18/what-is-social-media-marketing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

