Project

foxynews

0.0
No commit activity in last 3 years
No release in over 3 years
Foxynews provides a Rails Engine skin to your PR.co account. By default you can mount the Pressrooms and Presskits controllers, which follow the design and classnames of the PR.co basic layout. Otherwise, you can set up your own custom layouts using the parials.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 0.13
~> 4.2.3
 Project Readme

alt text

Foxynews

Build Status Gem Code Climate Coverage

Description

This is a Rails wrapper to the PR.co API, which pulls in your PR.co content and lets you display it completely on your own website. This lets you keep the SEO juice that comes from your press releases and have more control over styling.

As a namespaced Rails engine, +foxynews+ can be easily overwritten to suit your individual needs.

Installation

If you are using bundler, add this line to your Gemfile:

gem 'foxynews', git: 'git@github.com:HitFox/foxynews.git'

And install your gem:

$ bundle install

If you are not using bundler just type:

$ gem install foxynews

After you have installed the gem, generate the intialzer:

$ rails g foxynews:initializer

Browse to the generated initializer. You should found it in config/initializers/foxynews.rb. Change here +YOUR_PR_CO_ID_HERE+ to your PR.co pressroom ID.

Now you have to mount the engine in your routes file.

mount Foxynews::Engine => '/pr', as: 'foxynews'

Usage

By default a pressroom in your app is accessible at +/pr/pressrooms+.

Other routes are:

  • pr/pressrooms/show/:id

  • pr/pressrooms/archive

  • pr/presskit/show/:id

Archives display older articles, presskits display individual PR.co presskits.

Changelog

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/HitFox/foxynews. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.