Robert Bala
-
2012-09-21
- milestone: --> Backlog
SPLIT attribute to split a read action by a regular expression (typically newline), thus easily converting a csv like file into a list of lines.
YOUNGERTHAN attribute used in conjunction with read action. example below:
file action="read" youngerthan="d:2,s:30,ms:10" path="path.txt"
-webharvest commands
/file
if the file is younger than the simple time notation, the body is executed instead of reading the actual file. This will allow for simple expressive file conditionals and things like easy caching.