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

"... I had problems finding stories from before the switch to putting all comments and news stories on item?id=x, because a search would go to a broken link. ..."

Deleted node probably. Means it's been deleted or removed by user and/or was probably edited because it was "spammish" or poor quality in nature.

"... so if you find a story with a broken link, you can just switch comment?id=x to item?id=x. ..."

This one I noted after some changes in the code probably about 2 months after I started using it. I save all my posts and the links started breaking (link checking). The term was changed from 'comment' to 'item' (guessing) because it was shorter.



Before the update, items were broken down into 'comment' and 'link' (not sure if link was the object, it might have been news) but their ID numbers didn't overlap so I assume PG combined them because their was no reason not to, except for breaking old links.

The links I was trying to find weren't actually deleted, I just wasn't finding them because I only recently figured out I need to change the link to 'item?id='


"... tems were broken down into 'comment' and 'link' (not sure if link was the object, it might have been news) but their ID numbers didn't overlap so I assume PG combined them because their was no reason not to, except for breaking old links. ..."

Thanks for that explanation. Hadn't taken the time to work this out.




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

Search: