OK, one more test...
Well, the first test went pretty well. It seems Blogger used to put the whole post in a class called “mobile-post,” but now it puts it in a class called “MsoNormal.” Frankly, the other one made more sense to me, but what do I know. In any case, I’ve added both to my style sheet now, so I should be good to go.
Other problems, for those who care about such things: you have to change your settings to make Blogger publish the message to the blog, otherwise it just sits in “Draft” status, and you need to publish it manually. Last night, I spent a half hour going back to my blog & refreshing, waiting for the mail servers to do their job. Silly me. Also, the HTML it generates is an absolute nightmare. I need to single space between paragraphs in e-mail so they appear double spaced here, for instance.
Finally, for some reason, the e-mail posts are only picking up the spacing attributes from the style sheet, not the typeface. For both regular text and the MsoNormal class, I’ve got “font-family: Book Antiqua, serif;” in there, but the e-mail posts are coming out in Arial (at least on my browser they are). If there are any HTML geeks out there (and I know of at least one…) who care to look at the source & help me out, I’d appreciate it.
posted by Brian at
10:11 AM
2 Comments:
I'm pretty rusty with the HTML, and can't claim to really understand how Blogger works, but it seems significant that the Arial tags are present and hard-coded in the atom.xml file, even before the stylesheet is applied to produce the html file. So my guess is that the stylesheet is fine, and you should focus on how the hard-coded Arial specs made it to the atom.xml file. Maybe Outlook is generating it? I'm curious to know if the problem goes away if you switch your email client to "plain text" instead of "html".
By
Mike, at 11:20 PM, February 25, 2006
Thanks, Michael - I hadn't really gone through Blogger help on the issue (lazy me). I'll try a plain text e-mail right now & see what happens.
As for the atom.xml, I've never touched it, but my assumption is that Arial is the default font, unless you specify something else in the style sheet. It's odd that regular posts wind up in Book Antiqua (with the same atom.xml file), but the mobile posts wind up in Arial.
It's also occuring to me now that the posting that resulted in a class = "mobile-post" came from a blackberry, and the ones that made a "MsoNormal" class came from Microsoft Outlook. I wonder if "Mso" stands for Microsoft Outlook, and Blogger somehow knows the difference. That test will have to wait until my new employer gives me a blackberry (since I gave up my old one when I left my previous job).
By
Brian, at 12:02 AM, February 26, 2006
Post a Comment
<< Home