Opened 17 years ago

Closed 14 years ago

#113 closed enhancement (fixed)

Associated files request

Reported by: oranfry Owned by: nobody
Priority: moderate Milestone: Collection building wishlist
Component: Collection Building Severity: enhancement
Keywords: Cc:


Associated files: here is the request:

The Contemporary African Music and Arts Archive ( is planning to do an interesting Greenstone collection. They want to make extensive use of the "associated files" mechanism that David put in. But there is a problem, a single document may have several associated files of the same type (e.g. movies), and the mechanism doesn't currently allow that, right? A file X.doc can have associated files, X.jpg, etc, but not more than one of the same type.

Is it possible for us to extend the mechanism so that you can put in some kind of regular expression, so that you could associate,, with a single document X.doc? Of course they would need to establish the corresponding file naming convention, but that is no problem in their situation.

(I presume that associated files appear as metadata elements, and can be included in format statements, and that multiple files will appear as multiple-valued metadata, and that the parent/sibling mechanism can be used to get at the individual metadata values for use in format statements. Right?)

Change History (2)

comment:1 by kjdon, 15 years ago

Milestone: Collection building wishlist
Severity: enhancement

we have associate_tail_re which does exactly this.

however, I don't know if the resulting metadata will work as they want...

comment:2 by kjdon, 14 years ago

Resolution: fixed
Status: newclosed

I think this is done now.

Note: See TracTickets for help on using tickets.