Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

News Plugin for RefineryCMS

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 generators
Octocat-spinner-32 lib
Octocat-spinner-32 rails
Octocat-spinner-32 license.md
Octocat-spinner-32 readme.md
Octocat-spinner-32 refinerycms-news.gemspec
readme.md

News

Refinery News

About

Refinery's news engine allows you to post updates to the news section of your website.

Key features:

  • Default news page shows a summary of recent news posts
  • Detail view shows the full post and also linked to recent news on the "side bar"

How do I use it?

To install the news engine, you can either include the gem or install as a plugin.

RubyGems Installation

Include the latest (gem)[http://rubygems.org/gems/refinerycms-news] into your config/application.rb file like so:

config.gem "refinerycms-news", :lib => "news", :source => "rubygems.org", :version => "~> 0.9.7.1"

Then type the following at command line inside your Refinery CMS application's root directory:

rake gems:install
script/generate news
rake db:migrate

Rails Engine Installation

If you do not want to install the engine via RubyGems then you can install it as an engine inside your application's vendor directory. Type the following at command line inside your Refinery CMS application's root directory:

script/plugin install git://github.com/resolve/refinerycms-news.git
script/generate news
rake db:migrate

RSS (Really Simple Syndication)

To get RSS for your entire site, insert this into the head section of your layout after installing:

<%= auto_discovery_link_tag(:rss, news_items_url(:format => 'rss')) %>
Something went wrong with that request. Please try again.