Saturday, December 31, 2005

How to Take Backup of your Blog in XML format

Hi, today I thought to take backup of my blog. But Blogger.Com doesn't provide a direct method for free blog like mine. Hmm.. I found a Knowledge base article on Blogger Help about the Backup, but it gives the idea of how to take backup and says to publish your blog. Well I just refine that method and got the back of my blog in XML format. How? Well I just create this code <blogger> <author> <$BlogItemAuthor$> </author> <time> <$BlogItemDateTime$> </time> <date> <blogdateheader> <$BlogDateHeaderDate$> </blogdateheader> </date><blogbody> <$BlogItemBody$> </blogbody> <comments><blogitemcommentsenabled> <blogitemcomments><comment><comment-author> <$BlogCommentAuthor$> </COMMENT-AUTHOR><comment-date> <$BlogCommentDateTime$> </COMMENT-DATE><comment-body> <$BlogCommentBody$></COMMENT-BODY> </comment></blogitemcomments> </blogitemcommentsenabled></comments></blogger> Now I go to Edit template mode and first take backup of my original blog. Than put the above code and click the preview button. Oh i forget to metion that I first set the Settings->formating blog counter to maximum entries i have in my blog. than When I click the Preview button it just give me the XML of my blog with comments in it. Now I goto View the HTML source of Pop Up window and It contain my XML file (half hidden) I got all the Blog entry and place them in the XML file and that is it. You need to know the XML format to make it correct XML though and clear the generated code as well. Now I have my blog back up with me. though I Request Blogger.com to please make a arrangement of the Backup of blog or Simply allow to have Atomfeed of ones blog to take all the entries with comment in it, And we save that XML for our Backup. Have a nice day and Wishing you Happy new year to all Sumit Gupta

Saturday, December 24, 2005

OsCommerce and Me

Last week I spend doing one of the challenging things in my programming career : OsCommerce One of the free, open source , Shopping cart in PHP and mySql. At first it seems little complicated, but later on as I spend few hours I got the feel of it and see its working, My first opinion about it changes. Whats my first opinion that it is one of best code software.. It organization is much more complex than it should be, I provide few things for me for customization than the complexity it contain. To add the custom product attributes I have to insert data in as many as 5-6 tables. Seems exciting ...lol this is where I recall the use of Store procedure in Ms SQL Server which are useful in these situations. Anyway If I got time I will try to put a guidline for those who need to edit shopping cart in Oscommerce. Sumit Gupta

Friday, December 16, 2005

VS ChessMania On Download.com

Yeppy ... Chessmania is Going good with its entry in http://www.download.com its downloads has increase quite a bit, Now it has more than 200 download in just 4 days Get VsChessMania 2.0 from Download.Com Download VS ChessMania 2.0 your Self from Download.Com Sumit Gupta

Wednesday, December 14, 2005

My Chess Game Got New Link

Hi, I recently found this site http://www.demonews.com/download-855.html offering downloads for my Chess Game, Seems good collection of the software here Visit this site for more info about it... Sumit Gupta

Thursday, December 01, 2005

ImageMagicK with Asp.Net

Hi, I have been working on project where I need to create Images on the Fly with Given Text and Font, I first use step written in this article to complete my work http://ewbi.blogs.com/develops/2005/08/sparklines_22.html But I fail for some reason and not able to complete and replicate the code for Gif Transparency. (on this I am still working) But than one of my Linux and PHP Friend suggest why no give a try to ImageMagicK for the same... I did and following are the result image of it..:o)

Four Images I create from Imagemagick so far, I have to create more styling in this. Not Sure If I can do the same using .Net alone

Sumit Gupta