<?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>Eric Sheline &#187; how to</title>
	<atom:link href="http://ericsheline.com/category/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://ericsheline.com</link>
	<description></description>
	<lastBuildDate>Wed, 19 Oct 2011 23:18:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Coding a WordPress blog for Twitter integration</title>
		<link>http://ericsheline.com/2009/06/coding-a-wordpress-blog-for-twitter-integration/</link>
		<comments>http://ericsheline.com/2009/06/coding-a-wordpress-blog-for-twitter-integration/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 19:41:47 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[how to]]></category>
		<category><![CDATA[opinion]]></category>
		<category><![CDATA[websites]]></category>

		<guid isPermaLink="false">http://ericsheline.com/?p=220</guid>
		<description><![CDATA[Twitter is often likened to the evolution of blogging and compared to it in a competitive sense, but I think that isn&#8217;t really a fair comparison. Twitter is definitely a streamlined version of blogging, but to accomplish that Twitter had to strip out many integral features of blog software. In my opinion one of the [...]]]></description>
			<content:encoded><![CDATA[<p>Twitter is often likened to the evolution of blogging and compared to it in a competitive sense, but I think that isn&#8217;t really a fair comparison. Twitter is definitely a streamlined version of blogging, but to accomplish that Twitter had to strip out many integral features of blog software. In my opinion one of the best implementations of both blogging and Twitter is to combine them.</p>
<p><img class="size-medium wp-image-229 alignnone" title="techognized-twittercap" src="http://ericsheline.com/wp-content/uploads/2009/06/techognized-twittercap-520x130.jpg" alt="techognized-twittercap" width="520" height="130" /></p>
<p>Last year I coded <a href="http://www.techognized.com/" target="_blank">techognized</a> (above) to integrate twitter posts and traditional longer form blog posts on the same page, and more recently, <a href="http://gadgets.boingboing.net/" target="_blank">Boing Boing Gadgets</a> (below top) has just redesigned their site to display tweet-like mini posts in the same column as normal posts. In hindsight, I like BBG&#8217;s approach better, so with <a href="http://simpler.me" target="_blank">simpler.me</a> (below bottom) &#8211; my latest site design &#8211; I coded twitter inline with other blog posts.</p>
<p><img class="size-medium wp-image-230 alignnone" title="boingboinggadgets-twittercap" src="http://ericsheline.com/wp-content/uploads/2009/06/boingboinggadgets-twittercap-520x267.jpg" alt="gadgets.boingboing.net" width="520" height="267" /></p>
<p><img class="size-medium wp-image-231 alignnone" title="simplerme-twittercap" src="http://ericsheline.com/wp-content/uploads/2009/06/simplerme-twittercap-520x384.jpg" alt="simpler.me" width="520" height="384" /></p>
<p>Here is how to do that.</p>
<p>It&#8217;s actually pretty simple, if you know the basics of editing WordPress theme files. Before breaking out your text editor of choice to code, here are a few steps to lay the groundwork:</p>
<ol>
<li>Create a WordPress category (I named mine &#8220;Twitter&#8221;) and note the <a href="http://wordpress.org/support/topic/183636" target="_blank">category ID number</a>.</li>
<li>Install the <a href="http://wordpress.org/extend/plugins/twitter-tools/installation/" target="_blank">Twitter Tools</a> plugin and <a href="http://wordpress.org/extend/plugins/twitter-tools/other_notes/" target="_blank">configure it</a> to create blog posts from your tweets, filed in the category you created in step 1.</li>
</ol>
<p>Now to the coding. Our objective here is to remove the blog post&#8217;s title based on if the post is a tweet or not. To do this we will use a simple PHP &#8216;if&#8217; function in the site&#8217;s index.php file:</p>
<blockquote><p>&lt;?php if (!in_category(&#8216;<span style="color: #993366;">[Twitter category ID number]</span>&#8216;)) { ?&gt;<br />
<span style="color: #993366;">[Information your are cutting out in Twitter posts goes here -- title/header, etc.]</span><br />
&lt;?php } ?&gt;</p></blockquote>
<p>Basically, we are saying &#8220;If a post is NOT in the Twitter category, show the header/title/etc information&#8221;. Here is how that would look in the default WordPress Kubrik theme&#8217;s Loop:</p>
<blockquote><p>&lt;?php if (have_posts()) : ?&gt;</p>
<p>&lt;?php while (have_posts()) : the_post(); ?&gt;</p>
<p>&lt;div &lt;?php post_class() ?&gt; id=&#8221;post-&lt;?php the_ID(); ?&gt;&#8221;&gt;</p>
<p><strong>&lt;?php if (!in_category(&#8216;<span style="color: #993366;">[Twitter category ID number]</span>&#8216;)) { ?&gt;<br />
&lt;h2&gt;&lt;a href=&#8221;&lt;?php the_permalink() ?&gt;&#8221; rel=&#8221;bookmark&#8221; title=&#8221;Permanent Link to &lt;?php the_title_attribute(); ?&gt;&#8221;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;<br />
&lt;?php } ?&gt;</strong></p>
<p>&lt;small&gt;&lt;?php the_time(&#8216;F jS, Y&#8217;) ?&gt; &lt;!&#8211; by &lt;?php the_author() ?&gt; &#8211;&gt;&lt;/small&gt;</p>
<p>&lt;div class=&#8221;entry&#8221;&gt;<br />
&lt;?php the_content(&#8216;Read the rest of this entry &amp;raquo;&#8217;); ?&gt;<br />
&lt;/div&gt;</p>
<p>&lt;p class=&#8221;postmetadata&#8221;&gt;&lt;?php the_tags(&#8216;Tags: &#8216;, &#8216;, &#8216;, &#8216;&lt;br /&gt;&#8217;); ?&gt; Posted in &lt;?php the_category(&#8216;, &#8216;) ?&gt; | &lt;?php edit_post_link(&#8216;Edit&#8217;, &#8221;, &#8216; | &#8216;); ?&gt;  &lt;?php comments_popup_link(&#8216;No Comments &amp;#187;&#8217;, &#8217;1 Comment &amp;#187;&#8217;, &#8216;% Comments &amp;#187;&#8217;); ?&gt;&lt;/p&gt;<br />
&lt;/div&gt;</p>
<p>&lt;?php endwhile; ?&gt;</p>
<p>&lt;div class=&#8221;navigation&#8221;&gt;<br />
&lt;div class=&#8221;alignleft&#8221;&gt;&lt;?php next_posts_link(&#8216;&amp;laquo; Older Entries&#8217;) ?&gt;&lt;/div&gt;<br />
&lt;div class=&#8221;alignright&#8221;&gt;&lt;?php previous_posts_link(&#8216;Newer Entries &amp;raquo;&#8217;) ?&gt;&lt;/div&gt;<br />
&lt;/div&gt;</p>
<p>&lt;?php else : ?&gt;</p>
<p>&lt;h2 class=&#8221;center&#8221;&gt;Not Found&lt;/h2&gt;<br />
&lt;p class=&#8221;center&#8221;&gt;Sorry, but you are looking for something that isn&#8217;t here.&lt;/p&gt;<br />
&lt;?php get_search_form(); ?&gt;</p>
<p>&lt;?php endif; ?&gt;</p></blockquote>
<p>Your blog now should display posts from twitter without the title/headline, while leaving your other posts untouched. You can use this same method to edit out the author and timestamp if you wish. Remember, you may have to touch up your CSS afterward in case removing the header fouled up your margins or spacing.</p>
<p>Hope this post has been useful!</p>
]]></content:encoded>
			<wfw:commentRss>http://ericsheline.com/2009/06/coding-a-wordpress-blog-for-twitter-integration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to preview a TinyURL</title>
		<link>http://ericsheline.com/2007/12/howto-preview-a-tinyurl/</link>
		<comments>http://ericsheline.com/2007/12/howto-preview-a-tinyurl/#comments</comments>
		<pubDate>Mon, 31 Dec 2007 05:42:04 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[how to]]></category>
		<category><![CDATA[websites]]></category>

		<guid isPermaLink="false">http://blog.ericsheline.com/?p=37</guid>
		<description><![CDATA[Just a quick tip for today. The site TinyURL is a great website (and super convenient for long web addresses that are annoying to paste into emails/IM/etc) but if you don&#8217;t trust the source, sometimes clicking on it may be risky. To solve this, before clicking on the link, go to this TinyURL preview page [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.ericsheline.com/wp-content/uploads/2007/12/tinyurlpreview.jpg" title="Tiny URL Preview" alt="Tiny URL Preview" align="middle" /></p>
<p>Just a quick tip for today. The site <a href="http://tinyurl.com/" target="_blank">TinyURL</a> is a great website (and super convenient for long web addresses that are annoying to paste into emails/IM/etc) but if you don&#8217;t trust the source, sometimes clicking on it may be risky.</p>
<p>To solve this, before clicking on the link, go to <a href="http://tinyurl.com/preview.php" target="_blank">this TinyURL preview page</a> and enable previews. You can then go back and click the untrusted TinyURL link, and it will safely take you to a TinyURL-hosted preview page where you can view the original web address before deciding whether to visit it or not.</p>
]]></content:encoded>
			<wfw:commentRss>http://ericsheline.com/2007/12/howto-preview-a-tinyurl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Link: How to block Facebook Beacon</title>
		<link>http://ericsheline.com/2007/12/link-how-to-block-facebook-beacon/</link>
		<comments>http://ericsheline.com/2007/12/link-how-to-block-facebook-beacon/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 06:47:44 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[how to]]></category>
		<category><![CDATA[websites]]></category>

		<guid isPermaLink="false">http://blog.ericsheline.com/?p=35</guid>
		<description><![CDATA[I&#8217;m still going to write mostly original content for this blog, but once in awhile an article comes up that I&#8217;ll just have to link out to. This Consumerist post shows you how to remove a piece of spyware from your computer you probably don&#8217;t even know is there. In case you haven&#8217;t heard yet, [...]]]></description>
			<content:encoded><![CDATA[<p><span id="more-35"></span><img title="Block Facebook Beacon" src="http://blog.ericsheline.com/wp-content/uploads/2007/12/blocksitebeacon.jpg" alt="Block Facebook Beacon" align="left" />I&#8217;m still going to write mostly original content for this blog, but once in awhile an article comes up that I&#8217;ll just have to link out to. This <a href="http://consumerist.com/consumer/privacy/how-to-block-facebooks-beacon-330038.php" target="_blank">Consumerist</a> post shows you how to remove a piece of spyware from your computer you probably don&#8217;t even know is there. In case you haven&#8217;t heard yet, Facebook&#8217;s new &#8220;Beacon&#8221; program is basically a web-based spyware program. Even though there has been <a href="http://www.news.com.au/technology/story/0,25642,22848494-5014108,00.html" target="_blank">recent news</a> that Facebook has altered Beacon to be opt-in only, that only applies with regard to stories appearing in your friends&#8217; news feeds. Beacon is still collecting data on your browsing habits silently. Whether that data is stored by Facebook is still <a href="http://www.ideashower.com/blog/facebook-im-still-watching-you-watch-me/" target="_blank">not</a> really confirmed one way or another, but why worry about that when you can block it with minimal effort?</p>
<p>Giving yet another great reason to use <a href="http://www.mozilla.com/en-US/firefox/" target="_blank">Firefox</a>, <a href="http://www.wikihow.com/Block-Facebook-Beacon" target="_blank">WikiHow</a> shows how to block Facebook Beacon using Firefox extension <a href="https://addons.mozilla.org/en-US/firefox/addon/3145" target="_blank">BlockSite</a>.</p>
<p>[image courtesy <a href="http://consumerist.com/consumer/privacy/facebook-ruins-christmas-325651.php" target="_blank">Consumerist</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://ericsheline.com/2007/12/link-how-to-block-facebook-beacon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Podcasting 101</title>
		<link>http://ericsheline.com/2007/11/podcasting-101/</link>
		<comments>http://ericsheline.com/2007/11/podcasting-101/#comments</comments>
		<pubDate>Wed, 14 Nov 2007 16:50:17 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[how to]]></category>

		<guid isPermaLink="false">http://blog.ericsheline.com/?p=29</guid>
		<description><![CDATA[I just started working on podcasts, and in this post I&#8217;ll show you how to get started easily and inexpensively. Before getting intimidated by podcast production startup costs, know that all you really need for the most basic podcast is an internet-connected computer with a built-in microphone &#8211; that&#8217;s it! Personally my podcasting setup is [...]]]></description>
			<content:encoded><![CDATA[<p>I just started working on podcasts, and in this post I&#8217;ll show you how to get started easily and inexpensively.</p>
<p>Before getting intimidated by podcast production startup costs, know that all you really need for the most basic podcast is an internet-connected computer with a built-in microphone &#8211; that&#8217;s it!</p>
<p>Personally my podcasting setup is a computer, a portable digital recorder (optional), and an external mic. You can of course use your built-in mic to try out podcasting, but if you ever do want to upgrade the sound quality of  your podcasts closer to professional-level, the very first thing you should get is an external mic. A good external mic is usable on your computer recording directly and also with any good portable recorder, so make sure you get a decent one! I recommend the <a href="http://www.amazon.com/gp/product/B000FIE1WK?ie=UTF8&amp;tag=erishesblo-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B000FIE1WK">Shure C606WD</a><img src="http://www.assoc-amazon.com/e/ir?t=erishesblo-20&amp;l=as2&amp;o=1&amp;a=B000FIE1WK" style="border: medium none  ! important; margin: 0px ! important" border="0" height="1" width="1" />, as it is a good basic microphone that has given me excellent audio quality and is fairly affordable.</p>
<p>Podcast production can be split into three basic steps: recording, editing, and publishing. You can read my basic instructions to do each one, but for any specific, technical questions (EX: How do I record audio directly into Audacity?) just search for them on the internet or in forums. I don&#8217;t want to write specific instructions here as they will inevitably change with time and become obsolete.</p>
<p><strong>[1] Recording -</strong><br />
Basically in this step, you plan out and record audio however you want (externally, straight to computer, etc), then get it onto your computer in an <a href="http://audacity.sourceforge.net/manual-1.2/fileformats.html">Audacity-compatible</a> format. The main 3 formats you should be using throughout this project are:</p>
<p>-MP3:  Everybody knows what this one is! It&#8217;s a compressed format to save space, and it will playback on almost any portable device or computer you&#8217;ll ever find. This can be the format your recordings are in, and most importantly should probably be the format you export your final product in. MP3 files can be different bit rates, usually either 64, 128, or 256 kilobytes per second (kbps)</p>
<p>-WAV: This is an lightly-compressed format, leading to superior audio quality at the expense of disk space. You can record and edit in this, but only export using this if you never will stream it over the internet and only store it on the hard disk as a high-quality archive. WAV files are so large they cannot easily be streamed over the internet, so if music quality is very important to you I recommend still going with MP3, and just raising the quality to 256 kbps or above.</p>
<p>-AUP: This is Audacity&#8217;s proprietary format. This is the format you should save to during editing in Audacity. It saves separate track information, and is a great format if you want to keep an archival copy on your hard drive for possible re-editing. Even though you should export as a flexible mp3, I&#8217;d keep an AUP copy saved as your &#8220;original&#8221;.</p>
<p>If your raw audio recordings are in a different format, don&#8217;t worry you can convert it to a compatible format. For example, my portable Olympus recorder outputs to .wma only, so I use iTunes to convert it to mp3.</p>
<p><strong>[2] Editing -</strong><br />
Once you have all your audio in a compatible digital format, <a href="http://audacity.sourceforge.net/">download Audacity</a> (available for Windows, Mac, or Linux) and install it on your computer. Make sure and get version 1.3.3 or later. I know that&#8217;s an &#8220;unstable beta&#8221; and yes it may cause you problems (if so, uninstall and get the earlier version) but 1.3.x+ versions contain the most important feature of all: <a href="http://audacity.sourceforge.net/download/features-1.3-c.php">nonlinear</a> editing!</p>
<p>Import all your audio into Audacity, and start editing! The way I do it is to first import all my audio as separate tracks, then crop them down and cut out the junk I won&#8217;t use in each clip. Then I create two &#8220;final&#8221; tracks and eventually edit all my other audio into these two. I take the first clip in the podcast (EX: narration) and put it at the beginning of my first &#8220;final&#8221; track, then the second clip (EX: interview) in the second final track, but staggered as to pick up where the first clip left off. Then I put the third clip in the first track, basically putting clips in alternating tracks and using the &#8220;drag-to-reposition&#8221; tool (not a technical term!) to line them all up properly.</p>
<p><strong>[3] Publishing -</strong><br />
By now, you should have a completed, edited podcast hopefully in MP3 format. The simplest way of publishing would be to just upload it to your web server, then post a direct link to it and users can &#8220;save link as&#8221; to their own computers.</p>
<p>A slightly more advanced way to publish would be to embed a flash player or mp3 player plugin on your website. Like I said with the specific instructions, use websearch to find something good for you, but as an example, I&#8217;ll probably be using the wordpress-based <a href="http://www.1pixelout.net/code/audio-player-wordpress-plugin/" target="_blank">Audio Player</a> plugin for posting podcasts on this blog.</p>
<p>The largest audience for podcasts is probably on Apple&#8217;s iTunes store, so if you want to get yours listed there, check out Apple&#8217;s <a href="http://www.apple.com/itunes/store/podcastingfaq.html" target="_blank">FAQ</a>. I haven&#8217;t tried it yet, so if you have any additional tips for iTunes-aspiring podcasters, <a href="http://blog.ericsheline.com/?page_id=2">email me</a>.</p>
<p>I&#8217;ll post a few podcasts I&#8217;ve made using this method soon. I hope this quick walkthrough has helped you get started and you enjoy it!</p>
]]></content:encoded>
			<wfw:commentRss>http://ericsheline.com/2007/11/podcasting-101/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

