Ask YC: How would you detect a page type?
https://news.ycombinator.com/item?id=172886Hi. If you were creating a script which searched for forums, or detected blogs etc how would you do it? We're working on a system that crawls websites and it would be great to be able to say "this is a blog" or "this is a news site" or "this is a forum". Any suggestions on how to do it?