support parsing article date from directory names in addition to file name.