Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import NITF files #4

Open
hvelarde opened this issue Apr 13, 2012 · 0 comments
Open

import NITF files #4

hvelarde opened this issue Apr 13, 2012 · 0 comments

Comments

@hvelarde
Copy link
Owner

Motivation

In order to support migration from deferent legacy systems we need a general mechanism to import data from various sources. Instead of writing a different version for each system we want to use NITF and probably NewsML which are news industry standards. This way the work needed is only at the legacy system.

Assumptions

All XML files must be valid. We are going to deal only with fields defined in collective.nitf. In case of any error or inconsistence we are just going to skip the object.

Proposal & Implementation

The implementation should be something like this:

  • the XML files must be located somewhere in the file system and they must be accessible from the Plone instance
  • read and process the files
  • create one NITF object for every XML file
  • create one Image, Link or File object inside the NITF for every media included in the XML file
  • reindex the new objects

Deliverables

At the end we must have 2 transmogrifier pipeline sections: one source that will read the XML files and will convert them in a list of dictionaries including all the data we need, and another that will deal with the media included in the XML file.

The sections must be fully configurable and they must discard any data that is inconsistent.

Risks

None identified.

@ghost ghost assigned nueces Apr 13, 2012
This was referenced Apr 13, 2012
@nueces nueces mentioned this issue Apr 23, 2012
@nueces nueces removed their assignment Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants