If the city conducting the proceedings is not a county and there is no newspaper published in the city or in the county in which such city is located, the notice, resolution, order or other matter required to be published shall be posted and kept posted for the same length of time required for the publication of the same in a newspaper, in three public places in the city. 5062.