Journal

Thoughts, ruminations, observations, and inspiration from theMechanism.

Two for Web developers

February 26, 2009 | Posted by Jeffrey Barke | Add a Comment

I wrote a couple of posts recently that might be of interest to Web developers. The first was on canonical URLs and the second was on the Fileinfo extension for PHP.

Google, Yahoo and Microsoft now support a new value for the rel attribute of the link tag that allows one to publicly specify their preferred version of a URL. The value is "canonical" and it's simple to use: <link rel="canonical" href="http://your-site.com/preferred/url/" />. Read my post

The PHP Fileinfo extension is useful for determining the MIME types of files. The returned type is not based on a file's extension, but rather on certain byte sequences at specific positions within the file.

The first post I wrote describes how to compile and install Fileinfo on a Media Temple dedicated virtual server. The second talks about how to use Fileinfo and includes a wrapper class that might be helpful.

Spread the Love

del.icio.us:Two for Web developers digg:Two for Web developers spurl:Two for Web developers wists:Two for Web developers simpy:Two for Web developers newsvine:Two for Web developers blinklist:Two for Web developers furl:Two for Web developers reddit:Two for Web developers blogmarks:Two for Web developers Y!:Two for Web developers smarking:Two for Web developers magnolia:Two for Web developers segnalo:Two for Web developers

Post a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


Search the Archives
Feeds
NYC Bunker Live Cam

O'Reilly user group program member

Add to Technorati Favorites

We endorse

Basecamp

Want to work with us yet? We’re ready when you are.