Monday, February 03, 2003
bug fixing

I believe I've finally squashed the bug that puts too many empty lines into a fetched post. I was making erroneous assumptions about what a post looks like internally.

For those that are interested, posts are stored at weblogData.posts.["some number"].text as a wptext, and I had assumed that like most other things in Radio, the lines were ended by carriage returns. Instead, in wptexts on Windows, they are terminated by CR/LF sequences. So I used a technique I'd seen elsewhere in the Radio code to do a conversion, and it seems to work fine now.

Update and see.

9:17:49 AM    comments ()  trackback []