Weblog management system - sb supports the following functions.
JUGEM is rental weblog service which is provided by paperboy&co.
Movable Type is powerful weglog management system which is provided by Six Aprat Ltd.
Paperboy&co. holds copryrights of templates which are donloaded from JUGEM template center. It is NOT allowed to use these without permission.
The templates which are used in "sb" are compatible with JUGEM. However it is NOT recommended to divert the JUGEM original templates.
I would like to thank for helping to the following people.
And thank and love my wife and my daughter.
"sb" is developed with the follwing people:
Display screen to edit an article as new article when you push the botton on menu.
If you want to edit a posted article, you can select a article on article list screen. Editing a posted article, a list of received comments and trackbacks would be displayed on the bottom of screen.
This menu is usable for any user.
Display a list of posted articles. You can delete articles if you want.
You can use each title as link to edit. If you want to edit a posted article, you can click the title.
This menu is usable for any user, but some operations (e.g. deleting, editing) are limited according to user authority.
Display a list od uploaded images. You can also upload new image via this screen.
If Image::Magick is available for your environment, you can also create small image at the same time. "sb" can detect automatically whether Image::Magick is available or not.
You can select a file to upload via "file" field on the screen. The available image formats for "sb" are "jpeg", "gif" and "png".
You can name a file which is uploeaded to use on "sb". When the "name" field is a blank, "sb" would automatically name a file as same as a local file name.
The table shows uploaded images with detail information.
This menu is usable for any user, but deleting operation is limited according to user authority.
"sb" is developped in Perl 5.8 (5.008).
"sb" is oparatable by
in Japanese.Shift_JIS, EUC-JP, iso-20022-jp(JIS), UTF-8
"sb" needs the following external libraries.
If Image::Magick is usable, "sb" can generate small image at the same time when you upload image on your webpage.
Image::Magick is not necessary to use "sb".
Contents | Description |
---|---|
sb.cgi | main script |
admin.cgi | management script |
cnt.cgi | script for collecting logs |
init.cgi | setting file for sb |
index.html | index html file as a top page |
style.css | css file for weblog |
lib/ | directory for libraries |
ext/ | directory for external libraries |
lock/ | directory for lock files (there are "lock" and "cnt" in this directory) |
data/ | directory to store data files |
log/ | directory to store weblog files |
img/ | directory to store uploaded images |
util/ | directory for utilities (it is not necessary to install sb) |
doc/ | directory for help documents |
Files and Directories | Permission |
---|---|
sb.cgi | [755]* |
admin.cgi | [755]* |
cnt.cgi | [755]* |
init.cgi | [644] |
index.html | [666]* |
style.css | [666]* |
lib/ | [755] The files in this directory are [644] |
ext/ | [755] The files in this directory are [644] |
lock/ | [777]* The "lock" and "cnt" in this directory are [666]* |
data/ | [777]* |
log/ | [777]* |
img/ | [777]* |
doc/ | [755] The files in this directory are [644] |
The symbol * shows that files and directories is necessary to set permission.
You can change the places of log, img, index.html and style.css. Could you place these files and directories in base directories which is set in weblog config. If you change the places, you still need to set permission.
You can change name for "log" directory and "img" directory.
The settings for permission is alternated according to the server. Could you contact the administrator of your server.
The first line of script,
, is necessary to customize according to the server.#!/usr/bin/perl
It is only necessary for sb.cgi, cnt.cgi and admin.cgi.
In init.cgi,
are set.
DataDir is the palace of data directory where is pointed from sb.cgi and admin.cgi.
ScriptPath is the URL of sb.cgi and admin.cgi where is installed.
DataSuffix is the suffix of data files. You can change the suffix of data files for security reason.
You can also change the following settings which is not necessary.
LockDir is the place of lock directory.
BaseDir is the place of base directory. There are index.html and style.css in base directory.
LogDir is the place of log directory in base directory.
ImgDir is the place of img directory in base directory.
HttpProxy is set a proxy server address and port.
TempConv is setting whether "sb" should convert character code in admin.cgi or not.
If you don't need to convert character code in admin.cgi, you can set
.TempConv 0
Using "sb", you don't need to set directly character code in Japanese. "sb" automatically detects character code according to language library in
(e.g. ja.pl in Japanese).lib/lang/
Default setting of character code is EUC-JP. Setting character code of ja.pl as UTF-8, "sb" should operate your webpage as UTF-8.
Because the same code is applied to store data, it is better not to change.
After editing init.cgi and setting permission, could you access admin.cgi by WWW agent.
"sb" automatically generate data files in data directory at the first access.
If it is successful to generate data files, you can see a screen to create the first user. If it is not successful, could you check the permission.
If you want to re-install after the first run, you need delete all files whiche are created in data directory.
At the screen to create the first user, you should create the first user as administrator of your weblog. You can change user name and password in "Edit Profiles" if you want.
If you would cahnge user name or password, you should logout at once.p>
You have already installed the old "sb". Please note below when you upgarade.
It is necessary to replace basically old files with the files as follows:
It is NOT necessary to replace basically old files with the files as follows:
If you have alternated character code, you should also change character code for new one.
If you have changed the first line (
) of sb.cgi, cnt.cgi and admin.cgi, you should change.#!/usr/bin/perl