Dashboard > blojsom > ... > Users Guide > Adding Updating and Deleting Entries
  blojsom Log In   View a printable version of the current page.  
  Adding Updating and Deleting Entries
Added by David Czarnecki, last edited by David Czarnecki on Jan 08, 2005  (view change)
Labels: 
(None)

Adding, removing, and updating blog entries and categories

The following applies to each of the individual user blogs you have setup for your blojsom installation.

blojsom uses the filesystem as its database. In blojsom, files matching the files indicated in the blog-file-extensions configuration property will be picked up as your blog entries. Directories that blojsom discovers under blog-home will be used as the categories for your blog. The following is an oversimplified example of how to manipulate your blog to add, update, and remove blog entries and categories from the command-line.

Further down this page are instructions for editing your blog using the administration console.

Blog entry format

The first line of a blojsom blog entry is used as the title for that entry. Everything after that is treated as the body or description of that blog entry. The filename of the blog entry will be used in generating a "permalink" (a permanent link) to that individual blog entry.

This is a blog entry title
And everything after will show up as the body for the blog entry

Adding blog entries and categories

  1. Change to your blog-home directory.
  2. Add a directory called "general". There you go, you've just created a category!
  3. Open up your favorite editor and create a file called "my-first-entry.html" in the "general" directory. Again, the first line of your blog entry is used as the title and everything after the title will be used as the body of the entry.
  4. In your browser, open up the URL to your blog and you should see your entry displayed on the screen.

Updating blog entries and categories

  1. Change to your blog-home directory.
  2. Rename the "general" directory to "news". There you go, you've just updated a category!
  3. Open up your favorite editor and edit the file "my-first-entry.html", now in the "news" directory. Update the title and/or the entry body. It's that simple.
  4. In your browser, open up the URL to your blog and you should see your entry displayed on the screen.

Removing blog entries and categories

  1. Change to your blog-home directory.
  2. Remove the "news" directory. There you go, you've just removed a category (and removed your first blog entry)!
  3. In your browser, open up the URL to your blog and you should see that the "news" category and your first entry are gone.

Adding blog entries from the administration console

Editing blog entries from the administration console

Deleting blog entries from the administration console

Site running on a free Atlassian Confluence Open Source Project License granted to blojsom. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators