Wednesday, April 4, 2007

Testing Expandable Post Summaries Using WLW

Ok, so the Expandable Post Summaries hack does indeed work using Windows Live Writer. You just can't put this part: "<span class="fullpost">" inside of "<p></p>" tags. Putting the span tag within the paragraph tags breaks the CSS that splits the post and creates the summary. It's recommended that the span tag comes after the "</p>" tag of the first paragraph. Not only that, you must add the span tags in HTML CODE mode ONLY. Don't bother adding tags in any other writing mode in Windows Live Writer; it'll only reformat the tags to show up in your post.

If you have a lot to say, try to keep the first paragraph of the post short and to the point. That's what I try to do to keep vertical scrolling to a minimum. I suppose cutting the main page's post count to 1 or 2 posts will help too. I've already removed comments from the main page. To view the comments of an article, just click "Read More!" to view the article in its entirety.

Labels: ,


Blogger Ron Southern said...

I never tried Windows Live Writer to discover it's good side, but the reformatting and the extra trouble with the span statement being so particular sounds like a lot of trouble. I guess I need to find out Live Writer's advantages some day as mention of it keeps coming up, making me more and more ignorant!

4/06/2007 1:35 PM  
Blogger Lexi said...

Yeah, it does seem to be going out of the way just to be able to do desktop publishing for Blogger. But when I create posts in the Blogger site, I work with the "Edit HTML" side of the composer anyway. Even working with the html mode in Blogger, it will reformat hard returns that are created when making a new paragraph. Unlike WLW, however, Blogger breaks paragraphs with the line break "<.br>" tag, not actual paragraph "<.p><./p>" tags. Putting the first span tag in between the paragraph tags makes the browser ignore the span tag, resulting in the entire post showing up on the main page.

I'm like, "Ok, fine. Then I'll work in HTML mode when creating my posts; no big deal." WLW is still a beta program, and quite nice for such an early beta release. However, I wish the next update would consist in supporting the "Page Properties" options for more than just Livespace (?) blogs. If it is possible, I would like to see a way to choose formatting options when publishing posts, such as converting line breaks with either "<.br>" or "<.p><./p>".

4/06/2007 1:55 PM  

Post a Comment

Links to this post:

Create a Link

<< Home