# 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)
Metadata
Release files for ringo_news 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ringo_news-1.0.tar.gz | 20.0 kB | Without provenance | Details for ringo_news-1.0.tar.gz |
Release files / ringo_news-1.0.tar.gz
| Download URL | ringo_news-1.0.tar.gz |
|---|---|
| Size | 20.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
884589d2876c69607647135c9cd0a2cb8ef55e2e61362e668c4dce186a0bc55d
|
|
BLAKE2b-256 checksum How to use checksums |
f5e18939697c77ccec3bd691bf05ef96211cb48e16f2aad30a0a8afa884ce626
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ringo_news 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.