Using Windows Live Writer to Blog to the world one post at a time

What do you say when you are testing a blogging platform?
1) Try it out and stop complaining..
2) Keep looking around.
3) For the moment I am using Windows Live Writer and it seems to work well.
These are the features i’m looking to use.
a) SEO. Ability to add metatages and content tags so that
b) CHeck out the rest of the windows live writer plugins.
Ability to add some code..

namespace pluralsightCSharp
class Program
static void Main(string[] args)
var gameToRate = new NrlGameRater();
Console.WriteLine("{0} kicks were made during the game.", gameToRate.);

namespace pluralsightCSharp
public interface IGameRater
// General Statistics we want to obtain before performing
// all available on

// Home Team

string HT_Name { get; set; } // This can possibly change to Name
int HT_PointsScored { get; set; } // Score
int HT_Tries { get; set; } // Tries
int HT_Conversions { get; set; } // Conversions
int HT_PenaltyGoals { get; set; } // Penalty Goals
int HT_FieldGoals { get; set; } // Field Goals
int HT_SinBins { get; set; } // Sin Bins
int HT_SendOffs { get; set; } // Send Offs
int HT_Penalties { get; set; } // Penalties
int HT_Scrums { get; set; } // Scrums
int HT_SetCompletions { get; set; } // Completions
int HT_Sets { get; set; } // Sets
int HT_AllRuns { get; set; } // All Runs (m)
int HT_AllRunsMetresGained { get; set; } // All Runs Metres Gained (m)
int HT_LineBreaks { get; set; } // Line Breaks
int HT_Tackles { get; set; } // Tackles
int HT_MissedTackles { get; set; } // Missed Tackles
int HT_Offloads { get; set; } // Offloads
int HT_Errors { get; set; } // Errors

Some CSS

html { background-color: #e2e2e2; margin: 0; padding: 0; }
body { background-color: #fff; border-top: solid 10px #000; color: #333; font-size: .85em; font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif; margin: 0; padding: 0; }
a { color: #333; outline: none; padding-left: 3px; padding-right: 3px; text-decoration: underline; }
a:link, a:visited,
a:active, a:hover { color: #333; }
a:hover { background-color: #c7d1d6; }
header, footer, hgroup,
nav, section { display: block; }
mark { background-color: #a6dbed; padding-left: 5px; padding-right: 5px; }
.float-left { float: left; }
.float-right { float: right; }
.clear-fix:after { content: "."; clear: both; display: block; height: 0; visibility: hidden; }
h1, h2, h3,h4, h5, h6 { color: #000; margin-bottom: 0; padding-bottom: 0; }
h1 { font-size: 2em; }
h2 { font-size: 1.75em; }
h3 { font-size: 1.2em; }
h4 { font-size: 1.1em; }
h5, h6 { font-size: 1em; }

/* main layout
.content-wrapper { margin: 0 auto; max-width: 960px; }
#body { background-color: #efeeef; clear: both; padding-bottom: 35px; }
.main-content { background: url("../Images/accent.png") no-repeat; padding-left: 10px; padding-top: 30px; }
.featured + .main-content { background: url("../Images/heroAccent.png") no-repeat; }
footer { clear: both; background-color: #e2e2e2; font-size: .8em; height: 100px; }

Set Browser Type in Registry

Modifying the below in registry will alllow you to define what is the default web browser


Add target as it deprecated (set it via JS)

function externalLinks() {
if (document.getElementsByTagName) {
var anchors = document.getElementsByTagName(“a”);
for (var i=0; i
var anchor = anchors[i];
if (anchor.getAttribute(“href”) && anchor.getAttribute(“rel”) == “external”) { = “_blank”;

Allow Javascript to close Tab in firefox 2.0 and greater

under ff 2 you have to set manually under about:config
dom.allow_scripts_to_close_windows to true
then it’ll work

Otherwise javascipt will need to open the window to allow for it to be able to close it.

Send to a standard page if incorrect page access

        If Not IsPostBack Then
            If PreviousPage Is Nothing Then
            End If
        End If

Explore Response.ContentType

            Response.ContentType = “application/”
            ‘Additional Test Code for CSV
            ‘Response.ContentType = “text/plain”
            If ReturnXYCoords Then
                Response.AppendHeader(“Content-Disposition”, “inline;filename=results.csv”)
            End If

Check out how changes to this Response.ContentType can effect the type of results returned to the calling browser.

Response.ContentType = “application/”

Need to look into a little further SQL Statement Building

Also check out aliasing parameters and what they are returned as by the ending select *

Check out the WITH statement within SQL Server

WITH BPOrderedStores AS ( SELECT TOP 100 PERCENT ROW_NUMBER() OVER (ORDER BY [Name]) As [RowNumber], Name, LocationNo, Street, Town, State, Postcode, Phone, Unlead, PremiumUnlead, BPUltimate, E10, Diesel, Any_Autogas, Hours_24, Trailers, LPGBottle, Toilets, CarWash, CleanGo, SuperWash, Other, Pay, EFTPOS, BIORewards, ATM, Restaurant, TruckStops, Express FROM BP_AustLocator WHERE State =’NSW’ ORDER BY [Name] ) SELECT * FROM BPOrderedStores WHERE RowNumber BETWEEN 1 AND 500

CSS Snippets

Seems like a great site for code snippets–tanteks-original-removes-browser-default-style/

Cool Web Creation Sites

CSS Rule

When creating a multicolumn page layout add a

to the bottom most part of the wrapper div this will ensure correct presentation in both firefox and IE.

This hasnt been tested within either of SAFARI/NETSCAPE.