<?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>Josh Betz</title> <atom:link href="http://joshbetz.com/feed/" rel="self" type="application/rss+xml" /><link>http://joshbetz.com</link> <description>Just Another JB Website</description> <lastBuildDate>Sun, 07 Mar 2010 06:00:00 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Apple 2010 Logo Refresh</title><link>http://joshbetz.com/2010/03/apple-2010-logo-refresh/</link> <comments>http://joshbetz.com/2010/03/apple-2010-logo-refresh/#comments</comments> <pubDate>Wed, 03 Mar 2010 15:19:02 +0000</pubDate> <dc:creator>Josh</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[rant]]></category><guid
isPermaLink="false">http://joshbetz.com/?p=2147</guid> <description><![CDATA[So it&#8217;s been a few years since we&#8217;ve seen a new logo for apple and I think it&#8217;s time for a refresh. The monochrome logo has been effective, but it seems as though the plain white &#8220;glassy&#8221; logo is becoming too cliche. I&#8217;d love to see them bring back a new 2010 version of the [...]]]></description> <content:encoded><![CDATA[<div
id="attachment_2148" class="wp-caption alignleft" style="width: 150px"><img
class="size-full wp-image-2148" title="Apple Logo Refresh" src="http://joshbetz.com/wp-content/uploads/2010/03/5eg.png" alt="" width="140" height="171" /><p
class="wp-caption-text">My idea for a 2010 redesign</p></div><p>So it&#8217;s been a few years since we&#8217;ve seen a new logo for apple and I think it&#8217;s time for a refresh. The monochrome logo has been effective, but it seems as though the plain white &#8220;glassy&#8221; logo is becoming too cliche. I&#8217;d love to see them bring back a new 2010 version of the rainbow logo.</p><p><span
id="more-2147"></span></p><p>My guess though? We&#8217;ll never see anything like the rainbow logo again from Apple. At least not while Steve is still involved. It&#8217;s not &#8220;minimalist&#8221; enough. You&#8217;ve got to admit though, that this has some potential. I guess I&#8217;m not taking into account the millions of dollars they&#8217;d have to spend to rebrand all the Apple stores, billboards, and merchandize. In the meantime, I suppose <a
href="http://www.icolours.ca/stickers.html">this</a> will do.</p> ]]></content:encoded> <wfw:commentRss>http://joshbetz.com/2010/03/apple-2010-logo-refresh/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>My URL Shortener</title><link>http://joshbetz.com/2010/03/my-url-shortener/</link> <comments>http://joshbetz.com/2010/03/my-url-shortener/#comments</comments> <pubDate>Tue, 02 Mar 2010 17:13:37 +0000</pubDate> <dc:creator>Josh</dc:creator> <category><![CDATA[Web]]></category> <category><![CDATA[shortener]]></category> <category><![CDATA[URL]]></category> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://joshbetz.com/?p=2142</guid> <description><![CDATA[For some reason I&#8217;ve wanted to create my own URL shortener just for my stuff for some time now. It&#8217;s finally here: the jbe.me URL shortener. Now, I&#8217;m the only one that can use the service; it&#8217;s only for my links, but when you see a jbe.me URL you at least know it will link [...]]]></description> <content:encoded><![CDATA[<p>For some reason I&#8217;ve wanted to create my own URL shortener just for my stuff for some time now. It&#8217;s finally here: the jbe.me URL shortener. Now, I&#8217;m the only one that can use the service; it&#8217;s only for my links, but when you see a jbe.me URL you at least know it will link to something I&#8217;ve done.</p><p>It was super simple to setup.</p><p>First of all, I had to buy the jbe.me domain name ( think J B dot ME ). Unfortunatly jb.me is not a valid domain, I&#8217;m sure someone much more important than I will grab it. Anyway, jbe.me was the next best thing.</p><p>One I had the domain I installed the <a
href="http://yourls.org/">YOURLS (You Own URL Shortener)</a> script at that location. It&#8217;s a series of scripts that talks to a MySQL database with some pretty cool bookmarklets and an API. The API was key for the next step: the Twitter Tools extension. As many people know, I use twitter tools to post new blog entries to my twitter profile. Since I want to get as much of my URL-shortening as possible done through the jbe.me shortener now I needed to get twitter tools to use the new system. Twitter Tools has it&#8217;s own api that will let you create a shortener for any service that you could think of with some hooks that it install for WordPress. Then I threw a plugin together using the YOURLS API and now when I publish a post, Twitter Tools uses the jbe.me shortener to shorten the URLs. Pretty Cool.</p><p><span
id="more-2142"></span></p><p>The plugin isn&#8217;t public, only because I thought that there wouldn&#8217;t really be anyone else who would need something like this. YOURLS does have it&#8217;s own plugin, but I don&#8217;t think it integrates with Twitter Tools and that was a deal breaker for me. If there&#8217;s anyone else that would like this plugin just let me know and I&#8217;ll polish it up and put it in the plugin directory.</p><p>As a final step I decided to forward <a
href="http://jbe.me">http://jbe.me</a> to <a
href="http://joshbetz.com">http://joshbetz.com</a> with a simple PHP script:</p><pre class="brush: php;">
header(&quot;Location: http://joshbetz.com&quot;);
</pre><p>I&#8217;m sure there&#8217;s a better way to do this, but I&#8217;ve run some test and it seems to be performing decently.</p><p>The only drawback that I have seen on this whole process is the speed of my shared hosting account. I&#8217;m pretty sure it&#8217;s the actual bandwidth and not a MySQL issue. As always, I&#8217;ll keep trying to increase the performance of this.</p> ]]></content:encoded> <wfw:commentRss>http://joshbetz.com/2010/03/my-url-shortener/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Tidy up the RSS</title><link>http://joshbetz.com/2010/02/tidy-up-the-rss/</link> <comments>http://joshbetz.com/2010/02/tidy-up-the-rss/#comments</comments> <pubDate>Sun, 28 Feb 2010 04:23:58 +0000</pubDate> <dc:creator>Josh</dc:creator> <category><![CDATA[Wordpress]]></category> <category><![CDATA[snippet]]></category><guid
isPermaLink="false">http://joshbetz.com/?p=2123</guid> <description><![CDATA[I&#8217;ve been playing around with backing up my tweets lately. At this point I&#8217;m using the Twitter Tools plugin to create a weekly digest. Since I created a Tumble-blog not to long ago to share social stuff like this I also wanted the tweets to go to tumblr. Part of this was just a way [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;ve been playing around with backing up my tweets lately. At this point I&#8217;m using the Twitter Tools plugin to create a weekly digest. Since I created a Tumble-blog not to long ago to share social stuff like this I also wanted the tweets to go to tumblr. Part of this was just a way to clean up Tumblr and not create a new post everytime I tweet.</p><p>Now, having the tweets on the blog is mostly for me. I didn&#8217;t want to bombard people that are subscribed to the RSS feed with this weekly mashup of all my tweets, but still be able to have the RSS feed to send to Tumblr or for anybody that wants it.</p><p>This is what I ended up doing:</p><pre class="brush: php;">
function tweetRSS123($query) {
	if ($query-&gt;is_feed &amp;&amp; !is_category()) {
		$query-&gt;set('cat','-1');
		}
return $query;
}

add_filter('pre_get_posts','tweetRSS123');
</pre><p><span
id="more-2123"></span></p><p>I got the idea somewhere on the web that I can&#8217;t remember. The big change that I made was <code>!is_category()</code>. Which just says if it&#8217;s a category archive, don&#8217;t do anything. So it won&#8217;t remove the category from RSS if you actually take the RSS of that category.</p><p>So far it seems to be working. It&#8217;s hard to tell if it&#8217;s going to get along with the W3 Total Cache plugin, but I think I&#8217;m finally at a point where it&#8217;s going to work. It&#8217;s going to be really awesome if this works because I just spent an hour throwing together a plugin to send it to Tumblr just-in-case, but I&#8217;d really rather not use it.</p><h3>If <em>You</em> Want to Use It</h3><p>So there are two ways of using this snippet in your own theme. The way I&#8217;m doing it is to put this in the <strong>functions.php</strong> file for your theme, which gets treated just like a plugin except that it&#8217;s on a per-theme basis. This is where you can put any PHP function that are specific to your theme.</p><p>The other way would be to to add just a little bit more code and install it as a plugin, which is probably what I&#8217;ll be doing a little later when I get some free time to throw that together. The advantage of using something like this as a plugin instead of in your functions file is that it stays around for any theme that you use. If you forget to add this to the next theme you use though, your category is going to show up again.</p><p>You&#8217;ll have to remember to change the &#8216;-1&#8242; value to the negative of the category ID that you want to exclude. The value is negative because we want to exclude it. If it were positive it would only include that category, which probably isn&#8217;t a good idea for your RSS feed.</p> ]]></content:encoded> <wfw:commentRss>http://joshbetz.com/2010/02/tidy-up-the-rss/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Anything Slider: Go on &#8220;Go&#8221;</title><link>http://joshbetz.com/2010/02/anything-slider-go-on-go/</link> <comments>http://joshbetz.com/2010/02/anything-slider-go-on-go/#comments</comments> <pubDate>Wed, 10 Feb 2010 01:30:36 +0000</pubDate> <dc:creator>Josh</dc:creator> <category><![CDATA[Web]]></category> <category><![CDATA[anythingslider]]></category> <category><![CDATA[css-tricks]]></category> <category><![CDATA[jquery]]></category><guid
isPermaLink="false">http://joshbetz.com/?p=2083</guid> <description><![CDATA[Last week when I was in the CSS-Tricks forums, somebody wanted to modify the functionality of Chris Coyier&#8217;s anythingSlider. Not a huge change, he just wanted to make the slider advance to the next panel when you click &#8220;Go&#8221;. Made sense to me. By the time you click &#8220;Go&#8221;, you&#8217;re done looking at that panel [...]]]></description> <content:encoded><![CDATA[<p>Last week when I was in the <a
href="http://css-tricks.com/forums/">CSS-Tricks forums</a>, somebody wanted to modify the functionality of <a
href="http://chriscoyier.net/">Chris Coyier</a>&#8217;s <a
href="http://css-tricks.com/anythingslider-jquery-plugin/">anythingSlider</a>. Not a huge change, he just wanted to make the slider advance to the next panel when you click &#8220;Go&#8221;. Made sense to me. By the time you click &#8220;Go&#8221;, you&#8217;re done looking at that panel and are ready for the next one. If it doesn&#8217;t advance until after whatever delay you&#8217;ve setup, it could be confusing.</p><p>Basically what we want to do is make the slider advance to the next panel when we click go, which is the same as advancing to the next panel after we click the start/stop button if the slider ends up playing. It sounds complicated, but it will make more sense when we look at the code.</p><pre class="brush: jscript; first-line: 212; highlight: [214];">
base.$startStop.click(function(e){
	base.startStop(!base.playing);
	if(base.playing) base.goForward(true);
	e.preventDefault();
});
</pre><p><span
id="more-2083"></span></p><p>What I&#8217;ve done is find the place where he sets up the Start/Stop button that I mentioned above. Since he&#8217;s already go something going on if the button is clicked I used that to add our line that says to advance one panel. It took me a second to figure out that we wanted to slider to be playing instead of paused. The reason for this is that we&#8217;re inside the click function, which means we&#8217;ve already clicked the start/stop button. This probably seems pretty obvious to most people, but I was coming at this from a different perspective I guess.</p><p>Anyway, this is what I&#8217;m using on this site now. I really like the functionality so far. It&#8217;s nice to see the slider actually advance when you click go instead of staying on the same slide for another couple of seconds.</p> ]]></content:encoded> <wfw:commentRss>http://joshbetz.com/2010/02/anything-slider-go-on-go/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Youtube, Vimeo Showing in HTML5</title><link>http://joshbetz.com/2010/02/youtube-vimeo-showing-in-html5/</link> <comments>http://joshbetz.com/2010/02/youtube-vimeo-showing-in-html5/#comments</comments> <pubDate>Sun, 07 Feb 2010 21:02:49 +0000</pubDate> <dc:creator>Josh</dc:creator> <category><![CDATA[Web]]></category> <category><![CDATA[html5]]></category> <category><![CDATA[Video]]></category> <category><![CDATA[vimeo]]></category> <category><![CDATA[Youtube]]></category><guid
isPermaLink="false">http://joshbetz.com/?p=2067</guid> <description><![CDATA[Both YouTube and Vimeo recently gave an option to watch videos in HTML5. I switched right away knowing that every time I try to play an HD video on YouTube, my Macbook fan spins up because of the heat caused from flash processing. On the Dell Mini I just bought, I couldn&#8217;t even watch HD [...]]]></description> <content:encoded><![CDATA[<p>Both YouTube and Vimeo recently gave an option to watch videos in HTML5. I switched right away knowing that every time I try to play an HD video on YouTube, my Macbook fan spins up because of the heat caused from flash processing. On the Dell Mini I just bought, I couldn&#8217;t even watch HD videos on youtube because HD video in flash was too much for the atom processor.</p><p>When I saw that YouTube and Vimeo were offering HTML5 instead of flash video, I immediately tested both of the above mentioned issues. The fan in the macbook stayed quiet and the Dell Mini didn&#8217;t have any problems when I watched HD content with HTML5 video instead of flash. This is an example of the power of HTML5 video and why Apple decided to skip flash on the iPad.</p><p>The other thing that I really like about this is the fact that it pushes the HTML5 spec forward that much more. Obviously Google is involved in developing HTML5, so it shouldn&#8217;t be a surprise to see this on YouTube. Vimeo, however, is not involved &#8212; at least that i know of &#8212; in developing the HTML5 specification and just wants clean, efficient code. HTML5 is a good way to do that.</p><p><span
id="more-2067"></span></p><p>Finally, Adam Curry recently explained on &#8220;The Cranky Geeks&#8221; that it&#8217;s going to take a long time to derail flash video because of all the money invested in technologies used for ad agencies such as pre-rolls, but I think it would be pretty easy to develop a similar system that work in HTML5.</p><p>All in all, this is good for everyone except Adobe and flash developers. I&#8217;m not so worried about the flash developers though, the good ones have the skills to be useful in more than just flash video.</p> ]]></content:encoded> <wfw:commentRss>http://joshbetz.com/2010/02/youtube-vimeo-showing-in-html5/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 3/9 queries in 0.018 seconds using disk

Served from: localhost.localdomain @ 2010-03-11 08:06:39 -->