<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom">
 <title>Garrett Winder</title>
 
 <link href="http://garrettwinder.com/" />
 <updated>2012-02-26T11:54:59+00:00</updated>
 <id>http://garrettwinder.com/</id>
 <author>
   <name>Garrett Winder</name>
   <email>gw@garrettwinder.com</email>
 </author>
 
 <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/garrettwinder/journal" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="garrettwinder/journal" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry>
   <title>This week in mobile</title>
   <link href="http://garrettwinder.com/2012/02/23/mobile-week-8/" />
   <updated>2012-02-23T00:00:00+00:00</updated>
   <id>http://garrettwinder.com/2012/02/23/mobile-week-8</id>
   <content type="html">&lt;h1&gt;This week in mobile&lt;/h1&gt;
&lt;p&gt;There&amp;#8217;s been some really great links floating around the internets this week in mobile. Enough to dust the cobwebs off my site and link to five:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;a href="http://www.dmolsen.com/mobile-in-higher-ed/2012/02/21/ress-and-the-evolution-of-responsive-web-design/"&gt;&lt;span class="caps"&gt;RESS&lt;/span&gt;, Server-Side Feature-Detection and the Evolution of Responsive Web Design&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href="http://www.quirksmode.org/blog/archives/2012/02/browser_stats_f_3.html"&gt;Browser stats for January&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href="http://www.lukew.com/ff/entry.asp?1506"&gt;Why mobile matters&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href="http://www.thismanslife.co.uk/projects/lab/responsivewireframes/"&gt;Responsive layouts, responsively wireframed&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href="http://filamentgroup.com/lab/overthrow/"&gt;Overthrow: An overflow polyfill for responsive design&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And for a bonus, here&amp;#8217;s the post from 1991 where &lt;a href="https://groups.google.com/group/comp.sys.next.announce/browse_thread/thread/6af5808c84a771fc/042c02b1b5992dd3?pli=1"&gt;Tim Berners-Lee turned on the internet&lt;/a&gt;! (Hat tip to cool guy &lt;a href="https://twitter.com/chrisrowe"&gt;Chris Rowe&lt;/a&gt; for the find)&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/garrettwinder/journal/~4/s9di7kaIMxk" height="1" width="1"/&gt;</content>
   <author>
     <name>Garrett Winder</name>
     <uri>http://garrettwinder.com/</uri>
   </author>
 </entry>
 
 <entry>
   <title>EEUK 2011 - Going mobile</title>
   <link href="http://garrettwinder.com/2011/08/27/eeuk11/" />
   <updated>2011-08-27T00:00:00+01:00</updated>
   <id>http://garrettwinder.com/2011/08/27/eeuk11</id>
   <content type="html">&lt;h1&gt;&lt;span class="caps"&gt;EEUK&lt;/span&gt; 2011 &amp;#8211; Going mobile&lt;/h1&gt;
&lt;h3&gt;Tips, techniques and tactics for going mobile with ExpressionEngine.&lt;/h3&gt;
&lt;figure&gt;
&lt;img src="/static/images/posts/eeuk11-garrett-winder.jpg" width="702" height="468" alt="Garrett speaking at EEUK11"&gt;
  &lt;figcaption&gt;Photo by &lt;a href="http://www.flickr.com/photos/joelbradbury/"&gt;Joel Bradbury&lt;/a&gt;&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;ul&gt;
	&lt;li&gt;Current status of mobile&lt;/li&gt;
	&lt;li&gt;Native v.s. web&lt;/li&gt;
	&lt;li&gt;Dedicated or responsive?&lt;/li&gt;
	&lt;li&gt;And how ExpressionEngine can help ease the pain&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="http://dl.dropbox.com/u/19272573/eeuk11-going-mobile-pdf.pdf"&gt;EEUK11 presentation &amp;#8211; Going mobile&lt;/a&gt; (pdf)&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;a href="http://www.netmagazine.com/tutorials/going-mobile-expressionengine"&gt;Going mobile with ExpressionEngine&lt;/a&gt; (Tutorial on .net magazine)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#8217;ve condensed them down quite a bit so if you&amp;#8217;d like the originals, shoot me an email at gw [at] garrettwinder [dot] com.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/garrettwinder/journal/~4/nWfrSZdDTgk" height="1" width="1"/&gt;</content>
   <author>
     <name>Garrett Winder</name>
     <uri>http://garrettwinder.com/</uri>
   </author>
 </entry>
 
 <entry>
   <title>Generating share links in your ExpressionEngine templates</title>
   <link href="http://garrettwinder.com/2010/12/06/generating-share-links-expressionengine/" />
   <updated>2010-12-06T00:00:00+00:00</updated>
   <id>http://garrettwinder.com/2010/12/06/generating-share-links-expressionengine</id>
   <content type="html">&lt;h1&gt;Generating share links in your ExpressionEngine templates&lt;/h1&gt;
