Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Basic blog facility as a Spree extension -- work in progress (see TODO file): see my fork of the demo for actual use
Ruby
branch: master

This branch is 12 commits ahead of paulcc:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
lib/tasks
public
spec
README.markdown
Rakefile
TODO
blog_extension.rb

README.markdown

Blog

Simple blog facility, with approvable comment facility

Please see TODO file for planned work.

Usage

grab with: script/extension install git://github.com/paulcc/spree-blog.git

Administrator writes a blog entry in Html via admin interface

S/he can embed product details by including skus in *...*, eg "*00120*" These expanded inline into link to product and a corresponding small image is added after the blog text.

/the-blog/ (or blog_entries_path) then shows the entries in decreasing date order

Users can read the comments attached to an entry, and logged-in users can submit plain text comments with an optional page link.

Only admin-approved comments are shown. Administrators can approve and/or edit comments.

In addition to the usual new/create/index actions, there's a partial "_blog_snippet" for showing the most recent N blog entry titles.

Implementation

I might rename "blog_entry" to just "blog" - unless there's a proper word for an entry in a blog! Suggestions on a postcard...

Something went wrong with that request. Please try again.