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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home