NanoBlogger is a small weblog engine written in Bash for the command line. It uses common UNIX tools such as cat, grep, and sed to create static HTML content.
- download gzipped tarball a. Use the github link: b. decompress gzipped tarball: tar xzf nanoblogger-xx.tar.gz
- ... or clone.
- Modify shell's path to include the installation path.[1]
NOTE: this step will be taken care for you when you install through a package manager, like apt-get.
Follow these three steps:
- create a new weblog directory using nanoblogger (skip the configuration): nb --interactive 0 -b [new-blog-dir] add weblog
- copy the old data directory over to the new weblog directory: cp -r [old-blog-dir]/data [new-blog-dir]
- edit the new blog.conf to your likings and rebuild the weblog:
nb -b [new-blog-dir] configure update all
In addition to your old data directory, you will probably want to also copy over your styles and templates directory. If you decide to do this, you may find that your style sheets or templates no longer work asexpected. In which case some adjustments will have to be made before they work properly with the new version. A side-by-side comparison between the old and new version will be your best recourse. Consider this a small trade-off for the ability to fully customize the weblog's appearance.
Similarly, you will probably want to keep many settings from your old blog.conf. In which case, I suggest you do a side-by-side comparison of your old blog.conf and the new blog.conf. Then manually migrate your settings over to the new blog.conf.
If you created your own plugins, please take into account any changes to variables, settings, etc., that your plugins may depend on.
For more in depth documentation please see the NanoBlogger User Manual which should've been included with your copy of NanoBlogger.
The now-dormant project page: http://nanoblogger.sourceforge.net And dormant mailing list: http://groups.yahoo.com/group/nanoblogger