Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A basic blogging gem for rails

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rspec
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 MIT-LICENSE
Octocat-spinner-32 Manifest
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 blog_basic.gemspec
Octocat-spinner-32 init.rb
Octocat-spinner-32 uninstall.rb
README.md

blog_basic

blog_basic is a fork of the rails plugin BlogKit (https://github.com/ryanstout/blog_kit)

It aims to be a gem which provides a simple and generic blogging service for people to run on their website. It is made as easy as possible to deploy, and requires no external intregration to work.

blog_basic is self contained inside its own namespace and rails engine, and uses you google account (or any other providor omniauth supports) for easy and seemless authentication

Features

Blog_basic is a rails plugin to add a blog to your application. The goal is to provide common blog functionality that integrates into your existing app while keeping things simple.

BlogKitty has the following features.

  • Admin for Blog Articles
  • Search engine friendly urls
  • Comments
  • Uses your existing layouts
  • Easily customizable css
  • Akismet (spam filtering) Support
  • Markdown (default) or just plain html parsing
  • Image and Gravatar support
  • Anonymous Comments (optional)
  • Atom Feeds
  • Tags
  • Image upload (via paperclip, or something that adds has_attached_file to models)

Status

Blog_basic is currently fully working. However, it still needs to mature quite a bit. The testing is lacking, there is still a lot of code cleaning to do, configuration should be improved etc.

Futhermore I need to get some feedback from people actually using it. Currently I'm just scratching my own itch, but would love to hear what other people want from a blogging system.

Installation

Add blog_basic to your Gemfile

gem 'blog_basic'

then run "bundle install" to make sure you are up to date. Install blog_basic my running the generator blog_basic:install

rails g blog_basic:install

and migrate your database

rake db:migrate

Now adjust config/routes.rb for your desired path and config/blog_basic.yml for the rest of the configuration

Assumptions

Blog_basic makes the following assumptions

  • flash messages displaying is handled via the layout

Setup

Blog_baisc tries to be as unintrusive as possible with regards to your current authentication system.

In the future it will integrate with your existing user model, but currently it only uses your github account to authenticate thus eliminating the use of a User model, and makes the authentication process as simple as possible.

Requirements

blog_basic has been written for Rails 3.2 and later.

Customization

Be sure to edit config/blog_kit.yml, many common settings can be changed there.

Code Highlighting Example

To get code highlighted, place the following tag:

<code lang="ruby">

</code>

You can find a list of languages (syntaxes) under doc/SYNTAXES and a list of themes (colors) under doc/THEMES

Copyright (c) 2010 Ryan Stout, released under the MIT license

Copyright (c) 2012 Arvid Boettiger, still released under the MIT license :)

Something went wrong with that request. Please try again.