Archive

Blog moved from DasBlog to WordPress

After using DasBlog (.NET & Lucene.NET based Blog Engine) for over 7 years I decided to move to the most popular blogging software in the planet – WordPress.  I like DasBlog for its simplicity – it was flat file based (just XML files for content and images stored in file system) so no Database configuration/maintenance, most of the common configurations are available from the Admin panel and more complex changes can be done by editing the ASP.NET source code, it supports AKISMET comment filtering, MetaWebBlog API for blogging from Windows Live Writer & above all just works out of the box. But in the recent months it was showing its age with no upgrade for nearly 3 years, comments pages were becoming slow to open, search was not powerful, no scalable tag cloud, categories can be managed once created and so on. So it was time I had to move and migrate data.

After Windows Live Spaces closed and migrated my blog backup which was in there to WordPress.com, I got familiar on customizing and using WordPress. In the recent years in my firm (Vishwak Solutions) our LAMP developers have been doing many WordPress projects for our clients so I had access to resources who knew about this well. All this made me comfortable to touch something that was working for 7 years, so I went with WordPress. After some searching I found these two blogs (Reeves, Vasanth) which gave step by step that has to be followed. Along with my PHP developer I followed the steps given there and it worked. Thanks to both of them.

dasblog-to-wordpress

WordPress opens up enormous choices and benefits just due to its huge community following & benefits of network effort. I love the power of the Plugins and the choices you get, you will find a plugin for anything you can imagine. The plugin for SEO Optimization, Sitemap.XML generation, Recaptcha, WordPress Stats (JetPack) are all gems. The sheer choice of plugins can also be confusing (just like App Store) as you have tens of choices for the same task and not sure which one to choose, but a bit of Bing! or Google will help you find the right one. The WordPress app for iOS makes it a breeze updating my blog from my iPad and its free!

WordPress Plugins

After the migration we had to fix some rough edges around permissions, redirections & theme.

1.I wrote the following two redirections on top of what Reeves had recommended, which I have given below:

/(?i)blog/SearchView.aspx*\?q=(.*) http://venkatarangan.com/blog/?s=$1
/blog/SyndicationService.asmx/GetRssCategory*\?categoryName=(.*) http://www.venkatarangan.com/blog/category/$1/feed

2. I had problems with all the URLs which had a Non-English (Tamil) text in them, I went to editorial console to change all of them to English text

3. WordPress gives more categorization options, including hierarchical categories and Tag clouds. I used those to reorder most of my 1000+ posts for better visibility and SEO benefits

4. I submitted the new SiteMap.XML to Google & Bing Webmaster site, then I am now monitoring the errors that are shown in Google Webmaster tools & Bing Webmaster tools and fixing those links (where possible doing regex redirections):

bing webmaster error log 

google webmaster error log

5. I had deleted the old ASPX/ASMX, XMLs and DLLs of DasBlog but retained the images in the same folder that were used by DasBlog & Windows Live Writer. This way all the image references (URIs) continues to work in WordPress. If I had tried to migrate them to WordPress then I suppose I would have had to write a custom program and do it, which I didn’t bother.

In the end all turned out well. For my blog of over 1000+ posts over 7 years it took less than 2 days of work. Performance is great & overall I am quite pleased with the move.

This site sports a new look

After nearly 4 years with an out-of-box theme from dasBlog, I managed to get one of my designers to do a new design for my blog. Do you like this new design?. Please post your comments.

Trackback SPAM Cleaner for dasBlog

Over the last few months I noticed tons of SPAM entries in the trackback lists in this blog. I realized it is better to switch off “Enable trackback service” in your dasBlog configuration:

But what about existing SPAM entries that are already present in the blog. I found it to be very tedious to delete every SPAM Trackback URL manually. That’s when I decided to have a tool written to address this issue. You can download this Free Open Source Application from here. Run the application and point it to your das-Blog content folder, it will read all the *.dayfeedback files and display all the unique domains in the Trackback URLs. Then in one go you can clean up all the *.dayfeedback XML files.

Trackback SPAM Cleaner - www.easytools.com

The Source Code (Visual Studio 2005 Project) can be downloaded from here. Please note the application is in Beta and no major code-audits and reviews have been done on that; so I strongly recommend you to take a backup of your content folder before using it. Download the application from here

Designing Windows Application UI with Visio: I had this application to be written by one of my team members in Vishwak. The Engineer understood the functionality and came back quickly with a working prototype. But the User Interface left much to be desired – it was a typical Geeky UI, it required me to select a check-box for each entry (I had to select 20,000 Checkboxes in a grid for the entries in my blog). So I decided to re-do it. I started writing the User Interface suggestions as a Word Document, that’s when I thought there should be a better way to do this. Though we have Visio extensively for UML, Flow-Chart, Network diagrams, DB Designs I haven’t personally used it for UI Design. I thought let me give it a try and picked up Visio 2007 and started doing the UI design with it, with the help of my Delivery Manager (Chandra) on Visio techniques I completed it in 20 minutes or so. The Engineer understood this instantly and the next day I had the application completed (Download the UI here in Visio format or in PDF format)

At the end, I felt good that I learned a new item (Visio for UI) today.

Me and dasBlog Software

