Subtext

Because damnit I am not going to blog on a linux host
subtext has been nominated for two SourceForge community awards.

I'm late to the game here (darned time zones), Simone, Scott and Phil have already pointed out that Subtext has been nominated for two community awards; Most Collaborative Project and Best Project for Communications. We're one of two .NET based projects in the running (the other being vmukti, a .NET project which has corporate backing; subtext is just for the love of it). Is the nomination nice? Hell yea. Does it prove anything? Probably not. The categories indicate how much of a popularity contest it is; how would users know which if Subtext, Azureus, XOOPS, Zimbra or ADempiere most values...

posted @ Tuesday, July 03, 2007 8:59 AM | Feedback (3)

Subtext 1.9.5 Released

Phil just announced the release of Subtext 1.9.5; New Features Content Tagging and Tag Cloud - for more details, refere to this post.  Identicon Support - Uses the Identicon Handler project on CodePlex. MyBrand Feedburner Support - Updated our FeedBurner implementation to support custom feedburner URLs Upgrade to LightBox 2.0 - If you referenced the default lightbox skin in your custom skin, please reference this post by Simone to understand how to update the skin. Author CSS Class - The CSS class of "author" is added to comments left by the owner of a blog (must...

posted @ Friday, May 11, 2007 10:34 AM | Feedback (0)

Adding Goggle Analytics to Subtext

I'm a sucker for statistics (the number of people searching for "squiring girls" who end up on my site, due to my entry titled "Squirting at the London Girl Geek Dinner" and when someone showed me the fun things google analytics produce I was hooked. Right now, however, there's no easy way to add custom code to every page on a subtext blog. Once I get my SQL installation up and running again (or bite the bullet and reinstall everything *sigh*) I hope to tackle that. So how do you go about it? Well, every subtext page, underneath the hood...

posted @ Saturday, April 21, 2007 8:44 PM | Feedback (6)

Adding the Post Category List to your subtext skin

SubText 1.9.4 has added support for displaying the category list for your posts. By default this is not included in your skin, adding new functionality to your layouts without your permission is obviously bad (and the control adds a couple of new queries against the database, something you may want to test before rolling out). So you need to update your skins (and this generally includes the default skins included with the software) to include the new control, should you want it. In order to enable this you need to edit 3 files in your skin controls directory ; day.ascx...

posted @ Monday, February 12, 2007 10:37 AM | Feedback (0)

Subtext 1.9.4 is available for download

Subtext 1.9.4 is available for download from sourceforge. Steve has the breakdown of what's changed; for me the important fixes include 1586661 - PreviousNext.cs double-encodes titles 1596444 - Comment count reset to zero after upgrade 1624536 - Permalink incorrect on Comments control 1629555 - XSS vulnerability in the Admin - Referrers page New features include 1197046 - Category/ies Displayed In Post 1263669 - Implement Google SiteMap Page If you're upgrading you should note that Google SiteMap support does need a change to your existing web.config file. In the HttpHandlers section...

posted @ Monday, February 12, 2007 6:45 AM | Feedback (6)

Fixing the Back on Black skin for Subtext

I've been having some problems in IE lately after "developing" the current skin for subtext; when it scrolled text would get lost. An email from a product manager in Microsoft Scotland who was running my engagement up there for the last three weeks give me the kick up the backside I needed. Basically when I scrolled up or down text would get lost; anything from the bottom half of a line to whole paragraphs and more, for example; It turns out (surprise) to be an IE bug. After posting a plea on channel9 for help; IE didn't cope well with...

posted @ Saturday, January 27, 2007 11:51 AM | Feedback (1)

Blogging to subtext with Word2007

Word 2007 gives you the option to publish your documents to your blog. Unfortunately subtext isn't one of the listed providers given in the account setup process. In order to setup subtext you need to choose "Other" from the drop down and enter the details for your blog. Subtext publishing is done through the MetaWebLog API and, starting with version 1.9, supports the uploading of embedded images through the newMediaObject method of that API (although for some reason Word 2007 doesn't seem to like doing this at all). This just leaves you, the user, to work out what the...

posted @ Monday, January 01, 2007 11:13 PM | Feedback (5)

Changing the culture of your ASP.NET website

So I'm now hosting on a US server which is, of course, configured for US date formats, number formats etc. Whilst subtext has the option to set a culture it, err, doesn't work. Of course being open source (BSD licensed, so you can do what you want with it) the code is available, but there is a lazy way whilst you wait for 2.0 to arrive. Open up your web.config file and look for the system.web section. Near the top you should see<globalization  culture="en-US"   requestEncoding="utf-8"   responseEncoding="utf-8" /> Simply change the culture to the one you desire (en-GB in my...

posted @ Monday, January 01, 2007 8:22 PM | Feedback (0)

Adding your own .aspx files to a Subtext installation

One of the difficulties I had in migrating was that all my URIs would change. Hopefully I've gotten everything redirecting; I ended up writing a couple of ASPX files to do it. However when I uploaded them and tried them out all I got was the blog home page.After much puzzling I gave up and emailed the subtext dev list and Steve Harman provided the answer. Subtext implements a bunch of ASP.NET HTTP Modules and Handlers. These bits of code sit in the HTTP request pipeline and process incoming requests, flowing through all the HTTP Modules before ending up with...

posted @ Monday, January 01, 2007 8:53 AM | Feedback (5)

Recalculating the statistics in SubText

In the normal course of events the statistics for SubText are kept up to date; but if you're messing around with the database they can get out of whack. In order to recalculate everything you can run the following SQL commands.set nocount ondeclare @Id intdeclare @BlogId intdeclare @EntryId intdeclare entries cursor fast_forward for select Id, BlogId from subtext_Content open entriesfetch next from entries into@Id, @BlogIdwhile @@fetch_status = 0begin  execute subtext_UpdateFeedbackCount @BlogId, @EntryId  fetch next from entries into @Id, @BlogIdendclose entriesdeallocate entries

posted @ Sunday, December 31, 2006 8:18 PM | Feedback (2)

Welcome to subtext

If you're reading this then the DNS update has happened and you're viewing my new host and my new blog. As you can see it's not the old software which was held together with sticky tape and string and was entirely my own work. I'm now running Subtext, an asp.net open source blogging solution branched from .Text and now mutated beyond belief. Now all I need to do is apply the categories to every post and make sure no images have broken. If you're seeing 404 errors, my apologies, I've tried to automate the procedure and redirect, but I may...

posted @ Sunday, December 31, 2006 1:12 PM | Feedback (7)