Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

News extension for the ringo framework

Project Description

# News extension for the Ringo webframework This extension can be used to extend a Ringo based web application with a newsboard. News can be displayed in the application. News can be administrated either throuh the webinterface or a command line client.

## Installation For details on how to install this extension in your application please refer to [The ringo documentation for extensions](http://ringo.readthedocs.org/en/latest/development/extension.html)

## CLI The extension provides some additional CLI options to manage new directly on the server:

  • ringo-admin news add <jsonfile> (The add command can be used to either add new or update existing news items.)
  • ringo-admin news delete <id>

JSON:

`json {"subject": "Foo", "date": "YYYY-MM-DD", "text": "Foo text the body of the message"} `

If the json contains an id then the command will try to load the item with the given id and update the news in the database. In all other cases (including giving no id at all) will create a new news item with a new id will be generated.

On default the added news will be added to all users in the system. Later enhancements might be giving a list of usernames, filtering by groups and roles etc.

As this command basically utilize the import of ringo like the ringo-admin db loadata command it is capable of doing almost the same things (e.g defining relation)

Release History

Release History

This version
History Node

1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ringo_news-1.0.tar.gz (20.0 kB) Copy SHA256 Checksum SHA256 Source Jul 21, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting