12.26.07 Austin Healey Videos - THE BIG HEALEY A video collection of these wonderful cars in action

9.06.07
Lime Rock Park Video - 2007 Vintage Festival - Sam Posey, Jim Haynes, John Bishop
40 minutes of wonderful conversation from the 2007 Vintage Festival

7.16.07
Northwest Corner Connecticut Real Estate Brokerage Becomes Latest DLMWeb Client
Helping another business to get found on the web!!

5.27.07
The Stanguellini In Aunt Edith's Gift Shop
It is mid-July in Lime Rock. After almost 7 years in Arizona, I find the Connecticut humidity is odd, intense.

5.27.07
OSCA MT4 Spider Morelli
A Maserati by any other name...is an OSCA.




dlm@dlmweb.com
520.508.1048
 
| dlm@dlmweb.com | RSS | Journal | Index | Home
david lamb minton | |
05.05.08
Cadillac Laps the Ring! 7:59.32 John Heinricy
a lap of the legendary Nordschleife


Pick of the Week
A wonderful Salisbury Bungalow

4.30.08
Albert Hofmann
Remember April 19 - Bicycle Day

04.47.08
DLMWeb live cam
A test of the Ustream.tv


Kart Race at OVRP - 8hrs - June 21 2008

01.14.08
Random Motorsport and Car Related Videos
YouTube Ad Test

01.07.08
Juan Manuel Fangio Video
From the director of Chariots of Fire



More..
Perl to kill MS BitDrool Eliminate MS Word Generated Curly Quotes, em Dashes, en Dashes, Elipsises, and Curly Single Apostrophes

10.06.06
So each of these quote marks, apostrophes, dashes, and an elipsis were pasted in from MS Word generated "special" or "smart" characters. This perl snippet substitutes a "legal" or text based character that will display in most browsers as valid HTML (rather than display a question mark (?) or other spurious character.

"
"
'
'
-
-
...


Goes like this:


sub cleanSpecChar {

$excerpt=~ s/\"/\"/g;
$excerpt=~ s/\"/\"/g;
$excerpt=~ s/\'/\'/g;
$excerpt=~ s/\'/\'/g;
$excerpt=~ s/\.../\.../g;
$excerpt=~ s/\-/\-/g;
$excerpt=~ s/\-/\-/g;
$excerpt =~ s/\&/\&/g;
}



Clean this up!! It won't display properly in HTML, which is what this is all about. I know there are HTML special characters for those freakin' things, but you should get the drift from this hint. Where the first example of each element is in the regex, substitute the MS Word generated "smart" version of the respective character.

In other words, here is the one time you SHOULD write your code in an MS Word Processor!!! Be sure to add the special characters. Looks real weird when you paste the snippet into the rest of your code (in TextPad the special characters display as black bars), but use it that way, must be really in ASCII, but anyway it translates right back into the appropriate character.





10/23/2007
Free download movies are more common than you think on the Web. You won't find the most recent blockbuster here, but you will find a huge amount of classics, trailers, independent films, documentaries, and more.

203.115.140.72