Background: I am working with an Exhibit project that has three types of things: Publication, Author, and Text. The first two types are part of a Babel-converted BibTeX file (generated from Zotero), so represent modern studies and authors. The third type, Text, describes sixty-plus writings of an ancient author who is the subject of study of the items filed under Publication and Author.
Each Text is assigned a unique four-digit number. Many Publication items in the property .keywords refer to this four-digit number as part of a longer string. To take an example: a Text is assigned "2430" under .label, and several Publications have properties for .keywords that read, e.g., "2430 edition" or "2430 translation German". So here's the chore before me. I am working on programming an Exhibit lens for Text. I want to invoke Publications that refer to a given Text. If there was an *exact* match between Text.label and Publication.keywords I would do this like so: <span ex:content=".label! keywords"></span>. But how do I rephrase this command to ask for ! keywords that contain .label, or contain .label concatenated with " edition" (to avoid Publications that deal only with translations)? An earlier discussion on this forum about contains(...) seems to presume operations only upon the same type of item. Any insight would be appreciated! -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
