Location: PHPKode > scripts > BlogHelper > readme.html
    <title>BlogHelper Features</title>


<p>Thank you for downloading BlogHelper.  BlogHelper aims to help you add a simple web log to your website.</p>

<h2>Features of BlogHelper</h2>
    <li>Simple, no-frills web log starter kit</li>
    <li>Password-protected interface for adding new blog entries</li>
    <li>CSS-friendly! Make the look-and-feel yours with a few stylesheet changes</li>
    <li>Dynamically creates links to archived blog entries</li>
    <li>Easily configured to display a certain number of blog entries per page</li>
    <li>Open source, so you may tweak it to better serve your needs</li>

<h2>Requirements for using BlogHelper</h2>
    <li>PHP version 4.0 or greater</li>
    <li>MySQL version 3.2.3 or greater</li>

<h2>Get Started</h2>
<p>First, edit BlogHelper.sql and replace all instances of "YourName" with your name.  <B>Do not use spaces in the name!</b>.  For instance, if your name is John Doe then use the variable "JohnDoe".  Next, source BlogHelper.sql to initialize the MySQL tables.  Set the "author" variable in DisplayBlog.php to the same value.
<p>Now edit the top four variables in common_db.inc: $dbhost should be set to your database host ('localhost' if PHP and MySQL are on the same computer), $dbusername and $dbuserpass are your login information, and $default_dbname can remain as 'blog'.  </p>
Next, configure your individual blog settings in ViewBlog.inc.  Set yourAuthorName to the variable from step one (ex: "JohnDoe").  Set secretpassword, the password you will use when adding a blog entry.  Finally set numEntries, the number of blog entries that will display on your blog.
Make any desired changes in your blog's stylesheet.  Modify the CSS code in the displayHeader method of common.inc.
Write an entry in your blog using http://<i>Your.web.server.path/your_blog_path</i>/WriteBlogEntry.php?author=<i>JohnDoe</i> (link example for John Doe).  Remember to type in your password before hitting submit.
View your new entry by accessing http://<i>Your.web.server.path/your_blog_path</i>/DisplayBlog.php

<h2>File Descriptions</h2>
<p>Here's a brief overview of what each file does.</p>

<p>This file contains the information needed to configure your blog, and also contains the back-end logic.</p>

<p>This file contains the blog entry form.  It can only be accessed with the proper "author" variable in the query string.</p>

<p>This file displays your blog to the world! It shows your most recent blog entries and creates links to archived blog entries.  The archive links are dynamically created.</p>

<p>This file has the common header and footer functions.  It contains the Cascading Style Sheet which easily changes the look-and-feel of your blog.</p>

<p>This file has the common database functions.  It must be configured before use.</p>

<p>This file contains all the SQL queries you need to create the blog database.  Either "source" this file from the MySQL command prompt, or use PHPMyAdmin to read the queries from this file.</p>

Questions? Comments? Please let me know! <a href=mailto:hide@address.com>hide@address.com</a> is my email address.

Return current item: BlogHelper