This plugin implements the BagIt 0.96 specification for creating and transmitting collections of files. The plugin adds an administrative interface that allows users to (a) generate and export Bags containing files on the site and (b) import already existing bags and make their content available through the Dropbox interface.
The BagIt plugin requires the Archive_Tar php module.
- Upload the BagIt plugin directory to the plugins directory of your Omeka installation. See the Installing a Plugin page for details.
-
Go to the plugins management interface by clicking on the "Settings" tab at the top right of the administrative interface and selecting the "Plugins" tab.
-
Click the green "Install" button in the listing for the BagIt plugin.
The BagIt plugin lets you create and edit an indefinite number of "File Collections," arbitrary groupings of files that are native to the BagIt plugin and won't affect the presentation of association of the files elsewhere in Omeka. This makes it possible to assemble different combinations of files and export them as bags at any point.
To create a bag:
-
Click on the "BagIt" link in the main adminstrative menu along the top of the screen.
-
Before you can export a bag, you have to create at least one File Collection. Enter a name for the collection in the text box and click "Create Collection." By default, the exported bag will have the same name as the collection, but you can override this convention and enter a different name for the exported bag during the export workflow.
-
Click the "Add Files" button to associate files with the collection. This takes you to a listing of all of the files on the site. Select files that you want to add to the bag and click the "Update Bag" to save the changes. If you select files and then navigate to another page in the listings without clicking the update button, the selections will not be saved. Use the "Remove All Files" buttons to completely empty the bag of all files and the "Add All Files" to add all of the files on the site to the bag.
-
To delete a File Collection, click the red "Delete" button and confirm that you want to delete the collection.
-
To export the collection as a BagIt bag, you can either click directly on the "Create Bag" button in the file collections browser or click on the name of the collection, which takes you to a summary page that displays the files in the collection and allows you to remove unwanted files. Click on the "Create Bag" button to continue.
-
Enter a name for the exported bag file. By default, this is the name of the collection.
-
Click on the link to download the bag.
-
Click on the "Import a Bag" tab. In order to process the unpacked files, you need to have the Dropbox plugin installed and activated. If Dropbox is missing, you will see an error message.
-
Click the "Choose File," button select the bag file, and click the "Upload" button.