A list of usage TIPS, including how to embed youtube videos in the created blog, can be found in the fourth post on this thread, here:
http://www.murga-linux.com/puppy/viewto ... 625#973625
## Program: makeblog by wiak (of murga-linux puppy forum)
# version: 0.0.1
## Description:
# Makeblog is modified fork of makepup that uses underlying bashblog engine rather than woof-CE scripts (note that other than as a gui/frontend methodology, makeblog has nothing to do with woof-CE though).
# Like makepup, it used sed methods to dynamically modify the operation of the underlying engine script,
# but without in-place altering the underlying original bashblog program itself.
# The resulting frontend, provides: gui (optional),
# more efficient tag page handling,
# optional removal of DATE and/or AUTHOR from the blog posts,
# and allows (optional) WYSIWYG html editor to be
# used for bashblog post -html or edit functions
## Usage:
# As with makepup, simply place script in any empty directory, make it executable with chmod +x makeblog, and run it... (e.g. ./makeblog -g)
After first run of makeblog a .config file is automatically stored in same directory as the program, which you can edit with your own name, email etc for the blog presentation
# Once the any post has been made you can view your locally created blog by clicking on the index.html file.
## Requirements:
# Currently requires GNU sed (since using sed -i).
# To use the optional gui, currently needs gtkdialog (as in DebianDogs and Puppy Linux).
# If not on your system, a deb package of gtkdialog suitable for Debian or Ubuntu systems is available here:
# 32bit: https://github.com/DebianDog/xenialdog/ ... 1_i386.deb
# 64bit: https://github.com/DebianDog/xenialdog/ ... _amd64.deb
Bluegriffon: If you want a nice makeblog-compatible wysiwyg html editor (rather than simply using text editor like geany), I recommend older bluegriffon version 1.7.2 (provides functionality no longer free in currrent bluegriffon). For that I used download locaton:
http://trac.lliurex.net/xenial/export/7 ... 86.tar.bz2
or for 64bit version:
http://trac.lliurex.net/xenial/export/7 ... 64.tar.bz2
To install this bluegriffon, simply untar its files into an empty directory (e.g. on /mnt/home), or use xarchiver to do so, and make symlink from /usr/bin (or /usr/local/bin) to its bluegriffon executable so that will be found in your PATH. For example:
Code: Select all
ln -s <bluegriffon_extract_folder>/bluegriffon /usr/bin/bluegriffon
NOTE WELL: Bluegriffon is executed (e.g. via above symlink) with the command bluegriffon and NOT bluegriffon-bin (or it won't find some of its included libs)
You can find some documentation/tutorial for that bluegriffon version here:
https://www.thesitewizard.com/bluegriff ... al-1.shtml
--------------------------
Details about bashblog itself:
# BashBlog, a simple blog system written in a single bash script [around a thousand line of code and whole blog stored simply in single directory]
# (C) Carlos Fenollosa <carlos.fenollosa@gmail.com>, 2011-2016 and contributors
https://github.com/carlesfe/bashblog/contributors
https://github.com/cfenollosa/bashblog
Some time ago, BarryK started a thread about bashblog here: http://www.murga-linux.com/puppy/viewtopic.php?t=111377
However his fork of bashblog, "shellCMS", deviates significantly from the original, and I get the impression that thread is intended to be about shellCMS from now on(?): http://bkhome.org/shellcms/bashblog-for ... llcms.html
Since shellCMS is a fork of bashblog, I expect makeblog could be easily modified to provide a gui for that.
--------------------------
More details of makeblog, bashblog, and some alternatives can be found in the post below:
http://www.murga-linux.com/puppy/viewto ... 623#973623
Like Makepup, Makeblog should be downloaded into an empty directory where you wish to create your blog locally, made executable with chmod +x makeblog and run from either the commandline or via its provided gui.
To run with gui, simply open a terminal and enter:
Code: Select all
./makeblog -g
For options and usage help, either chose function 'usage' from makeblog gui bashblog function drop-down list or at terminal enter:
Code: Select all
./makeblog -u (or --usage)
NOTES:
1. makeblog has bashblog as its dependency. However, there is no need to manually download bashblog. Just as makepup automatically downloads woof-CE if it needs to, makeblog automatically downloads a copy of bashblog into the same directory if bashblog script is not already present. So nothing extra to do - just press "Do it!" button to create your first blog post on local copy in that same directory (no filename should be given - makeblog/bashblog uses the title of the blog to generate the post name). Once post is generated simply click on index.html to view what it all looks like and then add more posts or edit existing ones or use some of the other many commands provided.
2. To post the blog online you just need to send the whole directory contents up to the www home directory of where you want your blog to be. That's generally a simple matter of logging into your prepared site and using ftp, or drag-and-drop, or rsync, or git (which I recommend since github provides free space for yourusername.github.io website).
The third post in this thread details how to use github (I'll probably write a tiny separate script to automate that process for posting up to github later, but it is trivial matter):
http://www.murga-linux.com/puppy/viewto ... 624#973624
If you have ssh access to some other web-hosting site, it is common practice to use rsync. For how to do that, see, for example:
https://coderwall.com/p/moabdw/using-rs ... er-command
------------------------
There is a lot of extra/modified functionality/operation that can still be added to makeblog/bashblog combination, so consider this just a start. I haven't seen any new development at github bashblog itself for many months but hopefully it is still actively being monitored and maintained in which case some of makeblog internals might end up useful in bashblog itself (though I'm currently using GNU sed specific commands, which I'd need to change since bashblog is required to work on Mac OSX and BSD as well, without requiring GNU utilities - I need to do some work on these changes for Mac OSX etc but I'm not very familiar with the sed available there.
I'll probably add some further gui elements for rss or twitter comment setup, but later...
wiak