I have been using dasBlog Software for running this blog ever from its start. I am extremely pleased with the software, its:


  • ease of use
  • ease of backup. just zip four folders – SiteConfig, Content, Logs & Themes
  • zero-install. just xcopy, no databases to install or configure and
  • price point (free!)

In the last 4 years I never had problems with dasBlog, it just worked, Period. Yesterday night was different – my blog was down overnight, and it was purely my fault.

I have been following Scott Hanselman’s blog about the daily builds of dasBlog, supporting Windows Live Writer Beta2 and Akimset Comments Spam support. I got adventurous, kept copying various daily builds; on top of it I posted some pre-dated posts from Windows Live Writer Beta 2. I suppose I somehow managed to corrupt the data-files for last two days. Today morning I realized my goof-ups, deleted two days data files, came back to release version of dasBlog, posted the two entries back. (Kiran: If you are wondering what happened to your comment, you know what happened now!).

Today when I visited the Sourceforge data repository for the dasBlog builds, I saw that I could nominate my favourite project to their Sourceforge.net 2007 Awards. I went ahead and nominated dasBlog to “Best Technical Design” category. I request all other users of dasBlog to do the same. 

Finally, after nine months dasBlog is getting a new fully supported release. All the new features like Akimset support, Windows Live Writer Beta 2 Support and more are expected in the release on 18th June 2007. That’s good news and I am waiting…


BTW, I went nuts doing this post. As everytime I submitted, all the images were coming broken. It turns out dasBlog replaces all occurence of its name as hyperlinks and it can be configured in the settings.

Blogging…

This post is about three items related to blogging. Windows Live Writer Installation

Windows Live Writer Beta 2

Microsoft have finally released the new version (Beta 2) of Windows Live Writer. I consider Live Writer to the best software from Windows Live team. After their initial release – no news from them for almost a year now. It was as bad as dead, and I thought it is one of those Microsoft’s experiments that don’t make it. Writer is probably the software I use most after Explorer, Outlook, Internet Explorer in that order. I am happy to see the project living and improvements made in the new version. And it supports dasBlog better than ever.  Windows Live Writer (and the new Messenger 8.5) introduces a new installation UI that gets displayed on the Right Hand Bottom of the screen area – this is unlike the regular installers which take up center of the screen and disturb your regular work.

30 Guidelines for a Good Blog

Since I have been blogging for few years now, people  ask me about what are the guidelines to follow when you start a blog. I always got away by saying keep posting often, don’t just post links and don’t talk about work. Today this need is solved with Scott Hanselman posting an excellent list of “30 Guidelines for a good blog“. Scott Hanselman is one of my fellow Microsoft Regional Directors and a regular technical blogger.

What is a Blog?

About a year back (I read this only today) John C.Dvorak has commented on how large sites push out ordinary web pages and call them blog. He was expressing in this column his anger on the loose usage of the term “Blog” and what he expects to be in a good blog.

I have moved to DasBlog 1.9.6264

As you would have noticed I have upgraded my blog software to latest version of DasBlog – version 1.9.6264. I have used a new theme for UI from this version. Let me know whether you like this theme.


About DasBlog 1.9 - posted by my fellow RD Scott Hanselman (one of the Authors of DasBlog)


 

Windows Live Writer – Post

I am doing this post using Windows Live Writer. The latest build had a built in support for dasBlog (blogging software I use in my blog).


If you need more information on customization WLW for dasblog, read this post from Scott and this post from dasblog.Info.


Update Posted on 2/Oct/2006: When I first using WLW I was using dasBlog 1.8.x, which didn’t support image uploading. I had to FTP images and for some firewall issues with my ISP, FTP from WLW was not working. Since I upgraded my blog software to dasBlog 1.9.x the image upload problem was solved. I am now able to upload images to my blog using WLW itself. Thanks to dasBlog & WLW authors.

Indic Rendering problem of my blog with FireFox

When you view tamil texts created with dasBlog like my blog indic page, you will see the tamil contents not getting displayed properly in Mozilla or Firefox. It turns out to be a problem in the CSS with the text-align:justify; property. I have described this in my earlier blog post last year.

After I upgraded to latest dasBlog version (1.8.5223.2) I selected “Project 84″ as my theme, this problem resurfaced. All it needed was going to /themes/Project84 and editing the style.css file. In the file,  you need delete the above said property in the #content style.

Dasblog and MT Blacklist

As you might be knowing I use dasBlog.NET server software (a
community developed blogging engine) to power this blog. Today while
going through the activity list that shows the statistics of visits and
search result referrers, I noticed that all the referrers from Google
Search are being blocked by dasBlog. This was not good news.

On investigating I found out that
the “Movable Type Blacklist” option in dasBlog configuration has to be disabled to get this problem resolved. This is due to the
fact that the blacklist has been discontinued and that causes havoc
with dasBlog. My fellow Regional Director and one of the Volunteer Project Managers
Scott Hanselman has a post on this.

dasBlog download: The latest version of dasBlog can be downloaded from this SourceForge project and support forum is here

Congratulations, you’ve installed DasBlog!

Be sure to visit all the options under “Configuration” in the Admin Menu Bar above. There are 16 themes to choose from, and you can also create your own.