JSON vs. XML: What Should You Use?

Lots of people have asked me this question: which is better when loading data via an ajax request? JSON is my favorite. I’m going to try and explain the benefits of JSON over XML.

Read More

Adding Twitter to your site with jQuery Part 2

This series of articles will explain how to retrieve information from Twitter using their API, and ways you can display it on your website in an attractive way. In Part 2 we will add some simple CSS to the tweet to make it look nice, and display all the data the twitter API returns.

Read More

Adding Twitter to your site with jQuery Part 1

This series of articles will explain how to retrieve information from Twitter using their API, and ways you can display it on your website in an attractive way. Part one we will go over the basic of the Twitter API and look at some simple code that will print out a list of tweets.

Read More

Using Advanced Segments in Google Analytics to Separate Outgoing Links and Downloads from Pageviews

If you’re like me, you installed the Google Analyticator plugin for your blog or added some other javascript so you could track what outgoing links where clicked. You will have extra pageviews showing in your Google Analytics account that are what I call “ghost pages.” These pages don’t really exist–they are just place holders for the clicks to other sites or your downloads. To get a more accurate number of pageviews, you can use Advanced Segments to create a new segment that will remove these ghost pages. So go log into your Google Analytics account and let’s get started.

Read More