Giving the fact that HTML is not structured, I think it is impossible without AI. Once everyone use XML, may be... It's impossible to do it it in a totally robust fashion without human intelligence, but doing it in a way that actually works with a lot of sites may not be too hard.