The duplicate entries are created by the XML file without picture-URLs.
There are two custom fields in the items: If there is a picture, it has the custom field “imgid=###”.
with both of the files, the field is always “extid” generated with a unique, numerical value.
If there are two posts with the same value for the custom field “extid” and one of them has no value for “imgid”, I want to delete it.
Thanks for your help
Klaus