Difference between revisions of "Getting Started with LOCKSS, Midge Coates, 2013-06/Step 3: Write the LOCKSS plugin."

From Adpnwiki
Jump to navigation Jump to search
 
Line 3: Line 3:
 
[[Image:ExampleAuburnUniversityGenericPluginXML.png]]
 
[[Image: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 page|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.
+
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 page|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.
 
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.

Latest revision as of 16:18, 15 January 2019

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.