Linking your blogs to a different URL
Gotta quickly blog this one since it was something I couldn't find out here in blogland..
CS has the ability (now hidden) to link each blog post to a given URL - any URL. As I said, it's hidden in the UI, so you can't set it, but I had to add it back so here's a quick and dirty method. Notes apply to CS2007 RTM.
open \controlpanel\blogs\CreateEditBlogPost.ascx and add a new label and textbox
<div class="CommonFormFieldName">
<cp:formlabel id="Formlabel6" runat="Server" controltolabel="PostURL" Text="Use this URL instead of normal blog post URL" />
</div>
<div class="CommonFormField">
<asp:textbox id="PostURL" cssclass="ControlPanelTextInputBig" maxlength="256" runat="server" />
</div>
open the codebehind and find every occurence of PostSubject. Next to each occurence do the same thing with your new textbox PostURL and the TitleURL property
protected TextBox PostURL;
(...)
PostURL.Text = CurrentWeblogPost.TitleUrl;
(...)
CurrentWeblogPost.TitleUrl = PostURL.Text;
Wherever you link WeblogPostData control to the post (e.g. \themes\blogs\..\postlist.aspx), instead link it to the AuthorURL
Change from:
<CSBlog:WeblogPostData runat="server" Property="Subject" LinkTo="Post" />
to:
<CSBlog:WeblogPostData runat="server" Property="Subject" LinkTo="AuthorURL" />
You'll have to ask an old (CS) guy like ScottW how/why this works with AuthorURL (and perhaps there's another way), but this does work.