The tax collector shall, upon the recording of the assessment, give notice thereof by publication for five days in a daily newspaper, published and circulated in the city, or by two insertions in a weekly newspaper so published and circulated. If there is no such newspaper, the notice shall be given by posting in three public places in the city.