Skip to main content

A content type inspired on the IPTC's News Industry Text

Project description

Life, the Universe, and Everything

News articles in Plone are instances of the ‘News Item’ content type: they can contain a title, a description, a body text, an image and some basic metadata. If you publish a couple of items from time to time, this is fine.

But suppose you have to publish dozens of items everyday… How do you tell your readers who they are about? What do they cover? Where do they took place? And, more important, how do you classify them? How do you organize them? How do you tell your readers which ones are newsworthy?

To solve these, and other issues, the IPTC developed XML standards to define the content and structure of news articles. NITF, NewsML and NewsCodes are among these standards and they support the classification, identification and description of a huge number of news articles characteristics.

NITF is intended to structure independent news articles and this package aims to implement a content type inspired by the specification.

Mostly Harmless

https://secure.travis-ci.org/collective/collective.nitf.png

Got an idea? Found a bug? Let us know by opening a support ticket.

Don’t Panic

Installation

To enable this product in a buildout-based installation:

  1. Edit your buildout.cfg and add collective.nitf to the list of eggs to install:

    [buildout]
    ...
    eggs =
        collective.nitf

After updating the configuration you need to run ‘’bin/buildout’’, which will take care of updating your system.

Go to the ‘Site Setup’ page in a Plone site and click on the ‘Add-ons’ link.

Check the box next to collective.nitf and click the ‘Activate’ button.

Helper views

All news articles provide @@nitf and @@newsml views that are available although are not registered.

Validating

You can validate the output of the @@nitf and @@newsml views using services like XML validation.

You may use the NITF Document Type Definition version 3.5 and the XHTML Ruby Module associated with it.

Share and Enjoy

collective.nitf would not have been possible without the contribution of the following people:

  • Héctor Velarde

  • Joaquín Rosales

  • Érico Andrei

  • Juan A. Díaz

  • Silvestre Huens

  • Gonzalo Almeida

  • Franco Pellegrini

  • Cleber J Santos

You can find an updated list of package contributors on GitHub.

Development sponsored by Open Multimedia.

There’s a frood who really knows where his towel is

1.0b3 (2013-07-23)

  • Remove unused gallery_viewlet template. [hvelarde]

  • Fix @@images view to proper use all the params it receives [ericof]

  • Changes galleria debug to off mode. [cleberjsantos]

  • Fix galleria view with large image. [cleberjsantos]

1.0b2 (2013-05-02)

  • Update Brazilian Portuguese translation. [hvelarde]

  • Fix image scaling of Dexterity images. [ericof]

  • Cleanup Galleria code; add title and description (when available). [ericof]

  • Fix character counter selector. [cleberjsantos]

1.0b1 (2013-04-17)

  • News Article now support plone.app.contenttypes [ericof]

  • Remove default and missing_value attributes from text field, this is causing problems with the RichText widget in Plone 4.3, now that is handled in the indexer. [jpgimenez]

  • Package is now Dexterity 2.0 and Plone 4.3 compatible (closes #52). [jpgimenez, hvelarde]

  • Remove needless registration of TokenInputFieldWidget now made at installation time of collective.z3cform.widgets in new release 1.0b6. [hvelarde]

  • Upgrade step to fix content created before the setting of widgets default values (closes #49). [jpgimenez]

  • Fix for summary_view with NITF content inside. [jpgimenez]

  • Remove old js code to collapse edit form. [jpgimenez]

  • Support image traversal. [jpgimenez]

  • Use galleria.io for image galleries with a custom theme. [jpgimenez]

  • Move the gallery to an overlay and load the images with ajax. [jpgimenez]

  • Package is no longer compatible with Plone 4.1. [hvelarde]

  • Do not show the folder listing if there are no files or links inside the News Article. [hvelarde]

  • Initial Brazilian Portuguese translation. [agnogueira]

  • NITF content type does not implement INonStructuralFolder any longer to allow folder factories menu. [jpgimenez]

  • Add Pillow as a dependency of the package. [hvelarde]

  • PEP8 fixes. [ericof]

  • Create named vocabularies for Genres and Urgencies. [ericof]

  • Vocabularies terms are now shown sorted; tests added. [hvelarde]

  • Replaced the UserFriendlyTypes vocabulary in favor of ReallyUserFriendlyTypes. [frapell]

  • Control panel fields sections and possible_genres were renamed to available_sections and available_genres; some code refactoring for better readability; tests were updated. [hvelarde]

  • Added a field to the control panel to set the relatable content types; tests were updated. [hvelarde]

  • Add-on layer was renamed to INITFLayer. [hvelarde]

  • Change relatedItem widget to use MultiContentSearchFieldWidget. [flecox]

  • Adds support to new-style Collections. [davilima6]

  • Added charcount functionality for title and description [quimera]

  • fix alternative view for news articles. [cleberjsantos]

1.0a3 (2012-07-06)

  • Make the NITF object to provide the INonStructuralFolder interface so comments can be added to them. [frapell]

1.0a2 (2012-06-18)

  • Dependency package collective.prettydate no longer has a GS profile. [hvelarde]

  • Indexes are now installed in an alternate way so catalog information is not lost on package reinstall (fixes #33). [hvelarde]

  • Spanish translation of News Codes was updated. [hvelarde]

1.0a1 (2012-05-21)

  • Initial release.

Project details


Download files

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

Source Distribution

collective.nitf-1.0b3.zip (122.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page