|
Bog
Miniture flat file web log engine
|
|
Bog - miniture flat file blog engine.
How to deploy a Bog [edit]
- Indentify the web page to add bog to.
Typically, it needs to be a PHP enabled page.
e.g. http://astral.zaptech.org/admin/biz.php
- Review where bog code is
e.g. http://blog.zaptech.org/
- Review the paths.php file, choose which content path to use.
Typically content path and web page path are different, indeed
it is better that content path is not web accessible.
e.g. $file_paths[0] = "/public/blog/content/";
$file_psswd[0] = "1234";
- Choose a file name. It may prepend directories, but if so make
sure the directories are present before using. All directories
must be world writable.
e.g. biz/main
- Drop code in web page ...
Shiny <?PHP
echo "[<A HREF=http://blog.zaptech.org/?file=jobness/nice&area=1>edit</A>]\n<br><br>\n<DIV>";
readfile("/public/blog/content/jobness/nice");
echo "</DIV>"; ?>
Source: bog_2008090723.tar