All notices and other publications, required by law to be published in any county in which any part of a village is situated, may be published in any legal newspaper in or of general circulation in such village, and such publication shall have the same force and effect as it would have if published in every county in which any part of such village is situated.