Adventure's with WordBlogX v1.1
I'm writing this
blog entry in my private build of WordBlogX.
The truly sick thing is that I went to torrboy's blog looking for that
link to WordBlogX in the gotdotnet work spaces and found myself facing an entry
that described exactly what I've been doing for the last four hours in a much
abbreviated form. Extremely spooky.
Anyway, I've
scrubbed all of Peter's code (mostly so I could be sure I understood it) and
started down the road towards getting WordML
converted into pretty HTML via a wicked XSL
transform. This method should be far superior to Peter's creative solution
of programmatically pasting your blog text into the clipboard to get the
content converted to HTML. Of course it was Peter's idea to use the transform
in the first place. I'm just the one willing to bang my head against the
"Office platform" for a number of hours to make it work.
The thing I can't
get over is that the WordBlogX assembly is under 50K. The XSLT for WordML to
HTML is about 180K. It somehow seems fundamentally wrong that code that does a
bit of text processing and communicating with a web service weighs in at a
third the size of a bunch of text that converts tons of text in angle brackets
(XML) into only slightly different text still in angle brackets (HTML). Oh
well, at least it looks like the XSLT is going to handle bidi languages
correctly (heh, like I could ever write in Hindi).
Finally, I'm 90%
of the way to getting WordBlogX a real live setup program. I just need to write
one more CustomAction to set the path to the WordBlogX assembly in the template
correctly. I'm actually pretty happy with it so far (despite the various calls
out to caspol.exe to get the WordBlogX assembly trusted). Hopefully, I'll get
the changes done sometime later this week.
It is now about 4
hours later than I planned to go to bed tonight. Maybe I'll just sleep in
instead of riding my bike in to work tomorrow. Maybe, I should just work from
home tomorrow. Hmm, that sounds good but right now sleep sounds better. Good
night!