I've been making some more improvements to my blog, which is running on WSS with the Community Kit for SharePoint: Enhanced Blog Edition. All fairly simple stuff, but of course being SharePoint finding the simple changes to make can take some time.
Adding the post title to the browser title
You can change the page title from any page easily enough by providing content for the "Title" ContentPlaceHolder. The trick is finding something appropriate to put there. The approach I took was to create a new xsl stylesheet that displays only the title of a post. This I placed in the theme folder, named PostTitle.xsl
<xsl:stylesheet version="1.0"
xmlns:date="http://exslt.org/dates-and-times" xmlns:ebe="http://cks/ebemethods"
xmlns:string="http://exslt.org/strings"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="date ebe">
<xsl:param name="IsBlogOwner" />
<xsl:param name="RelativeUrl" />
<xsl:output omit-xml-declaration="yes" />
<xsl:template match="/">
<xsl:apply-templates select="rows/row"/>
</xsl:template>
<xsl:template match="row">
<xsl:value-of select="Title"/></xsl:template>
</xsl:stylesheet>
Then I just had to call it by adding some code to post.aspx:
<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
<SharePoint:ProjectProperty Property="Title" runat="server"/> -
<EBE:Post runat="server" Transform-XslName="PostTitle.xsl"/>
</asp:Content>