Direct polycondensation of hydroxybenzoic acids with thionyl chloride in pyridine