Refinery's news engine allows you to post updates to the news section of your website.
- 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.
RefineryCMS version 0.9.6 or later.
Gem Installation using Bundler
Include the latest gem into your Refinery CMS application's Gemfile:
gem "refinerycms-news", '~> 0.9.8.1', :require => "news"
Then type the following at command line inside your Refinery CMS application's root directory:
bundle install script/generate news rake db:migrate
Rails Engine Installation
If you do not want to install the engine via bundler 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')) %>