NSLU2-Linux
view · edit · print · history

HowTo.TurnYourSlugIntoABlogWithNanoBlogger History

Hide minor edits - Show changes to markup

November 16, 2008, at 10:33 PM by MuxF -- Added info about nanoblogger and cal interaction.
Added lines 26-27:

If gcal isn't available, nanoblogger configuration has now (in Nov 2008) a variable CAL_ARGS that you can change to "-m". That makes cal to use Monday as first day of the week.

December 16, 2006, at 01:25 AM by DougLourey -- cal required for the calendar
Changed lines 18-25 from:

Step-by-step instructions for non-unix types would be very helpful. See UseTheThttpdWebserver as an example.

to:

DougLourey? - Calender needs cal, included in bsdmainutils. Install using the following commands.

  1. ipkg update
  2. ipkg install bsdmainutils

However, cal displays a calendar with Saturday or Monday as the first day of the week. A workaround is to install gcal

  1. ipkg install gcal

and substitute cal with gcal (I'll post a specific example when I figure it out)

November 30, 2006, at 05:30 PM by DougLourey --
Changed line 18 from:

Step-by-ste instructions for non-unix types would be very helpful. See UseTheThttpdWebserver as an example.

to:

Step-by-step instructions for non-unix types would be very helpful. See UseTheThttpdWebserver as an example.

November 30, 2006, at 05:30 PM by DougLourey -- Request for simple step-by-step instructions.
Changed line 18 from:
to:

Step-by-ste instructions for non-unix types would be very helpful. See UseTheThttpdWebserver as an example.

May 06, 2006, at 04:48 PM by JonMikelV -- Fixed typo 20060506
Changed lines 15-18 from:

NanoBlogger should run with AppWeb too. Maybe making ESP templates for some dynamic content could be interresting. Inserting the load or free disk space into the pages might make sense. Or the currently played song served by Mt-daap.

to:

NanoBlogger should run with AppWeb too. Maybe making ESP templates for some dynamic content could be interesting. Inserting the load or free disk space into the pages might make sense. Or the currently played song served by Mt-daap.

June 20, 2005, at 06:03 PM by tman --
Changed lines 1-2 from:

From their web page: 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:

From their web page: NanoBlogger is a small weblog engine written in Bash for the command line. It uses common UNIX tools such as cat, grep and sed.

Changed lines 5-8 from:
  • install bash with ipkg install bash
  • grab NanoBlogger? from here with wget http://nanoblogger.sourceforge.net/downloads/current_version
  • unpack to any location. eg. /opt/nanoblogger
  • copy or symlink the nb script to /opt/bin or add the installation directory to your PATH
to:
  • Install bash with ipkg install bash
  • Grab NanoBlogger from the NanoBlogger download site.
  • Unpack to any location. eg. /opt/nanoblogger
  • Copy or symlink the nb script to /opt/bin or add the installation directory to your PATH
Changed lines 10-12 from:
  • follow the installation and usage instructions of NanoBlogger?. You'll find them in the tarball. The docroot of the installed thttpd is /home/httpd/html
  • you're ready to blog
to:
  • Follow the installation and usage instructions of NanoBlogger. You'll find them in the tarball. The docroot of the installed thttpd is /home/httpd/html
  • You're ready to blog.
Changed lines 15-18 from:

NanoBlogger? should run with AppWeb? too. Maybe making ESP templates for some dynamic content could be interresting. Inserting the load or free disk space into the pages might make sense. Or the currently played song served by Mt-daap.

to:

NanoBlogger should run with AppWeb too. Maybe making ESP templates for some dynamic content could be interresting. Inserting the load or free disk space into the pages might make sense. Or the currently played song served by Mt-daap.

January 11, 2005, at 05:49 PM by jsilence --
Changed line 15 from:

NanoBlogger? should run with AppWeb? too. Maybe making ESP templates for some dynamic content could be interresting. Inserting the load or free disk space into the pages might make sense. Or the currently played song served by mdaap. Anyone?

to:

NanoBlogger? should run with AppWeb? too. Maybe making ESP templates for some dynamic content could be interresting. Inserting the load or free disk space into the pages might make sense. Or the currently played song served by Mt-daap.

January 11, 2005, at 05:48 PM by jsilence --
Changed line 3 from:

It runs well on the slug, requires no database, only bash and dumps the pages in plain HTML so that no dynamic page generation hits the CPU.

to:

It runs well on the slug, requires no database, only bash and a couple of UNIX tools. It dumps the pages in plain HTML so that no dynamic page generation hits the CPU.

Changed line 6 from:
  • grab NanoBlogger? from http://nanoblogger.sourceforge.net/downloads/ here with wget http://nanoblogger.sourceforge.net/downloads/current_version
to:
  • grab NanoBlogger? from http://nanoblogger.sourceforge.net/downloads/ here with wget http://nanoblogger.sourceforge.net/downloads/current_version
Changed line 8 from:
  • copy or symlink the nb script to /opt/bin
to:
  • copy or symlink the nb script to /opt/bin or add the installation directory to your PATH
Changed line 10 from:
  • follow the installation and usage instructions of NanoBlogger?. You'll find them in the tarball. The docroot of the installed thttpd is: tbd: insert the docroot of thttpd here
to:
  • follow the installation and usage instructions of NanoBlogger?. You'll find them in the tarball. The docroot of the installed thttpd is /home/httpd/html
January 11, 2005, at 08:08 AM by jsilence --
Changed line 1 from:

"is a small weblog engine written in Bash for the command line. It uses common UNIX tools such as cat, grep and sed."

to:

From their web page: http://nanoblogger.sourceforge.net/ NanoBlogger is a small weblog engine written in Bash for the command line. It uses common UNIX tools such as cat, grep and sed.

Changed line 6 from:
  • grab NanoBlogger? from with wget http://nanoblogger.sourceforge.net/downloads/current_version
to:
  • grab NanoBlogger? from http://nanoblogger.sourceforge.net/downloads/ here with wget http://nanoblogger.sourceforge.net/downloads/current_version
Added lines 8-17:
  • copy or symlink the nb script to /opt/bin
  • bash is installed into /opt/bin instead of /bin. Edit the first line of the nb script to reflect this.
  • follow the installation and usage instructions of NanoBlogger?. You'll find them in the tarball. The docroot of the installed thttpd is: tbd: insert the docroot of thttpd here
  • you're ready to blog

Making a package or copy/pasting the nb installation instructions into this wiki would not make too much sense. The nb script requires almost no modification and the installation instructions would become outdated.

NanoBlogger? should run with AppWeb? too. Maybe making ESP templates for some dynamic content could be interresting. Inserting the load or free disk space into the pages might make sense. Or the currently played song served by mdaap. Anyone?

Deleted line 18:

tbc

January 11, 2005, at 06:21 AM by jsilence --
Changed lines 1-9 from:
to:

"is a small weblog engine written in Bash for the command line. It uses common UNIX tools such as cat, grep and sed."

It runs well on the slug, requires no database, only bash and dumps the pages in plain HTML so that no dynamic page generation hits the CPU.

  • install bash with ipkg install bash
  • grab NanoBlogger? from with wget http://nanoblogger.sourceforge.net/downloads/current_version
  • unpack to any location. eg. /opt/nanoblogger

tbc

view · edit · print · history · Last edited by MuxF.
Based on work by DougLourey, JonMikelV, tman, and jsilence.
Originally by jsilence.
Page last modified on November 16, 2008, at 10:33 PM