<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:admin="http://webns.net/mvcb/"
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
	xmlns:content="http://purl.org/rss/1.0/modules/content/">

	<channel>
	
	<title>Adam Rotman&apos;s Blog</title>
	<link>http://adamrotman.com/</link>
	<description></description>
	<dc:language>en</dc:language>
	<dc:creator>adamrotman@rogers.com</dc:creator>
	<dc:rights>Copyright 2012</dc:rights>
	<dc:date>2012-03-05T01:43:08+00:00</dc:date>
	<admin:generatorAgent rdf:resource="http://expressionengine.com/" />
	

	<item>
	  <title>Post Quotes &amp;amp; Text to Pinterest from Anywhere</title>
	  <link>http://adamrotman.com/blog/post/post-quotes-text-to-pinterest-from-anywhere</link>
	  <guid>http://adamrotman.com/blog/post/post-quotes-text-to-pinterest-from-anywhere</guid>
	  <description><![CDATA[<p>
	I recently saw that a lot of people were posting images of quotes to Pinterest. So I started thinking it would be cool if people could highlight text anywhere on the web and make their own <em>image-quotes </em>from the text. Once the image is created it can easily be shared on Pinterest (or any other social network).</p>
<p>
	So, <strong><a href="http://www.pinaquote.com">Pin A Quote</a></strong> was born. It&#39;s a bookmarklet that works almost exactly like Pinterest&#39;s bookmarklet. Once you&#39;ve dragged it to your bookmark bar, you can highlight text on any website and click "Pin A Quote" to get that text converted into an image, and ready to be shared on Pinterest (or Facebook, Twitter etc. )</p>
<p style="width:400px;margin:0 auto;">
	<img alt="" src="http://www.pinaquote.com/bookmarklet/quotes/i-am-always-ready-to-learn-although-i-do-not.jpg" style="width: 400px; height: 255px; box-shadow: 0px 0px 4px 0px rgb(204, 204, 204);" /></p>
<p>
	<strong><span style="font-size:18px;">Head over to <a href="http://www.pinaquote.com">pinaquote.com</a> and grab the Bookmarket!</span></strong></p>
]]></description> 
	
	
	
	  <dc:date>2012-03-05T01:43:08+00:00</dc:date>
	</item>

	<item>
	  <title>Build a Kick&#45;Ass Calendar with ExpressionEngine &amp;amp; jQuery</title>
	  <link>http://adamrotman.com/blog/post/build-a-kick-ass-calendar-with-expressionengine-jquery</link>
	  <guid>http://adamrotman.com/blog/post/build-a-kick-ass-calendar-with-expressionengine-jquery</guid>
	  <description><![CDATA[<p>
	It&#39;s actually surprisingly simple to create a really awesome calendar in ExpressionEngine 2 if you have about 15 minutes and $79.95 to spare for the amazing <a href="http://www.solspace.com/software/detail/calendar/"> Calendar module</a> from <a href="http://www.solspace.com">Solspace</a>. For the most part, it&#39;s almost a no-brainer but there&#39;s a few small tweaks you&#39;ll want to make. So here goes...</p>
<p>
	<img alt="" src="http://adamrotman.com/images/uploads/calendar-pic.png" style="width: 620px; height: 501px;" /></p>
<p>
	<strong>Things you&#39;ll need to download:</strong><a href="http://jquery.com/"><br />
	jQuery</a><br />
	<a href="http://arshaw.com/fullcalendar/ ">jQuery FullCalendar</a> from Adam Shaw<br />
	<a href="http://www.solspace.com/software/detail/calendar/ ">Calendar Module</a> from Solspace ($79.99)</p>
<p>
	<strong>Step 1:</strong><br />
	Purchase and install the Calendar module from Solspace. Installation instructions can be found <a href="http://www.solspace.com/docs/detail/calendar_installation/">here</a>.</p>
<p>
	<strong>Step 2:</strong><br />
	Once you&#39;ve got the the Calendar module installed and configured, create the template where the calendar will live.</p>
<p>
	<strong>Step 3:</strong><br />
	Make sure you&#39;ve got jQuery, and hook up the FullCalendar plugin. The full instructions are <a href="http://arshaw.com/fullcalendar/docs/usage/">here</a>, but you basically want to include this in the head of your document once you&#39;ve got the FullCalendar files on your server:</p>
<pre class="brush:ee;">
&lt;link rel=&#39;stylesheet&#39; type=&#39;text/css&#39; href=&#39;/css/fullcalendar.css&#39; /&gt;&#10;&lt;script type=&#39;text/javascript&#39; src=&#39;/js/jquery.js&#39;&gt;&lt;/script&gt;&#10;&lt;script type=&#39;text/javascript&#39; src=&#39;/js/fullcalendar.js&#39;&gt;&lt;/script&gt; &#10;&#10;</pre>
<p>
	<br />
	<strong>Step 4: </strong><br />
	Now that we&#39;ve got the FullCalendar plugin files all linked up, it&#39;s time to make the magic happen. What we&#39;re basically going to do is run the Calendar "occurances" loop inside the javascript tags. So for each event entry that you create, a new entry will be dynamically created in the calendar. Here is the full template code (and yes, this works for repeating events as well as the day, month and week views):</p>
<pre class="brush:ee;">
&lt;div id="calendar"&gt;&lt;/div&gt;&#10;&#10;&lt;script type=&#39;text/javascript&#39;&gt;  &#10;$(document).ready(function() &#123;&#10;  $(&#39;#calendar&#39;).fullCalendar(&#123;&#10;  header: &#123;&#10;   left: &#39;prev,next today&#39;,&#10;   center: &#39;title&#39;,&#10;   right: &#39;month,agendaWeek,agendaDay&#39;&#10;  &#125;,&#10;  editable: false,&#10;  events: [ &#123;&#125;&#10;   &#123;exp:calendar:events  sort="asc" dynamic="off"&#125;&#10;   &#123;occurrences&#125;&#10;    ,&#123;&#10;     title: &#39;&#123;event_title&#125;&#39;,&#10;     url: &#39;&#123;url_title_path="events/detail"&#125;&#39;,&#10;    &#10;     start: new Date(&#123;occurrence_start_date format="%Y,%n-1,%j"&#125;),&#10;     end:  new Date(&#123;occurrence_end_date format="%Y,%n-1,%j"&#125;),&#10;     allDay: false       &#10;    &#125;&#10;   &#123;/occurrences&#125;&#10;   &#123;/exp:calendar:events&#125;    &#10;  ]&#10; &#125;);  &#10;&#125;); &#10;&lt;/script&gt; &#10;&#10;&#10;</pre>
<p>
	<br />
	Since this will be a calendar for users visiting the site, we&#39;ve disabled the ability to drag and drop items in the calendar by setting editable: false; We also want to include, Previous, Next and Today buttons as well as the ability for users to choose from "Day View", "Month View", and "Week View".... so we&#39;ll include:</p>
<pre class="brush:jscript;">
header: &#123;&#10;   left: &#39;prev,next today&#39;,&#10;   center: &#39;title&#39;,&#10;   right: &#39;month,basicWeek,basicDay&#39;&#10;  &#125;,   &#10;&#10;&#10;</pre>
<p>
	<br />
	Now, there&#39;s a 2 important things to mention.</p>
<p>
	1. IE hates the trailing comma when dealing with dynamically created javascript arguments. So to get around this, I&#39;ve added "&#123;&#125;" right before &#123;exp:calendar:events&#125; loop so that there never has to be a trailing comma after the last event entry.</p>
<p>
	2. ExpressionEngine uses PHP to render date variables and counts months starting at "1" and not "0". January (for example) is always referred to as either "1" or "01". Makes sense right, since January is the 1st month of the year... But in javascript, January is referred to as month "0", February as "1", etc, etc. To get around this, I used <strong>%n-1 </strong>as the month variable.</p>
<p>
	<strong>Step 5:</strong><br />
	That&#39;s it, you&#39;re done! Pretty easy right? For addtional info on setting up more advanced FullCalendar functionality, make sure to visit <a href="http://arshaw.com/fullcalendar/docs/usage/">Adam Shaw&#39;s</a> site...Also, big ups to <a href="http://twitter.com/#!/vladikoff">@vladikoff </a>for helping fix the javascript and date variable issues.</p>
<p>
	Haven&#39;t really got too deep into testing this yet, so let me know if you notice any issues or better ways of implementing.</p>
]]></description> 
	
	
	
	  <dc:date>2011-07-19T05:50:27+00:00</dc:date>
	</item>

	<item>
	  <title>Hey BlackBerry, 2005 Called</title>
	  <link>http://adamrotman.com/blog/post/hey-blackberry-2005-called</link>
	  <guid>http://adamrotman.com/blog/post/hey-blackberry-2005-called</guid>
	  <description><![CDATA[<p>
	If you haven&#39;t seen the recent BlackBerry commercial boasting it&#39;s Flash compatibilty, well, I guess you&#39;re one of the lucky ones. The commercial starts like this:</p>
<p>
	<strong>"What&#39;s so special about web browsing on the new BlackBerry Playbook&hellip;?&nbsp; That&#39;s right, it runs Flash"</strong></p>
<p>
	Wow BlackBerry, you guys are just so revolutionary. Let me guess, the next version is going to play Beta tapes, run on leaded gas and come stock with an 8-Track player&hellip;&hellip;.&hellip;Shut up BlackBerry, just shut up, before we all vomit. It&#39;s not so often that a commercial like this pisses me off to the point where I need write a damn rant article about it&hellip;</p>
<p>
	<img alt="" src="http://adamrotman.com/images/uploads/8-track-player.png" style="width: 393px; height: 260px;" /></p>
<p>
	Isn&#39;t it just typical that a company, notorious for releasing inferior technology, is positioning their new tablet as &#39;superior&#39;, simply because it supports Flash. Makes me sick. This is quite literally the equivalent of trying to a sell a DVD player because it also plays VHS.</p>
<p>
	This whole mentality is a little too familiar to the whole IE6 scenario -- and it just goes to show that company&#39;s will exploit the fact that people will always continue to use old technology, even long after it&#39;s been replaced. But more accurately, the fact that people out there are afraid of positive change. If you have&#39;t seen the commercial here it is:</p>
<p>
	<iframe allowfullscreen="" frameborder="0" height="349" scrolling="no" src="http://www.youtube.com/embed/STw4zti94iM" width="620"></iframe></p>
<p>
	Now back to the Flash thing -- don&#39;t get me wrong, Flash is cool -- it always has been. There are many forms of media online that are perfectly suited to be built with Flash. But I guess what I&#39;m trying to say is that if your campaign requires the use of Flash, at least have a fallback for mobile/tablet devices - cause let&#39;s face it, most interactive Flash media [in reality] doesn&#39;t run all that smooth on a mobile devices or even tablets anyway (That&#39;s at least been my experience). Yeah - I know this means more work for developers - but its all part of a push forward. We can sit around and wait for people to start using modern technology, or we can force them to. And dammit, I&#39;m with Apple on this one! Apple may not always be right - but for the love of God - I hope they continue to stick to their guns on this one. (I know they will!).</p>
<p>
	We&#39;re in an era where technology is advancing at a rapid pace, and it really grinds my gears that freaking BlackBerry (and other companies I won&#39;t mention...oh screw it, I&#39;m talking about you Motorola &amp; LG) are using the "we support Flash" as a selling a feature. And then BlackBerry goes and says stuff like, "Introducing the world&#39;s first professional-grade tablet" &hellip;.<em>What the hell does that even mean???</em></p>
<p>
	So if you&#39;re with me, (or you think I&#39;m an asshole and completely out of line) drop a comment below.</p>
]]></description> 
	
	
	
	  <dc:date>2011-05-23T00:50:04+00:00</dc:date>
	</item>

	<item>
	  <title>Keep Your MacBook Nice &amp;amp; Cool</title>
	  <link>http://adamrotman.com/blog/post/keep-your-macbook-pro-nice-and-cool</link>
	  <guid>http://adamrotman.com/blog/post/keep-your-macbook-pro-nice-and-cool</guid>
	  <description><![CDATA[<p>
	How many times do you find yourself watching TV from bed with your laptop on your lap? For me, it&#39;s almost every night - and my laptop gets freakin hot. I have MacBook Pro from about 2 years ago (2.5 GHz Intel Core 2 Duo) and the thing reaches temperatures of nearly 65<span id="search" style="visibility: visible;">&deg;C. </span></p>
<p>
	I recently came across <a href="http://homepage.mac.com/holtmann/eidac/software/software.html">smcFanControl 2.1</a> from Hendrik Holtmann, and it&#39;s pretty sweet! It&nbsp;allows you to control the rpm of both fans and you can bring down the temperature quite significantly. After you download and install smcFanControl, take a look under the "Favourites" dropdown and they have a nice little preset for <em>keeping the templare at less than 50<span style="visibility: visible;">&deg;C!&nbsp;</span></em></p>
<p>
	<em><span style="visibility: visible;"><img alt="" src="http://adamrotman.com/images/uploads/smc(1).png" style="width: 377px; height: 498px;" /></span></em></p>
<p>
	If you&#39;ve got a case of the hot lap, smcFanControl is definately worth a whirl! <a href="http://www.conscius.de/smcfancontrol_2_2_2.zip">Download</a> the latest version here (2.1)</p>
]]></description> 
	
	
	
	  <dc:date>2011-02-01T03:41:34+00:00</dc:date>
	</item>

	<item>
	  <title>Uploading Your CMS the Quick Way With Transmit 4</title>
	  <link>http://adamrotman.com/blog/post/uploading-your-cms-the-quick-way</link>
	  <guid>http://adamrotman.com/blog/post/uploading-your-cms-the-quick-way</guid>
	  <description><![CDATA[<p>
	So you just downloaded the lastest version of Wordpress, ExpressionEngine (or your CMS of choice) and you&#39;ve got a zip file sitting on your desktop. The next thing you gotta do is upload the hundreds of files and folders that comprise the CMS to your ftp. Easy -- extract the zip and upload....right?&nbsp; ......WRONG! I&#39;m sort of embarrased to admit it, but for the longest time, I&#39;d actually extract my ExpressionEngine files locally and upload the raw files. This would often take over 30 minutes! Then, there were those other situations where I&#39;d need to download an EE install from somewhere (which would take a good 20 minutes, depending on the transfer rate) and then upload it somewhere else (a.k.a. server migration). All together, the whole process taking up almost an hour of transfer time - not cool.</p>
<p>
	As you might already be ready to point out, cPanel has a nice little extract/compress function in it&#39;s File Manager. This works really well if you&#39;ve got cPanel on your server...But what if you don&#39;t? Here at the office we have the latest version of Plesk on our Rackspace dedicated server, and the extract/compress function is not available. Now, I&#39;m fully aware that you can zip and unzip using some pretty basic SSH, but I tend to avoid SSH, just because I&#39;m not your typical hardcore programmer.</p>
<p>
	<img alt="" src="http://www.panic.com/images/app-transmit.png" style="width: 128px; height: 128px; float: left; margin-right: 20px;" />Long story short, I wanted to be able to zip and unzip directories on the server using my FTP software (without writing a single SSH command). As it turns out, I use the amazing <a href="http://www.panic.com/transmit/">Transmit 4</a> from <a href="http://www.panic.com/">Panic</a>! Transmit offers an awesome feature for zipping and unzipping directories on any server that you have SSH access to. Here&#39;s how you do it:</p>
<p>
	<br />
	<br />
	<strong>Step 1: </strong>So, lets say you want to zip up your entire root directory on the server. Connect to your server via SFTP (Important: It needs to be SFTP for this to work)</p>
<p>
	<strong>Step 2:</strong> Highlight all the files you want to compress or simply select your "public_html" or "httpdocs" or "www" folder.</p>
<p>
	<strong>Step 3:</strong> On the top menu go to File --&gt; Send SSH Command<br />
	<br />
	<strong>Step 4: </strong>Click on the icon beside the input field and choose "Zip Selection"</p>
<p>
	<strong>Step 5: </strong>Wait a couple seconds and the zip file will appear in the current directory you are in.</p>
<p>
	<strong>Step 6:</strong> That&#39;s it, you&#39;re all set! To Unzip a file on the server, do the exact same thing, except highlight the zip file and choose "Unzip Selection" to uncompress the file!</p>
<p>
	Hopet that helps! Drop a comment if you have any other cool tips like this...</p>
]]></description> 
	
	
	
	  <dc:date>2011-01-31T17:02:25+00:00</dc:date>
	</item>

	
	</channel>
</rss>