Blog

Twitter Tools 1.5b2

Posted in: News, WordPress

I’ve got a new beta version of Twitter Tools ready for testing. Twitter Tools is a WordPress plugin that creates an integration between your blog and your Twitter account.

This release has a couple of bug fixes (from version 1.5b1) and a couple of new features:

  • fixed a logical bug that made the “exclude replies” option work backwards (oops!)
  • removed a try/catch for PHP 4 compatibility (oops!)
  • added support for hashtags (linked to search.twitter.com)
  • abstracted all API endpoints and URLs so that it can theoretically support any service that implements the Twitter API

Hopefully this will be ready for a full release shortly, with only minor changes (if any). I guess we’ll find out soon. :)

The download and more information are available on my WordPress Plugins page.

If you have any trouble with this, please open a thread in the WP Support Forums and send me the link.

Popularity: 2% [?]

4 Comments |

Posted August 27th, 2008 @ 11:48 AM

Around the web

1 Comment

Projector Choices

Posted in: Technology

I need to get a projector for the office and I’m having a hack of a time trying to decide on a relatively cost-effective projector that has a 1280 pixel wide resolution (generally 720p).

These two are the current leading contenders:

I have a Sharp for my home projector and I’m quite satisfied with it. Some of what I’ve read makes me think the Sharp is a better machine, however the Optma is smaller (which is important when it’s sitting on a conference table as it will, for a while at least) and has a bunch of good reviews, so I’m not that worried about it either.

Anyone have experience with either model or can see anything important in the specs that I could be overlooking?

Popularity: 5% [?]

1 Comment |

Posted August 22nd, 2008 @ 3:25 PM

ShareThis 2.3

Posted in: News, WordPress

There’s a new version of ShareThis out this evening. This release fixes a bug in version 2.2 where the ShareThis button might not be visible correctly if your WordPress theme shows post excerpts on certain pages.

ShareThis is a plugin that makes it easy for your visitors to share your content to other people or online destinations and social web sites. You can see it in action by clicking the ShareThis link at the bottom of any of the posts or pages on this site.

The download and more information are available on my WordPress Plugins page.

If you have any trouble with this, please open a thread in the ShareThis Support Forums and the team will be happy to help you out.

Popularity: 7% [?]

9 Comments |

Posted August 21st, 2008 @ 6:29 PM

New Lijit WordPress Plugin

Posted in: Crowd Favorite, Case Studies, News, WordPress

There’s a new and improved Lijit WordPress plugin available for download. This version is one that my company, Crowd Favorite, had the pleasure of helping build.

The new plugin makes it easy for you to enable Lijit search from the default WordPress search box, or you can add in the full Lijit widget wijit if you like.

I use Lijit search on alexking.info, where I aggregate content from all of the various sites and services I publish content on. The Lijit search performs a search across all of that content - pretty slick.

I’m pretty pleased with the overall user experience for the plugin. It nicely handles set-up for new or existing users, gives straightforward options and instructions, and even brings in your Lijit search stats with a new link on the WordPress admin dashboard.

Many thanks to the great folks we were able to work with at Lijit in building the new plugin. It was a pleasure working with people that care deeply about their users and are also technically astute.

Popularity: 9% [?]

11 Comments |

Posted August 20th, 2008 @ 12:17 AM

Around the web

0 Comments

WordCamp Utah

Posted in: Crowd Favorite, WordPress

WordCamp Utah is coming!

WordCamp Utah logo

September 27th is the date - registration is open.

I’m quite looking forward to this (particularly since I wasn’t able to make WordCamp SF this weekend), both as a speaker and as an attendee. I’ll probably be flying in Friday mid-day and out on Sunday.

Big thanks to Joseph Scott for organizing.

My company, Crowd Favorite, is proud to be one of the sponsors of the event.

Popularity: 9% [?]

5 Comments |

Posted August 15th, 2008 @ 5:39 PM

Debugging an XSS attack

Posted in: Development

Today I ran across a Cross Site Scripting (XSS) attack in the wild. Since the victimized site is run by a friend, I did a little digging to see how the attack was done so I could tell him about the issue and how to fix it. Here is a little background on XSS attacks and how to debug them and avoid them.1

An XSS attack is when someone is able to inject code into a page - generally when a user can get JavaScript code to execute within a web page. These can do bad things like steal your cookies and do bad things on your behalf, or annoying things like pop up windows and redirect you places.

If you are trying to debug an XSS attack, the first rule of thumb is not to use your main browser. Don’t use anything that has “your” data in it - things like login cookies, etc. Instead, use your secondary browser or your development profile for your main browser if you have one.

Your browser can show you the behavior that the attack is performing, which is useful. However, depending on the attack, getting the HTML source from your browser may not be so easy. Also, many browsers will “clean up” the HTML a bit as they render it, so the HTML you see from your View Source command isn’t always exactly what the web server sent down.

You should use a command line utility like cURL or wget to download the raw HTML source and look through there for the vulnerability.

You’ll probably find a place in the HTML where a tag was closed before you expected it, and a SCRIPT tag somewhere you didn’t expect it.

There are a number of ways to avoid XSS attacks. The main approaches are:

  • Strip out tags/content you don’t want to support. These should definitely include script tags, and also attributes on other tags that can execute JavaScript - attributes like onload, onclick, etc.
  • Encode your HTML output so that angle backets become &lt; instead of < and quotes become &quot; instead of ". This prevents the JavaScript from being executed in the browser because the attempted HTML tags don’t end up as HTML tags, they instead show what would normally be seen as HTML source.

There’s a ton of info on preventing XSS attacks out there on the web. If you’re a web developer, make sure to do a little reading on this.

  1. This is the one security area developers fail most often when interviewing for a position at Crowd Favorite. [back]

Popularity: 9% [?]

3 Comments |

Posted August 12th, 2008 @ 6:46 PM

Around the web

1 Comment

I credit Brent and the excellent NetNewsWire for iPhone for my newfound ability to (almost) keep up with my feeds again.

Addictomatic Refreshed

Posted in: Crowd Favorite, Case Studies, News

Addictomatic is sporting a shiny new suit today.

The overall look has been updated with a great new design from Bryan Bell, and a number of little features have been added and minor tweaks made since the initial launch.

Home

I’ve got a few more screenshots here, but it’s a lot more fun to just go poke around.

Here is a partial list of the changes:

  • New theme design.
  • Welcome message for first time visitors.
  • List of Hot Topics next to the Create box.
  • New Browse the News navigation.
  • Integrated ads from the Deck.
  • More little JavaScript effect niceties.
  • Numerous behind the scenes changes for performance.

The main focus of the refresh was to make it easier for new visitors to explore the site. To this end we exposed more links to Hot Topics, added weight to the Browse the News (formerly Newsfix) button, and configured the Browse the News drawer to stay open on Browse the News pages. This last change keeps the other news topics visible more often, giving people enticing things to click on. Hopefully the results will be good.

Thanks, as always, to Dave Pell for trusting us to work on his baby. We have a lot of fun building and using Addictomatic.

Popularity: 13% [?]

2 Comments |

Posted August 6th, 2008 @ 11:15 AM

Next Page »

About This Site

This is the personal web site of Alex King, an independent developer based in Denver, Colorado USA. More...


Crowd Favorite

Crowd Favorite is my software and web development business.

We build web applications, design and develop custom WordPress themes and plugins, and build custom sites using WordPress as a CMS.


I also have a tumblog that aggregates my online content from other services (Twitter, Flickr, del.icio.us. etc.).

Ads