This works like a charm. it also allowed me to generate a list of posts with table code because I could simply copy the postid's from the terminal. So I could easily check all posts and see if there were any problems. Akll was perfect, except some user generated formatting issues.
Thank you so much for providing this. If you happen to have this for other content types as well, then that would be very welcome.
What content types you interested in?