Shows WordPress posts in a Ruby on Rails application.
Ever wanted to have a CMS using Ruby on Rails? With Railspress you can have of all advantages of WordPress editing pages and posts, but you can display them in a Rails layout.
- Displays the pages, posts and menus from a WordPress site using the rails layouts
- Works for multi-language sites also
- Configure additional options using the same WordPress table
- 4 custom shortcodes:
ts_revisions- shows the page revisions for website visitorsts_childpages- displays links of the child pages into the parent pagets_customposts- displays links of the custom post types into a pagets_fileexplorer- displays a directory with its files and direct subdirectories
- set a prefix for all articles e.g.
config.posts_permalink_prefix = 'news'
How to use the engine
Add this line to your application's Gemfile:
gem 'railspress'And then execute:
$ bundleOr install it yourself as:
$ gem install railspressIn database.yml add an entry with the table prefix used in WordPress:
prefix: wp
Add an initializer
gem 'shortcode'
gem 'will_paginate', '~> 3.1.1'Contribution directions go here.
Support this project:
The gem is available as open source under the terms of the MIT License.

