[BUGFIX] Check news item has UID before anything else
[TASK] Implement two-pass root line parsing

First pass: pid of news item to retrieve TS setting for pid.
Second pass: parsing TS root line based on pid from first pass.