I've long wanted to do this, but don't have the api. This is much harder to do with pdfs