Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Based on the front page example, it looks like the database doesn't contain the comment structure (ie, what comments go with what article, and which comments parent others)

Am I missing something?



Sorry, top level posts don't have a parent. When that's null, it's excluded from the XML. Comments all have a ParentID. I just added ParentID to the example.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: