Bash Blogger 0.3.2Forum: water cooler Topic: Bash Blogger 0.3.2 started by: Grim Posted by Grim on Sep. 05 2004,10:06
Hi John, Roberts and crew,I've been tinkering with a little bash script that writes a valid XHTML 1.0 Strict weblog. I think I've mentioned it here before. Anyways, if anyone's interested you can get the tarball at: < http://grimthing.com/downloads/bblog-0.3.2.tar.gz > It doesn't require PHP, SSI, python or any special webserver configuration. Just bash (ash?) and a few standard gnutils. You can check out the demo site at: < http://grimthing.com/bashblogger/ > UPDATE: for anybody who's downloaded 0.3.2 lately and been frustrated with it. It's been fixed. Remeber kids, friends don't let friends code at 4 in the morning. Posted by ripcrd6 on Sep. 07 2004,16:42
Can this be installed from the MyDSL menu if I include the .tar.gz included on my DSL remaster CD?
Posted by roberts on Sep. 07 2004,20:25
Hi Grim,This is very nice. I like to see those of us who push bash shell to the limits. I am amazed at how Klaus Knopper uses bash in Knoppix. Then what we do here with damnsmall using bash. And now to see a blog written in bash. Cool. Nice work. Robert Posted by roberts on Sep. 07 2004,21:03
No. This is not a DSL extension. He made this for general distribution. Note: He does mention an installer bug on his website. I was able to make it work, by manually editing the bblog.conf file. I unpacked it into home directory, and used /opt/monkey/htdocs as the target directory in the setup script which I ran as root. It did not require a writeable structure. It ran fine on the liveCD. So, then you add /opt/monkey.htdocs to your filetool.lst and there you have it. Posted by monkymind on Sep. 08 2004,02:14
Hi Grim,thanks for the neat prog. I just downloaded it and set it up like Roberts above. Feedback:- * The bblog.conf still needs reconfiguring even after answering all the questions in the setup?? * The bblog.conf needed to be made readable and writeable or it came up with a message like "bblog.conf not found - rerun setup" The more I play around with it the more I like it Cheers rob PS All I need now is a tiny wiki ......... Posted by John on Sep. 08 2004,07:27
Looking good Grim! You have an RSS feed now, that's very nice.
Posted by Grim on Sep. 08 2004,16:51
Thanks for the feedback guys. To respond to a couple of points:* The installer was an afterthought and an aversion to writing a proper install HOWTO. Thus the bugginess. I spent the better part of yesterday afternoon squashing all the bugs over email with a new user. The installer should be pretty solid now and negate the need to play with bblog.conf after the install.
* This was due to the sanity check in bblog itself coming before sourcing bblog.conf. It's been corrected and reuploaded. The installer basically checks the permissions for the directory you want to install to, writes the config file and unpacks everything to the install directory and chmod's a couple of directories. The setup.sh is about half the size of the original install doc and I thought an installer would be a nice touch (but didn't realize it would be such a pain in the ass.) Thanks to everyone for the kind comments. Praise from the likes of John and Roberts means a lot. Thanks guys. Posted by ke4nt1 on Sep. 08 2004,19:14
I must be installing incorrectly..the bblog.conf continues to have your data in it, not mine. and I get the error " can't find bblog.conf " Downloaded and attempted 09/08/2004 - 14:06 cst If I edit the bblog.conf, it works great ! kudos... 73 ke4nt Posted by Grim on Sep. 09 2004,02:51
Okay, NOW the installer works as advertised.I inadvertantly packed a bblog.conf into the install.tar.gz and it overwrote the one generated by the install script. I feel like a big idiot, sorry 'bout that ke4nt1. If anybody wants to download it again and make sure I didn't pull another boneheaded maneuver, I'd be much appreciative. Posted by ke4nt1 on Sep. 09 2004,04:10
Yep.. MO Betta ... ( )Thanks... All good now.. playtime ! 73 ke4nt |