&lt;p&gt;Making custom links for sharing content is always an annoying process. Go to each service you need, try and figure out how to pass information to it via a &lt;span class="caps"&gt;URL&lt;/span&gt;. Rinse, lather, repeat.&lt;/p&gt;
&lt;p&gt;Below I&amp;#8217;ll document some of the most common share links and their basic &lt;span class="caps"&gt;URL&lt;/span&gt; structures, and then I&amp;#8217;ll show you how we can easily implement this into an ExpressionEngine channel entry page.&lt;/p&gt;
&lt;script src="https://gist.github.com/1101867.js?file=common-share-links-1"&gt;&lt;/script&gt;&lt;p&gt;Now that we&amp;#8217;ve got the basics out of the way, let&amp;#8217;s convert this into an ExpressionEngine gangster rap. I&amp;#8217;ll assumes you understand the basic ExpressionEngine variables. I&amp;#8217;m also going to assumes your channel entries are located at domain.com/segment_1/url_title/ (you can easily change this to fit your needs). Here&amp;#8217;s the code that would go in your individual channel entry pages:&lt;/p&gt;
&lt;script src="https://gist.github.com/1101872.js?file=common-share-links-2"&gt;&lt;/script&gt;&lt;p&gt;Very straight forward &amp;#8211; we&amp;#8217;ve got a channel loop that&amp;#8217;s based off of our current channel entry (pulling the url title from segment_2). We&amp;#8217;re using ExpressionEngine variables to generate the URLs and titles in the share links. For Twitter, I&amp;#8217;m using the categories variable pair for hash tags. For Posterous and Instapaper I&amp;#8217;ve added a fictional excerpt field to the optional selection and description params.&lt;/p&gt;
&lt;p&gt;Obviously, you don&amp;#8217;t need to use all of these, just plug-and-play the links you want to put on your own site. One final not, for the twitter link, I&amp;#8217;d recommend using a shorter url. You can either use some sort of url shortening plugin or &lt;a href="/2010/12/05/expressionengine-short-urls/"&gt;easily role your own short urls like this&lt;/a&gt;. Enjoy!&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/garrettwinder/journal/~4/j03KoE_oVao" height="1" width="1"/&gt;</content>
   <author>
     <name>Garrett Winder</name>
     <uri>http://garrettwinder.com/</uri>
   </author>
 </entry>
 
 <entry>
   <title>ExpressionEngine short urls</title>
   <link href="http://garrettwinder.com/2010/12/05/expressionengine-short-urls/" />
   <updated>2010-12-05T00:00:00+00:00</updated>
   <id>http://garrettwinder.com/2010/12/05/expressionengine-short-urls</id>
   <content type="html">&lt;h1&gt;ExpressionEngine short urls&lt;/h1&gt;
