- Timestamp:
- 2020-05-25T23:53:29+12:00 (4 years ago)
- Location:
- main/trunk/greenstone2/perllib
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/strings.properties
r33900 r34121 1141 1141 MetadataXMLPlugin.desc:Plugin that processes metadata.xml files. 1142 1142 1143 NutchTextDumpMARCXMLPlugin.keep_urls_file:File path or name of optional whitelist file containing one URL per line, whose records are to be retained when processing each url's record in the dump.txt files produced by nutch per website. Those records whose URLs are not listed in the file will be discarded. For relative paths, the plugin will look for the file in the collection's etc directory. 1144 1143 1145 GreenstoneMETSPlugin.desc:Process Greenstone-style METS documents 1144 1146 -
main/trunk/greenstone2/perllib/util.pm
r33757 r34121 1959 1959 1960 1960 1961 # Useful String utility functions 1962 # trim(str) removes whitespace at start and end of string parameter 1963 sub trim { 1964 my ($str) = @_; 1965 1966 # trim whitespace at start and end of str 1967 # https://perlmaven.com/trim 1968 $str =~ s/^\s+|\s+$//g; 1969 1970 return $str; 1971 } 1972 1961 1973 1;
Note:
See TracChangeset
for help on using the changeset viewer.