nprapps / liveblog-standalone

NPR's liveblog rig 2.0
Other
6 stars 1 forks source link

Add stricter ArchieML parser #37

Closed thomaswilburn closed 4 years ago

thomaswilburn commented 4 years ago

We're currently having to anticipate some errors at a pre-parse stage--for example, the existing parser will happily replace properties it finds when a duplicate key, even if we think that should be an error (say when the text is missing an :end tag and it swallows the opening tag for a new post). We should fork the NYT parser to add additional strictness and throw errors when those problems occur.

thomaswilburn commented 4 years ago

Other enhancements to make: