Finally we found what the double posting error was.... hrm... seems that I have quite a few additional plugins added to Firefox and one of them, I would guess - FasterFox - are generating this little error. When trying running the php script directly from command line on the server this double posting didn't occur.
So this means that we have at least imported 3199 OS2 Software news articles. I will import the rest of the articles tonight.