Files | Directories

Command scanningcabinet

The scanning cabinet program is a server application to store scanned documents in Camlistore, and to manage them. It is a port of the application originally created by Brad Fitzpatrick:

The data schema is roughly as follows:

A scan is a permanode, with the node type: "scanningcabinet:scan". A scan's camliContent attribute is set to the actual image file. A scan also holds the "dateCreated" attribute, as well as the "document" attribute, which references the document this scan is a part of (if any).

A document is a permanode, with the node type: "scanningcabinet:doc". A document page, is modeled by the "camliPath:sha1-xxx" = "pageNumber" relation, where sha1-xxx is the blobRef of a scan. A document can also hold the following attributes: "dateCreated", "tag", "locationText", "title", "startDate", and "paymentDueDate".

Package Files

datastore.go handler.go main.go models.go tags.go templates.go


scancabThe scancab tool scans document and uploads them to the scanning cabinet Camlistore application.
uiTODO(steve.armstrong): Until app/scanningcabinet/handler.go handleUiFile() properly manages Content-Type, be sure to update it whenever adding a new file type to the pattern below.

Package main imports 32 packages (graph). Updated 2018-03-09. Refresh now. Tools for package owners.