Changeset 30044 for documentation/trunk
- Timestamp:
- 2015-07-20T18:06:13+12:00 (9 years ago)
- Location:
- documentation/trunk/tutorial_sample_files/beatles/advbeat_large/etc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/trunk/tutorial_sample_files/beatles/advbeat_large/etc/collect.cfg
r23547 r30044 27 27 plugin DirectoryPlugin 28 28 29 # (\ \s+[.*) in removesuffix is to remove eg [sound recording] from the Title. Greenstone escapes [] as they are used to represent metadata format elements, hence the use of [ instead of \\[ in the regex.30 classify AZCompactList -mingroup 1 -metadata dc.Title,Title -minnesting 20 -firstvalueonly -removesuffix "(?i)(\ \s+\\d+)|(\\s*[[:punct:]]\\s+.*)|(\\s+[.*)|(\\s*by the beatles\\s*)" -buttonname Title -removeprefix (?i)\\s*beatles\\s+\\-\\s+29 # (\s+[.*) in removesuffix is to remove eg [sound recording] from the Title. Greenstone escapes [] as they are used to represent metadata format elements, hence the use of [ instead of \[ in the regex. 30 classify AZCompactList -mingroup 1 -metadata dc.Title,Title -minnesting 20 -firstvalueonly -removesuffix "(?i)(\s+\d+)|(\s*[[:punct:]]\s+.*)|(\s+[.*)|(\s*by the beatles\s*)" -buttonname Title -removeprefix (?i)\s*beatles\s+\-\s+ 31 31 classify AZCompactList -metadata dc.Format -buttonname Browse -sort Title 32 32 # classify Phind -
documentation/trunk/tutorial_sample_files/beatles/advbeat_large/etc/collectionConfig.xml
r27928 r30044 165 165 <option name="-minnesting" value="20"/> 166 166 <option name="-firstvalueonly"/> 167 <option name="-removesuffix" value="(?i)(\ \s+\\d+)|(\\s*[[:punct:]]\\s+.*)|(\\s+&#091;.*)|(\\s*by the beatles\\s*)"/>167 <option name="-removesuffix" value="(?i)(\s+\d+)|(\s*[[:punct:]]\s+.*)|(\s+&#091;.*)|(\s*by the beatles\s*)"/> 168 168 <option name="-buttonname" value="Title"/> 169 <option name="-removeprefix" value="(?i)\ \s*beatles\\s+\\-\\s+"/>169 <option name="-removeprefix" value="(?i)\s*beatles\s+\-\s+"/> 170 170 </classifier> 171 171 <classifier name="AZCompactList">
Note:
See TracChangeset
for help on using the changeset viewer.