Wed
30
Nov '05
XML in Wordpress articles
by Frank Spychalski filed under Blog, articles

I edited an older article and noticed that I could not cut-and-paste the XML into a file an use it becaus wordpress does some funny things to my document. I changes the quote from " to ” and the double hyphen from -- to –. Therefore I wrote this short sed script to escape my XML for use in blog posts. Any sed gurus out there who can tell me an easier/shorter/more elegant way of doing this?


Any comments? Or questions? Just leave a Reply: