Blogography Logo
   

Entry Archive: January 23, 2005

Validation

Dave!Blogging is a contact sport, because anything you write is in full contact with the entire world. Sometimes this is a good thing, but other times it just opens you up for inexplicable hostile behavior. Sure I realize that not everybody is going to agree with what I say and some people are going to become angry because of it... that's human nature, and I accept it.

This morning I woke up to a really nasty email sitting in my in-box. It's happened before, doesn't really bother me, and is easily solved by pressing the "delete" key. Except this one was different. As I was about to obliterate it from my sight and mind, I noticed that it was attacking me not because of what I said, but because of how it was formatted.

The really foul language and poor spelling forbid me from reproducing the email here, but the gist of it was "you suck ass because you claim your blog validates but it doesn't."

To which I can only say "WTF?" I rant often about adhering to web standards and Internet Explorer's complete disregard for such things so, if this were true, I would be a big fat hypocrite. But it's not true. I have a badge that proudly links to the W3C validator and, when you click on it, this is what you'll see:

Validation

So now I am really puzzled. I start frantically validating all the pages I can find... my FAQ... my "Best of"... my Master Archive... and everything comes through with no problems. Then I start validating individual entry archive pages with no problems... until I reach a page with comments. And then tragedy strikes. The Gravatar plug-in I use to display little pictures next to commentors is putting unencoded ampersands in its URL, which is invalid. No big deal, I just edit the plug-in source, rebuild my pages, and everything is okay again (well, kind of okay, because if somebody leaves a comment with invalid HTML embedded in it then the page won't validate, but it does when I first put it up so I guess I can live with that).

Anyway, I was actually going to write back to the foul-mouthed ass-clown that emailed me with the problem, but the return address was forged. So, if you're reading this guy, thanks for bringing it to my attention and I appreciate it. But was it really necessary to call me a "!#@&!%@ $*@@%#" ?

Category Tracker: Blogging 2005
   

Comments

Okay, since when did validation become some kind-of requirement? Sure, it's a nice thing to be able to acheive but that's just ridiculous.

I use some custom-made PHP for pasting in gravatars at the moment - that way I have total control over how they're displayed.

Posted by Neil T. on January 23, 2005

   

I don't care much for W3C validation as long as a page contains no errors and display correctly on IE and Netscape/Mozilla. With blogging software generating a lot of custom tags, hardly any blog webpage comes off squeaky clean anyway.

Posted by Lilly on January 24, 2005

   

Sorry, that's my fault. When I wrote the original Gravatar plugins I forgot to encode those damn ampersands. I still think it was a foolish mistake for the W3C to specify that ampersands in URLs have to be escaped...I mean, that's just stupid. I guess you fixed your plugin yourself, but there are updated plugins on gravatar.com that have the fix too, for anybody else out there that needs the validation fix.

Posted by Tom Werner on January 25, 2005

   

It's not that ampersands in URLs have to be escaped... it's that ampersands in HTML have to be escaped. Since the URL is being placed within an HTML document, you have to escape it in order to validate.

Still, you're right that it is a little stupid because links in URLs are not displayed, so it shouldn't really be required.

In any event THANK YOU for the great plugin! I never would have been able to figure out how to create something like that, so it's your ingenuity that has allowed my blog to be "gravatar-enabled" in the first place. :-)

Posted by Dave2 on January 25, 2005

   

   

Add a Comment

Blankatar!

   
I love comments! However, all comments are moderated, and won't appear until approved. Are you an abusive troll with nothing to contribute? Don't bother. Selling something? Don't bother. Spam linking? Don't bother.
PLEASE NOTE: My comment-spam protection requires JavaScript... if you have it turned off or are using a mobile device without JavaScript, commenting won't work. Sorry.


   









Your personal information is optional. Email addresses are never shown, and are only used by me if a public reply would be too personal or inappropriate here. The URL link to your web site or blog will be provided, so only fill this in if you want people to visit!
   
   
Remember personal info?





   
 

spacer
Welcome:
Blogography is a place to learn and grow by exposing yourself to the mind of David Simmer II, a brilliant commentator on world events and popular culture (or so he claims).
Dave FAQ:
Frequently Asked Questions
Dave Flickr Gallery:
Dave Contact:
dave@blogography.com
Blogography Webfeeds:
Entries Feed
Comments Feed
lost & found
Search Blogography:
dave tweets
blogography shop
Blogography Shop
For Blogography apparel, visit the Artificial Duck online store. High quality silk-screened T-Shirts at bitchin' prices!
hard rock moment
Visit DaveCafe for my Hard Rock Cafe travel journal!
travel picto-gram
Visit my travel map to see where I have been in this world!
mobile photos
Visit my Flickr Page
Subscribe to my Mobile Feed
badgemania
Blogography Badge
Atom Syndicate Badge
Comments Syndicate Badge
Apple Safari Badge
Pirate's Booty Badge
Macintosh Badge
Moveable Type Badge
license
All content copyright ©2003-2008 by David Simmer II
   
Creative Commons License
This weblog is licensed under
a Creative Commons License.