Dyanrex-usersblog is a multi-user version of dynarex-blog
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
MIT-LICENSE
README.md
dynarex-usersblog.gemspec
gem-public_cert.pem

README.md

Introducing the dynarex-usersblog gem

The dynarex-usersblog gem is suitable for creating blogs in a multi-user environment.

Installation

sudo gem install dynarex-usersblog

Example

Creating a blog entry

require 'dynarex-usersblog'

users_blog = DynarexUsersBlog.new 'jrobertson'
users_blog.create_entry title: "a22brr2", body: "aaa", tags: "aasd fwerf ruby"

Deleting a blog entry

users_blog = DynarexUsersBlog.new 'jrobertson'
users_blog.delete '2'

update: 24-Jun-2010

Dynarex-usersblog features user, and tag entry viewing within pages e.g.

require 'dynarex-usersblog'

blog = DynarexUsersBlog.new
puts blog.tag('fwerf').page(1).to_s
puts blog.user('jrobertson').tag('fwerf').page(1).to_s

Resources