Getting Started with LOCKSS, Midge Coates, 2013-06/Step 3: Write the LOCKSS plugin.

From Adpnwiki
Revision as of 16:18, 15 January 2019 by CJohnson (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The plugin is a brief set of instructions that tell the LOCKSS daemon which files to harvest from the Web server. Here is a copy of Auburn University’s “generic” plugin for ingesting content into ADPNet.

ExampleAuburnUniversityGenericPluginXML.png

It's pretty plain vanilla, but it's been working for us. It basically tells the LOCKSS daemon to go to the AU's base URL, find the manifest, and harvest everything found in that folder (including sub-folders). You may be able to use this as-is. Check with the LOCKSS support folks to see if it will work for your collections/AUs.

To look at the generic plugin and/or use it as a template, open it in a program (like Dreamweaver or Notepad++) that displays xml and/or html. There’s an annotated version (with explanations of the various parts) on the ADPNet site at http://www.adpn.org/docs/pdf/ADPNAnnotation.pdf.