BlogBackup
Backup software for blogs
This python application retrieves blog feeds and saves the entries to text files so they can be backed up or reprocessed.
Current Version: 1.4
Released: Wed Nov 26 09:22:55 2008
Download version
1.4
Related Links
- BlogBackup 1.4 (2008-11-26)
- A recent post on my blog exposed a problem with the unicode handling in BlogBackup. Release 1.4 fixes the problem with saving posts that contain unicode characters.
- How NOT to Backup a Blogger Blog (2007-09-03)
- Over at the Google Operating System blog, they offer a way to "backup" your blog. It is mostly a manual hack to load the entire blog into one page in a web browser, then save the resulting HTML, though a similar technique is offered for saving the contents of your XML feed.
There are a few problems with this technique:- It depends on knowing how many posts are in the blog, up front.
- The steps and tools given are manual.
- Comments are handled separately.
What to do?
Enter BlogBackup, the unimaginatively named, fully automatic, backup software for your blog. Just point the command line tool at your blog feed and a directory where the backup output should go. It will automatically perform a full backup, including:- Every blog post is saved to a separate file in an easily parsable format, including all of the meta-data provided by the feed (categories, tags, publish dates, author, etc.).
- Comments are saved in separate directories, organized around the post with which they are associated. Comments also include all of their meta-data.
- The content of blog posts and comments are copied to a separate text file for easy indexing by desktop search tools such as Spotlight.
So, go forth and automate. - Better blogger backups (2007-09-03)
- I have enhanced the blog backup script I wrote a while back to automatically find and include comments feeds, so comments are now archived along with the original feed data. The means for recognizing "comments" feeds may make the script work only with blogger.com, though, since it depends on having "comments" in the URL. This does what I need now, though.
- backing up a blog (2007-09-03)
- Since blogger doesn't support exporting the contents of a blog without hacking around and republishing it, I decided to throw together a little application to handle the backup based on the feed.
The resulting Python script should work with any feed type, since I used the feedparser module to process the feed, but I have only tested it with this blog's Atom feed.
If you are interested, check it out. - CheeseRater (2007-08-29)
- Look No Hands - Unreasonable Observations (2007-02-17)
- Whose Content Is It? - techrigy (2007-02-12)
- An Easier Legacy - Ian Bicking (2007-02-07)
Related Projects
- CommandLineApp - Base class for command line applications