Within ten days after the passage of any ordinance, the ordinance or a summary thereof shall be recorded by the clerk and published in a newspaper of general circulation; and the clerk shall, immediately after such publication, enter in the record of ordinances, in a blank space to be left for such purpose under the record of the ordinance, a certificate under his hand, stating the time and place of such publication. Such certificate shall be prima facie evidence of the due publication of the ordinance.