Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Newspaper Batch can only be used with an existing Newspaper object (islandora:newspaperCModel).
    • Go to http://localhost:8000 and log in
    • Navigation > Islandora Repository 
    • Click on the Newspaper Collection
    • Click Manage tab 
    • Click Add an object to this Collection
    • Use the default content model Islandora Newspaper Content Model
    • You can use a MARCXML to fill in the last page or click next (MARCXML file If you have MARCXML to submit, select the file, upload it, and click Next. If you do not have MARCXML, just click Next (MARCXML is not required at this step).
    • If you do not want this option to appear again, disable the "Islandora MARCXML" module.
    • Title is the only "required" field at this stage
    • Click ingest and it should confirm your ingest
  • Newspaper Batch uses the value in the MODS dateIssued field on each issue to populate the issue browsing display for newspaper. The data in this field must be formatted as YYYY-MM-DD. If only YYYY is entered, the interface will use the current month and day for the issue.

...

If you have many ZIP files to ingest, or if the ZIP files are too large to ingest through the interface, you can also batch ingest newspapers from the Drupal command line with Drush.
To use the ZIP pre-processor from Drush:
(see
First, preprocess the zip file(s).
(For a full list of the command-line parameters, see "drush help islandora_newspaper_batch_preprocess for additional parameters"):

drush -v -u 1 --uri=http://localhost islandora_newspaper_batch_preprocess --type=directory --target=/path/to/issues --namespace=dailyplanet --parent=islandora:dailyplanet

This will populate the queue (stored in the Drupal database) with PID entries. Note that the --parent parameter must be a newspaper title object, not an issue object or a collection object.You can then

Second, process all items in the batch queue:

...