• Stars
    star
    238
  • Rank 169,306 (Top 4 %)
  • Language
    Ruby
  • License
    MIT License
  • Created almost 13 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A mountable Rails blogging engine

Gem Version Code Climate Test Coverage Blogit Travis CI Bitdeli Badge

Blogit - A Rails blogging solution

Blogit lets you add a blog to your Ruby on Rails application in just a few seconds.

NOTE: Blogit is currently dormant. I'm interested in spending some time to release version 2.0 for modern Rails environments, but development is going slowly due to very limiting time constraints.. If you're interested in helping to update for version 2.0, please get in touch.

Installation

Add these to your Gemfile

gem "blogit"
# Blogit depends on ActsAsTaggableOn
gem "acts-as-taggable-on"

...and run bundle install to install the gem.

Next, run:

# add an initializer to config/initializers with all of the configuration options
$ rails g blogit:install

# This will add the necessary migrations to your app's db/migrate directory
rake blogit:install:migrations

# You don't need to run this again if you've already done so
rake acts_as_taggable_on_engine:install:migrations

# This will run any pending migrations
rake db:migrate

then add the following to your routes.rb file:

# config/routes.rb
mount Blogit::Engine => "/blog"

Finally, declare which of your models acts as blogger in your app (probably User or Admin).

class User < ActiveRecord::Base

  blogs

end

Go to http://localhost:3000/blog and see your marvelous new blog.

Batteries included

Blogit provides you with the following features

  • An XML Sitemap located at /blog/posts.xml
  • An RSS feed located at /blog/posts.rss
  • Internationalization (see the locales file for configurable options)
  • Share links (Google+, Twitter & Facebook)
  • Disquss Comments
  • Code Syntax Highlighting CSS file (add *= require pygments to your app's stylesheet)
  • CSS themes

Modular

We're designing blogit to be as modular as possible, so you can pick and choose the elements you'd like to use.

Documentation

Full documentation and how-to guides available here: https://bodacious.github.io/blogit

Issues

If you discover a problem with Blogit, please report it via the Issues tab on Github.

Remember to search the issues list first in case your issue has already been raised by another Githuber

Contributing

Want to help make Blogit better?. Please read the contribution guidelines for more information on how you can contribute.

Legal Stuff

See LEGAL for full details.

Credits

Blogit was developed by Katana Code with generous contributions from:

Blogit is currently owned and maintained by @bodacious

More Repositories

1

BuildingARESTAPIinRails3

App code from the Screencast on building a REST API
Ruby
28
star
2

mp3_player

A simple mp3 player plugin for rails
Ruby
22
star
3

jiminy

WIP: Detects N+1 queries in test suite and comments on Github PRs
Ruby
14
star
4

FacbookConnectWithRubyMotion

A sample app showing how to set up a RubyMotion app to use the Facebook iOS SDK 3.1
Ruby
12
star
5

intense_debate_comments

Add quick and easy comments to your app with IntenseDebate
Ruby
10
star
6

genderize

A helpful class for gender-specific models in Ruby applications. Genderize adds useful helper methods for various pronouns and other written forms of male and female genders.
Ruby
9
star
7

flesch_kincaid

Simple, super-lightweight gem for calculating the Flesch Kincaid score in Ruby
Ruby
8
star
8

pingr

A simple gem for pinging search engines with your XML sitemap
Ruby
8
star
9

CursedCode

Episode code for the {Cursed Code} YouTube episodes
Ruby
8
star
10

motion-persistable

Cheap and easy attribute persistence for Rubymotion apps
Ruby
7
star
11

PListReadWrite

A Rubymotion module to make light work of writing to and reading from plist files.
Ruby
6
star
12

query-cache-demo

Demonstrates the cost of using ActiveRecord Query cache in a simple Rails app
Ruby
5
star
13

jQuery.Cookie.Coffeescript

A jQuery plugin for cookies written in CoffeeScript
CoffeeScript
4
star
14

factory_grabber

Grab factory_girl factories for faster tests
Ruby
4
star
15

motion-generators

Views and controller generators for RubyMotion apps
Ruby
3
star
16

MD5JS

A Javascript MD5 Library
3
star
17

motion-figaro

Simple RubyMotion app configuration using ENV and a single YAML file
Ruby
2
star
18

loggers_galore

Need more loggers? Loggers Galore allows you to create as many loggers as you require and access them anyplace in your app.
Ruby
2
star
19

crusoe

My personal gem for daily journal notes
Ruby
2
star
20

OptimisationTestComparisons

Testing the effectiveness of split A/B testing vs. Epsilon Greedy testing
Ruby
2
star
21

binary

A to_binary library for Ruby integers
Ruby
2
star
22

kirigami

Cut down your assets/images to web-friendly sizes
Ruby
2
star
23

FitnessTracker

App for recording my resting heart rate.
Ruby
2
star
24

HorizontalScrollingTablesInRubyMotion

Example of horizontal scrolling tables in RubyMotion (not working well yet!)
Ruby
2
star
25

ProtectedImagesExample

Example of how to protect images with authentication in Rails
Ruby
1
star
26

Bodacious

README page content
1
star
27

bubbleWrapTest

RSS Parser not found :(
Ruby
1
star
28

TomDocTest

Showing how I can't get tomdoc to work :(
Ruby
1
star
29

CompanyName

CompanyNameGenerator
Ruby
1
star
30

box_of_tricks

This gem is no longer maintained
Ruby
1
star
31

FMDBTest

A test app, can't seem to get FMDB working with Rubymotion
Ruby
1
star
32

TravisTest

Testing out Travis CI with a rails app
Ruby
1
star
33

LessonContent

Ruby tutorial content for Sonny
Ruby
1
star
34

GitStrategy

Katana Code's Git Strategy
1
star
35

MyLocations

A sandbox iOS app I'm working on
Objective-C
1
star
36

gin

work in progress
Ruby
1
star
37

Pomotion

Example code for Rubymotion Tutorial
Ruby
1
star
38

consented_scripts

Only run JS scripts when you have user consent
CoffeeScript
1
star
39

oreo

A Rails gem for reading, writing and deleting cookies using JS
Ruby
1
star
40

motion-icon_generator

Automatically generates all of the iOS icons you'll never need
Ruby
1
star
41

dog_the_data_hunter

Easily search multiple model attributes at once
Ruby
1
star
42

TestEnvExample

What's happening with the env hash in test mode?
Ruby
1
star
43

CarUserStyles

For Question on StackOverflow
1
star
44

BoxOfTricks

A selection of Ruby on Rails modules commonly used by Gavin Morrice
Ruby
1
star
45

katanacode.github.com

Katana Code Profile Page
1
star
46

GitHubReadTest

Just curious to see how Github handles nested README files - very cool
1
star
47

PrometheusRailsDemo

Demo app showing a simple Prometheus setup in Rails
Ruby
1
star