greenstone.org greenstone wiki greenstone trac planet greenstone

Ticket #300 (assigned new feature)

Opened 4 months ago

Last modified 2 months ago

Restructure base plugins

Reported by: kjdon Assigned to: kjdon (accepted)
Priority: low Milestone: Release 2.81
Component: Collection Building Severity: enhancement
Keywords: build-overhall Cc:

Description

Make a BasTxtPlug? and BasBinaryPlug?, both inherit from BasPlug?, then others inherit from these. Can we get rid of read in other plugins if we do this? Currently binary plugins need to overrise read so that the file is not read in.

Have a setting for whether hash ids should be generated by hashing on the file or by using the doc.xml. Txt ones will always hash on the file? Binary ones will often not want to hash on the file eg videos. But eg images may still want to. hashing archive file, ignore date. others??

Where does UnknownPlug? fit?

Change History

2008-05-19 10:54:16 changed by kjdon

  • owner changed from nobody to kjdon.
  • status changed from new to assigned.