{"id":1343,"date":"2015-06-26T14:47:29","date_gmt":"2015-06-26T13:47:29","guid":{"rendered":"https:\/\/iptc.org\/?page_id=1343"},"modified":"2024-10-11T13:08:46","modified_gmt":"2024-10-11T12:08:46","slug":"tools-for-newsml-g2","status":"publish","type":"page","link":"https:\/\/iptc.org\/standards\/newsml-g2\/tools-for-newsml-g2\/","title":{"rendered":"Tools for NewsML-G2"},"content":{"rendered":"
Working with news and news-related data using the NewsML-G2 format is currently supported by these kinds of software modules:<\/p>\n
The IPTC has developed an interactive “NewsML-G2 Generator” tool<\/a> which allows users to explore creating simple NewsML-G2 documents by simply typing into a form on a web page. The tool allows you to choose between usage of URIs or QCodes for controlled values, and to choose between XHTML and NITF markup for the embedded news article.<\/p>\n The IPTC has developed a Python module for creating and processing NewsML-G2 documents.<\/p>\n Currently in beta, it is available from PyPI<\/a> and can be installed via It supports NewsML-G2 up to version 2.29. Download and view documentation at https:\/\/pypi.org\/project\/newsmlg2\/<\/a>.\u00a0<\/p>\n XML::NewsML_G2 is a software library to simplify the creation of XML files conforming to the NewsML-G2 specification as published by the IPTC. It does not aim to implement the complete standard, but to cover the most common use cases in a best-practice manner.<\/p>\n The software is implemented in Perl and depends on Moose. It has been successfully tested on Linux, *BSD, OS X, Windows, Solaris and HP-UX. It is provided by APA-IT<\/a> and available under the terms of the GNU General Public License.<\/p>\n The implementation currently supports text, picture, video, audio, graphics, as well as multimedia packages and slideshows.<\/p>\n Last updated in 2019, the module supports NewsML-G2 version 2.18.<\/p>\n Documentation and download: https:\/\/metacpan.org\/pod\/XML::NewsML_G2<\/a><\/p>\n The NewsML-G2 Importer plugin for WordPress provided an easy way to import NewsML-G2 documents into WordPress and to publish them as posts inside your blog. It imports all XML documents containing NewsML-G2 data found in a provided folder into the WordPress database and saves them as a custom post type with additional metadata taken from the NewsML-G2 document. You can import new documents through HTTP, FTP and RSS.<\/p>\n The plugin was developed by APA-IT<\/a> under an open source licence, but is no longer maintained.<\/p>\n The Rewpert-G2 plugin was designed to import arbitrary NewsML-G2 news messages into WordPress and make them available as articles. It had built in functionality for importing text items, picture items and metadata (subjects, media topics, authors). Rewpert-G2 was developed as a bachelor student thesis in collaboration between Oslo and Akershus University College of Applied Sciences<\/em> and Aptoma AS<\/a><\/em>.<\/p>\n\n
<\/a>Software libraries<\/h2>\n
Python NewsML-G2 module<\/h3>\n
pip install newsmlg2<\/code>. It is available under an MIT licence, so can be used in any project, commercial or non-commercial.<\/p>\nPerl XML::NewsML-G2 Writer<\/h3>\n
<\/a>WordPress Plug-ins<\/h2>\n
NewsML-G2 Importer (no longer available)<\/em><\/h3>\n
\n
Rewpert-G2 (no longer available)<\/em><\/h3>\n