Skip to content
This repository was archived by the owner on Dec 30, 2025. It is now read-only.
This repository was archived by the owner on Dec 30, 2025. It is now read-only.

hNews parsing: should reject bad date items #5

@bcampbell

Description

@bcampbell

eg, on:
http://www.eastvalleytribune.com/local/article_aab4f0f6-725b-11df-85ae-001cc4c002e0.html

There is a class="updated" element, which doesn't use the datetime-design-pattern.
The returned json looks like:

"updated": "Updated: 2:41 pm, Tue Jun 8, 2010."

I think the parser should reject such malformed items (preferably with the option of logging an error message so I can write a decent validator some time :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions