Whenever in this division a notice, resolution, order or other matter is required to be published and the manner of such publication is not specified, it shall be published in a daily, semiweekly or weekly newspaper published and circulated in the city conducting the proceedings and which is selected by the legislative body for that purpose, or by the clerk or other officer issuing the notice or responsible for the publication where the legislative body has not selected any newspaper for that purpose.
If there is no daily, semiweekly or weekly newspaper published and circulated in the city, and if the city conducting the proceedings is not a county, the notice, resolution, order or other matter required to be published shall be published in some newspaper published in the county in which such city is located.
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.