Tuesday, June 2, 2009

The second blogging day, Which tools can i use for blogging?


The first blogging day was easy not much to say . I am a big newbie on this one. So lets start our blogging adventure.

I will see it like a problem that i am going to solve and even move it on step more (hahaha classic eh?)

Requirements for blogging

  • I would like to have an offline tool like word to write my posts so i can format the text easily and faster than any Web Base Html Editor
  • I would like to be open source or have a big community that supports it writing addons
  • I want to upload any file along with images and videos
  • Easy screenshot attachment
  • At least C# code formatting abilities

Lets start googling on those requirements then . First i fell upon Zountry but it didn’t convince me, i wanted something better than this one.

Second attempt and voila Live Writer. A large number of addons exists for this blog editor Live Gallery also there are a large number of projects at CodePlex.

It should have a great API i imagine, do not know yet but probably i will try it very soon Lets try to search for a addon that formats the Code with c# style. With a fast search in google I found out that most of the bloggers are using SyntaxHighlighter from Alex Gorbatchev so it should it be difficult to use it also. Next step is to install Live writer to my Windows Server 2003 64 bit new bough machine . I download try to install and got that annoying message that my operating system is not supported. That didn’t stop me . I fire up my Xp Virtual machine and try to install it there. Installation starts ok and after a while i see a message that .Net framework is installed. Hahahaha and then i got it. Live writer is a .Net application so the installer does nothing more than placing shortcuts and minor stuff I hope. So when installation finished i copied all files from my VMWare to local pc and run Live Writer Everything work!!!! Now we have our Live writer running lets fix the Syntax highlighting problem. A new search reveals Precode which is an addon for Live Writer that supports SyntaxHighLighter all you need to do is go to your blog template and add the following lines inside your Head tag
<script src='http://alexgorbatchev.com/pub/sh/2.0.320/scripts/shCore.js' type='text/javascript'/> 
<script src='http://alexgorbatchev.com/pub/sh/2.0.320/scripts/shBrushBash.js' type='text/javascript'/>

<script src='http://alexgorbatchev.com/pub/sh/2.0.320/scripts/shBrushCSharp.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/2.0.320/scripts/shBrushCss.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/2.0.320/scripts/shBrushPlain.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/2.0.320/scripts/shBrushXml.js' type='text/javascript'/>
<link href='http://alexgorbatchev.com/pub/sh/2.0.320/styles/shCore.css' rel='stylesheet' type='text/css'/>
<link href='http://alexgorbatchev.com/pub/sh/2.0.320/styles/shThemeDefault.css' rel='stylesheet' type='text/css'/>
<script type='text/javascript'>
SyntaxHighlighter.config.clipboardSwf = &#39; http://alexgorbatchev.com/pub/sh/2.0.320/scripts/clipboard.swf&#39;;
SyntaxHighlighter.config.bloggerMode = true

Cool!!! 2 more to go then. What about screenshot I surely want a fast but professional way to take screenshot. One more search and here it is SnagIt I could not find any automation on how to upload files except images,videos to my blog though so I am hosting my files at  Google Sites and u/l them there manually for the moment.

Here is how my Live Writer Addons toolbar looks now


I think now I am ready to blog for some more interesting stuff.

Subscribe to XAF feed
Subscribe to community feed



Post a Comment