Syndicate bug(?) with dasBlog

After receiving several messages from my friends about problems with my blog and their RSS readers I decided today to check that out. I’m using SharpReader as my RSS reader and I’ve noticed that my posts just don’t get syndicated for some unknown reason.

The way I’m posting messages to my (das)Blog is via “Write & Save & Write” system, meaning – I write for 10 minutes, un-check “Publish” & “Syndicate” checkboxes and hit the “Post to Weblog” button. Then I click Edit on the post and continue writing. After I finish writing, I check the “Publish” & “Syndicate” checkboxes and hit the “Post to Weblog”.

After playing for 2 minutes with dasBlog and trying to add\edit posts I came to the conclusion: You should *never* uncheck the “Syndicate” checkbox. This isn’t reversible for some strange reason so if I want to continue using my “Write & Save & Write” system the only checkbox I should uncheck is “Publish”.

Now all my old posts that were un-“Syndicate” for the first time, can not be re-syndicated.

I think that I should let Scott Hanselman know about this feature\bug, what say you ?


TIP: (dasBlog) code with style

I’m using dasBlog “Insert Code” feature in order to insert some code to the post(strange, but true). Until now, my code was nicely highlighted but it was lacking of background color and some border to give it the proper attention it was required. After digging for couple of seconds in the dasBlog directory I found out that the page ftb.insertcode.aspx (under ftb directory) is in charge of highlighting the code. Here are the important lines (Notice the background color & border ! :-)):

void parseButton_Click(object sender, EventArgs e)
   AylarSolutions.Highlight.Highlighter h = new AylarSolutions.Highlight.Highlighter();
   h.ConfigurationFile = Server.MapPath(“CodeHighlightDefinitions.xml”);
   h.OutputType = AylarSolutions.Highlight.OutputType.Html;
   string result = h.Highlight(sourceTextBox.Text, languageDropDown.SelectedValue);
   result = result.Replace(“\t”, “    ”);
   result = result.Replace(Environment.NewLine, “<br>”);
   resultLabel.Text = result;
   codeText.Text = “<p>” + result + “</p>”;

All you have to do is replace the line:

codeText.Text = “<p>” + result + “</p>”;

With this:

codeText.Text = “<p class=’HighlightedCode’>” + result + “</p>”;

Now add the class into your template css and that’s it!

* I’m using:

    border-style: dashed;
    border: 1px Silver;
    background-color: White;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-top: 10px;
    padding-left: 4px;
    padding-right: 4px;
    padding-bottom: 4px;
    padding-top: 4px;

Sweeeeet !


Congratulations, you’ve installed dasBlog!

After logging in, be sure to visit all the options under Configuration in the Admin Menu Bar above. There are 26 themes to choose from, and you can also create your own.