&lt;p&gt;When I was making my site I wanted to be able to have short urls to post to Twitter, etc. without having to deal with the hassle of buying another domain name. There are quite a few ways of doing this but I ended up taking the /template_group/entry_id approach because it&amp;#8217;s easy and sexy.&lt;/p&gt;
&lt;p&gt;The first thing I did was setup a new template group. For example sake, I&amp;#8217;m going to name this template group &amp;#8216;b&amp;#8217; (short for blog). I&amp;#8217;m also going to pretend our actual blog posts are located at /blog&lt;/p&gt;
&lt;p&gt;Once you&amp;#8217;ve made the new template group, &amp;#8216;b&amp;#8217;, open up the index file and paste the following code in there:&lt;/p&gt;
&lt;script src="https://gist.github.com/1101861.js?file=eecms-short-url-template"&gt;&lt;/script&gt;&lt;p&gt;This is pretty simple stuff. First we make a variable called &amp;#8216;my_channel&amp;#8217; that points to our blog channel (it&amp;#8217;s all about the reusable code people, use preload_replace like it&amp;#8217;s your job). Then, we make sure we have a segment_2, if not, we redirect to the main blog page. Lastly, we use an ExpressionEngine Channel loop based off of the entry_id (which is pulled from segment_2) and redirect to its &amp;#8220;long url&amp;#8221;, /blog/url_title&lt;/p&gt;
&lt;p&gt;To show your short url on your actual entry pages, just throw something like the following in the blog entries template (inside the channel loop):&lt;/p&gt;
&lt;p&gt;Short &lt;span class="caps"&gt;URL&lt;/span&gt;: {site_url}/b/{entry_id}/&lt;/p&gt;
&lt;p&gt;Tada &amp;#8211; now you&amp;#8217;ve got yourself a really simple branded short url, none of that bit.ly crap!&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/garrettwinder/journal/~4/ryoOasEqu2A" height="1" width="1"/&gt;</content>
   <author>
     <name>Garrett Winder</name>
     <uri>http://garrettwinder.com/</uri>
   </author>
 </entry>
 
 <entry>
   <title>EE info template</title>
   <link href="http://garrettwinder.com/2010/11/15/ee-info-template/" />
   <updated>2010-11-15T00:00:00+00:00</updated>
   <id>http://garrettwinder.com/2010/11/15/ee-info-template</id>
   <content type="html">&lt;h1&gt;EE info template&lt;/h1&gt;
&lt;p&gt;I wanted a simple way to access site information like template names, channel names, custom fields, etc without accessing the control panel so I threw together these templates w/ the ExpressionEngine Query Module to show all of that data (I&amp;#8217;m no &lt;span class="caps"&gt;SQL&lt;/span&gt; expert, so the queries may not be up to par&amp;#8230; but they work). There is a template for EE1&amp;amp;2 and you can download them on github.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://github.com/garrettwinder/ee-info.ee_template"&gt;Download ExpressionEngine EE-Info Templates on github&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/garrettwinder/journal/~4/K54k0-wkjVQ" height="1" width="1"/&gt;</content>
   <author>
     <name>Garrett Winder</name>
     <uri>http://garrettwinder.com/</uri>
   </author>
 </entry>
 
 <entry>
   <title>ExpressionEngine 2 TextMate bundle</title>
   <link href="http://garrettwinder.com/2010/11/12/expressionengine-2-textmate-bundle/" />
   <updated>2010-11-12T00:00:00+00:00</updated>
   <id>http://garrettwinder.com/2010/11/12/expressionengine-2-textmate-bundle</id>
   <content type="html">&lt;h1&gt;ExpressionEngine 2 TextMate bundle&lt;/h1&gt;
&lt;p&gt;I went ahead and took the liberty of updating &lt;a href="http://www.chrisruzin.net/entry/textmate_expressionengine_bundle/"&gt;Chris Ruzin&amp;#8217;s wonderful ExpressionEngine TextMate bundle&lt;/a&gt; to ExpressionEngine 2. Really all that needed to be done was update the documentation links in the &amp;#8216;Documentation for Tag&amp;#8217; file, change every weblog reference to channel, delete a few oldies and add a few newies. So, here it is:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://dl.dropbox.com/u/19272573/ExpressionEngine2.tmbundle.zip"&gt;Download ExpressionEngine 2 Textmate Bundle&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you find any errors or anything just let me know and I&amp;#8217;ll try and get them updated as soon as I can. Again, I wouldn&amp;#8217;t have known how to do this without Chris-who-has-no-contact-info-on-the-internet&amp;#8217;s bundle for ExpressionEngine 1.x so 99.9% of the credit goes to him.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; : This bundle is based off of ExpressionEngine&amp;#8217;s core functionality and does not include any 3rd party add-on integration. If you want a bundle with all the bells and whistles, &lt;em&gt;&lt;a href="https://github.com/wesbaker/ExpressionEngine2.tmbundle"&gt;checkout this one&lt;/a&gt; .&lt;/em&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/garrettwinder/journal/~4/aP37amsO-dc" height="1" width="1"/&gt;</content>
   <author>
     <name>Garrett Winder</name>
     <uri>http://garrettwinder.com/</uri>
   </author>
 </entry>
 
</feed>

