Earlier this month, I signed up with FeedBurner in order to have a better syndication experience for my readers. That was Part I of the changes. Part II took a bit longer than the additional time I had allowed for it.
"The plan" for Part II was to move off of Community Server (hereafter, CS) 2007 and onto Subtext. Things didn't go quite as planned - imagine that.
Why move off of CS? CS has a lot of functionality, more than I need or use. And, it is slow sometimes (in fairness, I think that a bit of this is due to the fact that I run it on a shared server). So, once this decision was made, off to find a new blog engine. I quickly arrived at two options: Subtext and dasBlog. Both of these are excellent options in my opinion. To keep it brief, I opted for Subtext because I wanted to keep the SQL Server back end. Ok, fair enough.
As noted, I host nino.net at Server Intellect on a shared server (i.e. shared web and database servers). As many (most?) web hosting companies do these days with ASP.NET 2.0 in a shared environment, they mandate a state of Medium Trust. Many things break under medium trust, if you've not designed for it. Keyvan discusses this here.
Since support exists in both CS and Subtext for BlogML, I decided to use this to do the data transfer. For the export from CS, I used Keyvan Nayyeri's BlogML converter. For the import, well, Phil and the Subtext team have baked that in. And the import worked flawlessly save for one post (The Mobile Minute 50), which I removed from the XML and need to figure out what is wrong with it (XML Spy says that the full BlogML export is compliant with the BlogML schema, so that's not it).
I then created "blog" directory on my root and then went to my control panel and set this directory up as both a virtual directory and virtual application. Afterwards, I installed all the spiffy Subtext bits into there. I also followed Phil's guide for configuring Log4Net (used by Subtext) under medium trust. Mind you, gentle reader, I ran through this exact scenario on my development server and it worked flawlessly, so I expected the same here. (Granted, I had not yet realized that I had not actually tested under Medium Trust).
Once I realized the issue (I first revisited Phil's post on Log4Net under ASP.NET 2.0 Medium Trust to verify I had things set up correctly), I also realized that I then, recalling from prior research, had two quick options to resolve this: move my blog to the root, or create a blog sub-domain. I was not fond of either option. Not to mention the fact that well, my blog was down. Feh. I rolled back to CS (just had to whack the /blog dir and its settings) and settled in for further research.
My options at this point:
1. Put Subtext on the root (i.e. http://nino.net) or sub-domain it (i.e. http://blog.nino.net).
2. Contact my host and ask them for an exception to the medium trust, please. (btw, my problem was with FileIOPermission).
3. Keep with CS and dedicate some future time to resolve the issue.
Given a time crunch, I optioned for option 3. Now, that said, I still wanted to change my URL to http://nino.net/blog from http://nino.net/blogs/nino since this is the only blog here - and let's face it, I was delusional when I thought I might have other blogs at this site. ;-)
So, how to do that? CS config goodness and some URL rewriting to keep things all search engine friendly.
I queried the CS forums (specificially Blogs and Setup and Installation) and did a little searching elsewhere. I particularly recommend Jayson Knight's post on CS Config File Overrides and this thread, started by Scott Watermasysk, on converting CS to single blog. A note of thanks to Ken Robertson for his assistance in getting me to see the obvious in the siteurls_override.config. Speaking of overrides, one could simply edit the communityserver.config and siteurls.config files directly instead of leveraging override files, which I just may do now that I understand what needs set.
To see how I converted my CS installation to a single-blog setup and implemented URL rewriting, see my post about it.
For Part III of my blog changes, which I won't blog about other than this mention, the changes are all superficial - skinning and theming - which most of you, if my stats are correct, won't see as you get here via RSS. Those of you who do visit the site via your browser will see some changes shortly.
In sum, blog URL is now: http://nino.net/blog and syndication is: http://feeds.feedburner.com/NinoBenvenuti