Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hNews parsing: should reject bad date items #5

Open
bcampbell opened this issue Jun 10, 2010 · 0 comments
Open

hNews parsing: should reject bad date items #5

bcampbell opened this issue Jun 10, 2010 · 0 comments

Comments

@bcampbell
Copy link

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 :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant