Apr 14, 2011
Use bit.ly to create valid markup url
I ran my website www.toverstudio.nl through http://validator.w3.org and noticed that a link to Google maps was a source of invalid markup errors. Instead of encoding the link in ASP.NET, I shortened the link with bit.ly.
So instead of something like:
http://maps.google.com/maps?f=q&source=s_q&hl=en&q=Friedensengel,+Prinzregentenstra%C3%9Fe,+Bogenhausen+81675+M%C3%BCnchen,+Bayern,+Germany&aq=&sll=37.0625,-95.677068&sspn=53.87374,135.263672&ie=UTF8&geocode=FceT3gId5vSwAA&split=0&hq=&hnear=Friedensengel,+Prinzregentenstra%C3%9Fe,+Bogenhausen+81675+M%C3%BCnchen,+Bayern,+Germany&z=15
you get something like:
http://bit.ly/fnhsOm
Change suggested name
If you sign up to bit.ly, you can even change the suggested name. Instead of bit.ly/fnhsOm you can make up a name like: bit.ly/myshortenedlink. Works great!

