Skip to content
New Internationalist magazine digital edition
Ruby HTML CSS Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app Added ability to import blog articles from bricolage using a custom_u… May 27, 2016
bin Adding delayed_jobs migration. Nov 27, 2015
config Using mjml-rails instead of mjml-ruby so that partials can be used wi… May 23, 2016
db Added unpublished boolean to Article model to handle unpublishing a s… May 13, 2016
doc first commit May 16, 2012
factories Using mjml-rails instead of mjml-ruby so that partials can be used wi… May 23, 2016
features making factories visible to rspec, a bit more flesh on the bones of t… Aug 8, 2012
lib Fixed response from UK server when user isn't found. Dec 2, 2015
log first commit May 16, 2012
public Avoiding bots spidering new email_article route. Apr 8, 2016
script Installed cucumber and rspec May 24, 2012
spec Added check to make sure that the html body tag was created in mjml e… May 24, 2016
test uups, missing modifications for the last few commits. Aug 8, 2012
.gitignore Dev secrets yml file added to gitignore. Apr 7, 2016
.gitmodules Importing highlighter.js as a gem instead of a git submodule to make … Apr 8, 2016
.rspec Upgraded rspec. Oct 31, 2014
Gemfile Using mjml-rails instead of mjml-ruby so that partials can be used wi… May 23, 2016
Gemfile.lock Updated MJML email templates to use MJML v2.1.1 May 27, 2016
Guardfile beginnings of settin gup guard. not really working yet. Nov 14, 2012
Procfile Added a Delayed Job task for downloading CSVs. Nov 27, 2015
README.md Added mobile apps and the shop product of the month to the email temp… May 2, 2016
Rakefile first commit May 16, 2012
config.ru first commit May 16, 2012
package.json Updated MJML email templates to use MJML v2.1.1 May 27, 2016

README.md

New Internationalist magazine digital subscription

A digital subscription backend for a magazine reader web app, iPhone app & Android app.

New Internationalist Magazine for Android.

See the live site at digital.newint.com.au

Features

  • Subscribe for 3 or 12 months.
  • Buy a single issue.
  • Read it in HTML, or a specific app.

MJML email templates

We use the https://mjml.io email markup framework to generate HTML email code via this MJML Ruby Parser.

Install it locally to get it to render the .mjml template files:

$ npm install

iOS app

The Apple Newsstand app for iPad, iPhone and iPod Touch GitHub project is available here: https://github.com/sighmon/NI-ipad

Download the New Internationalist app on the Apple App Store: https://itunes.apple.com/au/app/new-internationalist-magazine/id711254931

Android app

The Android app GitHub project is available here: https://github.com/sighmon/NewInternationalist

Download the New Internationalist magazine app for Android from: https://play.google.com/store/apps/details?id=au.com.newint.newinternationalist

CMS

You can write articled directly into this Rails site with the basic built article writing tools or import them from the Bricolage CMS via SOAP.

When writing directly,

and
tags are added automatically (thanks simple_format), and it also lets you use basic tags too.

To upload images, simply drag the images into the article page. Images auto-format at the top of the page, but if you'd like to manually position them in the page use the tag format [File:xx] where xx is the image :id number of the image you just uploaded.

Software License

New Internationalist magazine digital edition.

Copyright © 2016 New Internationalist Australia.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Magazine content

Copyright © 1973-2016 New Internationalist. Except where otherwise noted, content is licensed under Creative Commons. http://creativecommons.org/licenses/by-nc-nd/3.0/

Except where otherwise noted, images are © the attributed photographer/illustrator or representative agency.

Something went wrong with that request. Please try again.