parse time if not null
only look at namespace 0 (content pages)
Avoid double-buffering writes. Fixes #1