Archive for February, 2010

2010-02-28 Twitter Updates

Posted in: Tweets | Tags: ,
Feb
28
2010
No Comments »

Tidy up the RSS

Posted in: Wordpress | Tags: ,

I’ve been playing around with backing up my tweets lately. At this point I’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.

Now, having the tweets on the blog is mostly for me. I didn’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.

This is what I ended up doing:

function tweetRSS123($query) {
	if ($query->is_feed && !is_category()) {
		$query->set('cat','-1');
		}
return $query;
}

add_filter('pre_get_posts','tweetRSS123');

Continue Reading »

Feb
27
2010
No Comments »

2010-02-21 Twitter Updates

Posted in: Tweets | Tags: ,
Feb
21
2010
No Comments »

Anything Slider: Go on “Go”

Posted in: Web | Tags: , ,

Last week when I was in the CSS-Tricks forums, somebody wanted to modify the functionality of Chris Coyier’s anythingSlider. Not a huge change, he just wanted to make the slider advance to the next panel when you click “Go”. Made sense to me. By the time you click “Go”, you’re done looking at that panel and are ready for the next one. If it doesn’t advance until after whatever delay you’ve setup, it could be confusing.

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.

base.$startStop.click(function(e){
	base.startStop(!base.playing);
	if(base.playing) base.goForward(true);
	e.preventDefault();
});

Continue Reading »

Feb
09
2010
No Comments »

Youtube, Vimeo Showing in HTML5

Posted in: Web | Tags: , , ,

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’t even watch HD videos on youtube because HD video in flash was too much for the atom processor.

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’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.

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’t be a surprise to see this on YouTube. Vimeo, however, is not involved — at least that i know of — in developing the HTML5 specification and just wants clean, efficient code. HTML5 is a good way to do that.

Continue Reading »

Feb
07
2010
No Comments »