{"id":321614,"date":"2021-04-17T15:00:26","date_gmt":"2021-04-17T15:00:26","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=321614"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=321614","title":{"rendered":"Google Sheets \u2014 \u043a\u0430\u043a \u0440\u0430\u0437\u043d\u043e\u043f\u043b\u0430\u043d\u043e\u0432\u044b\u0439 \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a \u0434\u043b\u044f \u043d\u0435\u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u0437\u0430\u0434\u0430\u0447 \u0438\u043b\u0438 \u043a\u0430\u043a \u044f \u0434\u0435\u043b\u0430\u043b \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440 \u0444\u0443\u0442\u0431\u043e\u043b\u044c\u043d\u044b\u0439 \u043c\u0430\u0442\u0447\u0435\u0439"},"content":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<p>\u041b\u0435\u0436\u0443 \u044f \u043d\u043e\u0447\u044c\u044e, \u043f\u044b\u0442\u0430\u044e\u0441\u044c \u0443\u0441\u043d\u0443\u0442\u044c. \u0418 \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e \u0442\u044b\u0441\u044f\u0447\u0430 \u043c\u044b\u0441\u043b\u0435\u0439, \u0438 \u0441\u0440\u0435\u0434\u0438 \u043d\u0438\u0445 \u044f \u0441\u0443\u043c\u0435\u043b \u0437\u0430\u0446\u0435\u043f\u0438\u043b\u0441\u044f \u0437\u0430 \u043e\u0434\u043d\u0443. \u0410 \u0437\u0432\u0443\u0447\u0430\u043b\u0430 \u043e\u043d\u0430 \u0442\u0430\u043a: &#171;\u043f\u043e\u0447\u0435\u043c\u0443 \u0431\u044b \u043d\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430 \u0444\u0443\u0442\u0431\u043e\u043b\u044c\u043d\u044b\u0445 \u043c\u0430\u0442\u0447\u0435\u0439, \u0433\u0434\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043b\u0438\u0448\u044c \u0432\u0432\u0435\u0441\u0442\u0438 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 \u0438\u0433\u0440\u044b \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432\u044b\u0431\u043e\u0440\u043a\u0443 \u0438\u0437 \u0438\u0445 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u043e\u0431\u0449\u0435\u0439 \u0438 \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435, \u0447\u0435\u0433\u043e \u0436\u0434\u0430\u0442\u044c \u0432 \u0433\u0440\u044f\u0434\u0443\u0449\u0435\u043c \u043c\u0430\u0442\u0447\u0435&#187;.  \u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u043f\u043e\u0447\u0435\u043c\u0443 \u043d\u0435\u0442?!<\/p>\n<p>\u041d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0434\u0435\u043d\u044c, \u043a\u043e\u0433\u0434\u0430 \u044f \u043f\u0440\u043e\u0441\u043d\u0443\u043b\u0441\u044f, \u044f \u043f\u0435\u0440\u0432\u044b\u043c \u0436\u0435 \u0434\u0435\u043b\u043e\u043c \u043f\u043e\u0448\u0435\u043b \u0433\u0443\u0433\u043b\u0438\u0442\u044c, \u0435\u0441\u0442\u044c \u043b\u0438 \u0442\u0430\u043a\u043e\u0435 \u0441\u0435\u0439\u0447\u0430\u0441, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u043e, \u0447\u0442\u043e \u0432 \u043d\u0430\u0448\u0435\u043c \u043c\u0438\u0440\u0435 \u044d\u0442\u043e \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u0430\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u0437\u0430\u0442\u0435\u044f (\u0442\u0430 \u043b\u0430\u0434\u043d\u0430!?). \u041d\u043e \u044f \u0442\u043e \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0445\u043e\u0442\u0435\u043b \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u0438 \u0434\u0435\u043b\u0438\u0442\u044c \u0447\u0438\u0441\u043b\u0430 \u0438\u0437 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438, \u043c\u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0444\u0430\u043a\u0442\u043e\u0440\u044b \u0441\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043c\u0435\u0440\u043e\u043f\u0440\u0438\u044f\u0442\u0438\u044f, \u0430 \u0438\u0445 \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e. <\/p>\n<p>\u0413\u0443\u0433\u043b \u0434\u0430\u043b \u0441\u0432\u043e\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442, \u0432\u043f\u0440\u043e\u0447\u0435\u043c \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430. \u042f \u043d\u0430\u0448\u0435\u043b \u043a\u0443\u0447\u0443 \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u043e\u0432 \u0441\u0442\u0430\u0432\u043e\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u043e\u0434\u0430\u0435\u0442\u0441\u044f \u0437\u0430 3-5\u043a \u0440\u0443\u0431\u043b\u0435\u0439, \u0438 \u043f\u0440\u043e\u0447\u0438\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0440\u0430\u0441\u0447\u0435\u0442\u043e\u0432 \u0432 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u0435. \u042f \u043a\u0430\u043a \u0431\u044b \u0438 \u0442\u0430\u043a \u043f\u043e\u043c\u043d\u0438\u043b \u0440\u0430\u0441\u0447\u0435\u0442\u044b \u0442\u043e\u0442\u0430\u043b\u043e\u0432 \u0433\u043e\u043b\u043e\u0432, \u043d\u043e \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0438\u0445 \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0446\u0435\u043b\u043e\u0433\u043e &#171;\u043c\u0430\u0433\u0430\/\u043a\u043e\u043b\u0434\u0443\u043d\u0430\/\u0432\u0430\u043d\u0433\u0443&#187; \u0441\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u044b\u0445 \u0441\u043e\u0431\u044b\u0442\u0438\u0439. \u0418\u043b\u0438 \u0445\u043e\u0442\u044f \u0431\u044b \u0444\u043e\u0440\u043c\u0443\u043b\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u044b\u0434\u0430\u0441\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u043e\u0441\u043b\u0435 \u0432\u0432\u043e\u0434\u0430 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<h2>\u042d\u0442\u043e \u0447\u0442\u043e, \u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0430\u0440\u0441\u0435\u0440?!<\/h2>\n<p>\u041c\u043d\u0435 \u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0441\u0438\u043b\u044c\u043d\u043e \u0443\u0433\u043b\u0443\u0431\u043b\u044f\u0442\u044c\u0441\u044f \u0432 \u043a\u043e\u0434. \u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u044f \u043d\u0435 \u043a\u043e\u0434\u0435\u0440, \u0430 \u0441\u043a\u043e\u0440\u0435\u0435 \u0447\u0435\u043b\u043e\u0432\u0435\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441 \u043d\u0438\u043c \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u0440\u0430\u0431\u043e\u0442\u0435, \u0438 \u0441\u043e\u0432\u0441\u0435\u043c \u0447\u0443\u0442\u044c-\u0447\u0443\u0442\u044c \u0432 \u043d\u0435\u043c \u043c\u043e\u0436\u0435\u0442 \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f. \u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u043c\u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0431\u044b\u043b\u043e \u043b\u0435\u043d\u044c, \u044f \u0438\u0441\u043a\u0430\u043b \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f. \u0418 \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u043b, \u0447\u0442\u043e \u0447\u0443\u0434\u043e Google Sheets \u043c\u043e\u0436\u0435\u0442 \u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0447\u043a\u0438, xml, html-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b, \u0438 \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442 \u0444\u043e\u0440\u043c\u0443\u043b\u0430\u043c\u0438: IMPORTDATA, IMPORTFEED, IMPORTHTML, IMPORTXML. \u0412\u043e\u0442 <a href=\"https:\/\/support.google.com\/docs\/table\/25273?hl=ru&amp;ref_topic=9199554\" rel=\"noopener noreferrer nofollow\">\u0441\u0441\u044b\u043b\u043a\u0430<\/a> \u043d\u0430 \u0441\u043f\u0440\u0430\u0432\u043a\u0443 \u0433\u0443\u0433\u043b\u0430, \u0442\u0430\u043c \u0432\u0441\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u043e, \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u044d\u0442\u043e\u043c \u044f \u043f\u043e\u0436\u0430\u043b\u0443\u0439 \u043d\u0435 \u0431\u0443\u0434\u0443.<\/p>\n<p>\u041d\u0430\u0448\u0435\u043b \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0444\u0443\u0442\u0431\u043e\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438, \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u043e\u0447\u0435\u043d\u044c \u0441\u043b\u043e\u0436\u043d\u043e. \u0412\u0435\u0434\u044c \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0440\u0430\u0437\u043e\u043a, \u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u043c\u043e\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0444\u0443\u0442\u0431\u043e\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0442\u0447\u0438 \u0438\u0434\u0443\u0442 \u0438 \u0438\u0434\u0443\u0442, \u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0443\u0436\u043d\u043e \u0430\u043a\u0442\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u041e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u043d\u0430 \u0437\u0430\u0440\u0443\u0431\u0435\u0436\u043d\u043e\u043c \u0441\u0431\u043e\u0440\u0438\u0449\u0435 \u0444\u0443\u0442\u0431\u043e\u043b\u044c\u043d\u043e\u0439 \u0438\u043d\u0444\u044b fbref.com, \u0432\u0441\u0435 \u0432 \u043d\u0435\u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0445 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u0445 2002 \u0433\u043e\u0434\u0430. &#171;\u041a\u0430\u043a \u0440\u0430\u0437 \u0442\u043e, \u0447\u0442\u043e \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e!&#187;, &#8212; \u0432\u0441\u043a\u0440\u0438\u043a\u043d\u0443\u043b \u044f, \u043f\u043e\u0441\u043b\u0435 3-\u0435\u0433\u043e \u0447\u0430\u0441\u0430 \u0440\u0435\u0441\u0435\u0440\u0447\u0430 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u0412\u0435\u0434\u044c \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u0431\u044b\u043b\u0438 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u0435, \u0430 \u0432\u0441\u044f\u043a\u0438\u0435 XG, XGa \u0438 \u043f\u0440\u043e\u0447\u0438\u0435 \u0440\u0430\u0434\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0444\u0443\u0442\u0431\u043e\u043b\u044c\u043d\u044b\u0445 &#171;\u0430\u043d\u0430\u043b\u0438\u0441\u0442\u043e\u0432&#187;. \u0414\u0430\u043b\u0435\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e API Google Sheets \u0438 query \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432, \u043f\u043e \u0441\u0443\u0442\u0438 \u0443\u0440\u0435\u0437\u0430\u043d\u043d\u044b\u043c sql, \u044f \u043a\u0438\u0434\u0430\u043b\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0438\u0437 \u0432\u043a\u043b\u0430\u0434\u043a\u0438 \u0432\u043e \u0432\u043a\u043b\u0430\u0434\u043a\u0443, \u0440\u0430\u0437\u0431\u0438\u0432\u0430\u044f \u043d\u0430 \u0442\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u043d\u0443\u0436\u043d\u044b \u0434\u043b\u044f \u0440\u0430\u0441\u0447\u0435\u0442\u043e\u0432. <\/p>\n<h2>\u0421\u0435\u043a\u0443\u043d\u0434\u0443, \u0430 \u043a\u0430\u043a \u044f \u0438\u043d\u0444\u0443 \u0438\u0437 Google Sheets \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0441\u043c\u043e\u0433\u0443 \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c?!<\/h2>\n<p>\u0414\u0430, \u044d\u0442\u043e\u0442 \u0432\u043e\u043f\u0440\u043e\u0441 \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u0445 \u0434\u043d\u0435\u0439 \u043a\u043e\u0432\u044b\u0440\u044f\u043d\u0438\u044f \u0432 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u0441\u0435\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u044f \u0441\u0443\u043c\u0435\u043b \u0441\u043f\u0430\u0440\u0441\u0438\u0442\u044c. \u0418 \u044f \u0447\u0443\u0442\u043a\u0430 \u043f\u0440\u0438\u0443\u043d\u044b\u043b, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u043e\u043c\u043d\u0438\u043b, \u0447\u0442\u043e \u043c\u043e\u0433\u0443 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0430\u0439\u0444\u0440\u0435\u0439\u043c\u043e\u043c. \u041d\u043e, \u0447\u0435\u0440\u0442 \u0432\u043e\u0437\u044c\u043c\u0438, \u044d\u0442\u043e \u0442\u0430\u043a \u043d\u0435\u043a\u0440\u0430\u0441\u0438\u0432\u043e \u0438 \u043f\u043e\u043f\u0430\u0445\u0438\u0432\u0430\u0435\u0442 \u043f\u0440\u043e\u0448\u043b\u044b\u043c \u0432\u0435\u043a\u043e\u043c. \u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043a\u043e\u0432\u044b\u0440\u044f\u0442\u044c\u0441\u044f \u0434\u0430\u043b\u044c\u0448\u0435. \u0411\u043b\u043e\u0433, \u043a\u0443\u0434\u0430 \u044f \u0445\u043e\u0442\u0435\u043b \u044d\u0442\u043e \u0432\u0441\u0435 \u0437\u0430\u0441\u0443\u043d\u0443\u0442\u044c, \u0443 \u043c\u0435\u043d\u044f \u0441\u0442\u043e\u0438\u0442 \u043d\u0430 \u043e\u0431\u044b\u043a\u043d\u043e\u0432\u0435\u043d\u043d\u043e\u043c WordPress, \u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0430\u0434\u0435\u043a\u0432\u0430\u0442\u043d\u044b\u0439 \u043f\u043b\u0430\u0433\u0438\u043d, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0432\u043e\u0434\u0438\u043b \u0431\u044b \u0438\u043d\u0444\u0443 \u0432 \u043a\u0440\u0430\u0441\u0438\u0432\u043e\u043c \u0432\u0438\u0434\u0435 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0443\u043b\u044c\u0442\u0440\u0430-\u0441\u043b\u043e\u0436\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u0435\u0449\u0451 \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u0430\u0434\u0435\u043a\u0432\u0430\u0442\u043d\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e. \u0412 \u0438\u0442\u043e\u0433\u0435, \u044f \u043d\u0430\u0448\u0435\u043b, \u0434\u0430\u0436\u0435 \u0441 \u044d\u0441\u0442\u0435\u0442\u0438\u043a\u043e\u0439 \u0432\u044b\u0432\u043e\u0434\u0438\u043c\u044b\u0445 \u0442\u0430\u0431\u043b\u0438\u0446 \u044f \u0441\u043c\u0438\u0440\u0438\u043b\u0441\u044f. \u0412\u0437\u044f\u043b \u043f\u043b\u0430\u0433\u0438\u043d <a href=\"https:\/\/ru.wordpress.org\/plugins\/inline-google-spreadsheet-viewer\/\" rel=\"noopener noreferrer nofollow\">Inline Google Spreadsheet Viewer<\/a>. \u0411\u0430\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0434\u043e \u043d\u0435\u043b\u044c\u0437\u044f, \u043d\u043e \u0432\u0441\u0435 \u0436\u0435, \u043c\u043e\u0438 \u0442\u0430\u0431\u043b\u0438\u0447\u043a\u0438 \u043f\u043e \u043a\u0440\u0430\u0439\u043d\u0435\u0439 \u043c\u0435\u0440\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b\u0438 \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u0441\u0442\u044b\u0434\u043d\u043e:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/557\/104\/933\/5571049339ab52cd78587f5f4666e02a.png\" width=\"1648\" height=\"507\"><figcaption><\/figcaption><\/figure>\n<h2>\u041f\u0444\u0444, \u044f \u0447\u0442\u043e \u043d\u0435 \u0441\u043c\u043e\u0433\u0443 \u043d\u0430\u0439\u0442\u0438 \u0441\u043a\u0440\u0438\u043f\u0442 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 Google Sheets?<\/h2>\n<p>\u041d\u0435 \u0441\u043c\u043e\u0433\u0443. \u041f\u043e\u0442\u0440\u0430\u0447\u0435\u043d\u043e \u043a\u0443\u0447\u0443 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u043f\u043e\u0438\u0441\u043a, \u0432\u0435\u0441\u044c \u0441\u0442\u044d\u043a\u043e\u0444\u0435\u0440\u0444\u043b\u043e\u0443 \u0438 \u0433\u0438\u0442\u0445\u0430\u0431 \u0440\u0443\u0441\u0441\u043a\u043e\u044f\u0437\u044b\u0447\u043d\u044b\u0439, \u0430\u043d\u0433\u043b\u043e\u044f\u0437\u044b\u0447\u043d\u044b\u0439, \u0432\u0441\u0435 \u043f\u0435\u0440\u0435\u0440\u044b\u043b \u0432\u0434\u043e\u043b\u044c \u0438 \u043f\u043e\u043f\u0435\u0440\u0451\u043a. \u0414\u0443\u043c\u0430\u043b \u044f =). \u0410 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u044f \u0431\u044b\u043b \u0440\u044f\u0434\u043e\u043c \u0441 \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c \u043c\u043e\u0435\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u043b\u0430\u0441\u044c \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c: \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0434\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432\u044b\u0431\u043e\u0440\u0430 \u0444\u0443\u0442\u0431\u043e\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e, \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u044d\u0442\u043e \u0431\u0443\u0434\u0443 \u044f (\u0438\u0431\u043e \u0442\u0440\u0430\u0444\u0438\u043a\u0430 \u043d\u0430 \u0431\u043b\u043e\u0433\u0435 \u043e\u0441\u043e\u0431\u043e \u043d\u0435\u0442, \u0434\u0430 \u0438 \u044f \u043d\u0435 \u043f\u0430\u0440\u044e\u0441\u044c), \u0438 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c, \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0438\u0445 \u0432 Google Sheets \u043f\u043e API. \u0427\u0442\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043b\u0435\u0433\u043a\u043e.<\/p>\n<p>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u043c\u043e\u0435\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0431\u044b\u043b\u043e \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u0434 \u043d\u043e\u0441\u043e\u043c. \u041d\u0430 \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0442\u044b\u0441\u044f\u0447\u0438 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043d\u044b\u0445 \u043c\u043d\u043e\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u0431\u044b\u043b \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a &#171;\u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u043d\u0430 \u043f\u043e\u0447\u0442\u0443 \u0447\u0435\u0440\u0435\u0437 html \u0444\u043e\u0440\u043c\u0443, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f Google Apps&#187;. \u041d\u043e \u043a\u0430\u043a \u0438 \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 999 \u0441\u0442\u0440\u0430\u043d\u0438\u0446, \u044f \u043f\u043e\u0434\u0443\u043c\u0430\u043b, \u0447\u0442\u043e \u044d\u0442\u043e \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f \u043a\u043e \u043c\u043d\u0435, \u0430 \u0432\u0435\u0434\u044c \u044f \u0431\u044b\u043b \u043d\u0435 \u043f\u0440\u0430\u0432. <\/p>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0432\u0435\u0442\u043a\u0435 \u0431\u044b\u043b\u043e \u043f\u043e\u0432\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0435 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0444\u043e\u0440\u043c\u044b \u043d\u0430 \u043f\u043e\u0447\u0442\u0443, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0445\u0440\u0430\u043d\u044f \u0438\u043d\u0444\u0443 \u0432 Google Sheets, \u0447\u0442\u043e \u044f \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0443\u043f\u0443\u0441\u0442\u0438\u043b. \u0418 \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u0440\u0435\u0437\u0430\u0442\u044c \u0432 \u044d\u0442\u043e\u043c \u0434\u043b\u0438\u043d\u043d\u043e\u043c \u043f\u0443\u0442\u0438 \u043a \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u043f\u043e\u0447\u0442\u0443, \u0432\u0438\u0434\u044c \u0438\u043d\u0444\u0430 \u0441 \u0444\u043e\u0440\u043c\u044b \u043d\u0430 \u043f\u043e\u0447\u0442\u0435 \u043c\u043d\u0435 \u0442\u043e\u0447\u043d\u043e \u043d\u0435 \u043d\u0443\u0436\u043d\u0430, \u0438 \u043a\u0443\u0447\u0430 \u0438\u043d\u0444\u044b \u0442\u0435\u043c \u0431\u043e\u043b\u0435\u0435. \u0418 \u044f \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u043f\u0440\u043e\u0441\u0442\u043e \u0442\u0430\u043a \u0438 \u0441\u0434\u0435\u043b\u0430\u043b. \u0418 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0441\u043b\u043e\u043c\u0430\u043b, \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u0432\u0435\u043b\u0438\u043a\u043e\u043b\u0435\u043f\u043d\u044b\u043c, \u0438\u0431\u043e \u0431\u044b\u043b \u0437\u0430\u043f\u0430\u0441\u043d\u043e\u0439 \u043f\u043b\u0430\u043d \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043b\u0435\u0432\u0443\u044e \u043f\u043e\u0447\u0442\u0443 \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u0435\u044f\u043d\u0438\u0439, \u0438 \u0437\u0430\u0441\u043e\u0440\u044f\u0442\u044c \u0443\u0436\u0435 \u0435\u0451 \u0441\u043f\u0430\u043c\u043e\u043c. <\/p>\n<p>\u041d\u0438\u0436\u0435 \u044f \u0434\u043e\u0431\u0430\u0432\u043b\u044e \u0432\u0435\u0441\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043a\u043e\u0434. \u041d\u0435 \u0437\u043d\u0430\u044e, \u043c\u043e\u0433\u0443 \u043b\u0438 \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u043d\u0435 \u0441\u0432\u043e\u0439 \u043a\u043e\u0434, \u043d\u043e \u043f\u043e\u0434 \u043f\u043e\u0441\u0442\u043e\u043c \u043e\u0441\u0442\u0430\u0432\u043b\u044e \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a, \u0438\u0431\u043e \u0442\u0430\u043c \u0435\u0441\u0442\u044c \u0435\u0449\u0451 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u0430\u044f \u0434\u043e\u0441\u043a\u043e\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f. \u0414\u0430 \u0438 \u0432\u0435\u0441\u044c \u043a\u043e\u0434 \u0437\u0430\u043a\u043e\u043c\u0435\u043d\u0447\u0435\u043d, \u0437\u0430 \u0447\u0442\u043e \u0430\u0432\u0442\u043e\u0440\u0443 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e. \u0418 Google Apps Script \u0441 \u044d\u0442\u0438\u043c \u0432\u0441\u0435\u043c \u0441\u043f\u0440\u0430\u0432\u0438\u043b\u0441\u044f \u043d\u0430 \u0443\u0440\u0430.<\/p>\n<pre><code>\/******************************************************************************  * This tutorial is based on the work of Martin Hawksey twitter.com\/mhawksey  *  * But has been simplified and cleaned up to make it more beginner friendly   *  * All credit still goes to Martin and any issues\/complaints\/questions to me. *  ******************************************************************************\/  \/\/ if you want to store your email server-side (hidden), uncomment the next line \/\/ var TO_ADDRESS = \"example@email.net\";  \/\/ spit out all the keys\/values from the form in HTML for email \/\/ uses an array of keys if provided or the object to determine field order function formatMailBody(obj, order) {   var result = \"\";   if (!order) {     order = Object.keys(obj);   }      \/\/ loop over all keys in the ordered form data   for (var idx in order) {     var key = order[idx];     result += \"&lt;h4 style='text-transform: capitalize; margin-bottom: 0'&gt;\" + key + \"&lt;\/h4&gt;&lt;div&gt;\" + sanitizeInput(obj[key]) + \"&lt;\/div&gt;\";     \/\/ for every key, concatenate an `&lt;h4 \/&gt;`\/`&lt;div \/&gt;` pairing of the key name and its value,      \/\/ and append it to the `result` string created at the start.   }   return result; \/\/ once the looping is done, `result` will be one long string to put in the email body }  \/\/ sanitize content from the user - trust no one  \/\/ ref: https:\/\/developers.google.com\/apps-script\/reference\/html\/html-output#appendUntrusted(String) function sanitizeInput(rawInput) {    var placeholder = HtmlService.createHtmlOutput(\" \");    placeholder.appendUntrusted(rawInput);       return placeholder.getContent();  }  function doPost(e) {    try {     Logger.log(e); \/\/ the Google Script version of console.log see: Class Logger     record_data(e);          \/\/ shorter name for form data     var mailData = e.parameters;      \/\/ names and order of form elements (if set)     var orderParameter = e.parameters.formDataNameOrder;     var dataOrder;     if (orderParameter) {       dataOrder = JSON.parse(orderParameter);     }          \/\/ determine recepient of the email     \/\/ if you have your email uncommented above, it uses that `TO_ADDRESS`     \/\/ otherwise, it defaults to the email provided by the form's data attribute     var sendEmailTo = (typeof TO_ADDRESS !== \"undefined\") ? TO_ADDRESS : mailData.formGoogleSendEmail;          \/\/ send email if to address is set     if (sendEmailTo) {       MailApp.sendEmail({         to: String(sendEmailTo),         subject: \"Contact form submitted\",         \/\/ replyTo: String(mailData.email), \/\/ This is optional and reliant on your form actually collecting a field named `email`         htmlBody: formatMailBody(mailData, dataOrder)       });     }      return ContentService    \/\/ return json success results           .createTextOutput(             JSON.stringify({\"result\":\"success\",                             \"data\": JSON.stringify(e.parameters) }))           .setMimeType(ContentService.MimeType.JSON);   } catch(error) { \/\/ if error return this     Logger.log(error);     return ContentService           .createTextOutput(JSON.stringify({\"result\":\"error\", \"error\": error}))           .setMimeType(ContentService.MimeType.JSON);   } }   \/**  * record_data inserts the data received from the html form submission  * e is the data received from the POST  *\/ function record_data(e) {   var lock = LockService.getDocumentLock();   lock.waitLock(30000); \/\/ hold off up to 30 sec to avoid concurrent writing      try {     Logger.log(JSON.stringify(e)); \/\/ log the POST data in case we need to debug it          \/\/ select the 'responses' sheet by default     var doc = SpreadsheetApp.getActiveSpreadsheet();     var sheetName = e.parameters.formGoogleSheetName || \"responses\";     var sheet = doc.getSheetByName(sheetName);          var oldHeader = sheet.getRange(1, 1, 1, sheet.getLastColumn()).getValues()[0];     var newHeader = oldHeader.slice();     var fieldsFromForm = getDataColumns(e.parameters);     var row = [new Date()]; \/\/ first element in the row should always be a timestamp          \/\/ loop through the header columns     for (var i = 1; i &lt; oldHeader.length; i++) { \/\/ start at 1 to avoid Timestamp column       var field = oldHeader[i];       var output = getFieldFromData(field, e.parameters);       row.push(output);              \/\/ mark as stored by removing from form fields       var formIndex = fieldsFromForm.indexOf(field);       if (formIndex &gt; -1) {         fieldsFromForm.splice(formIndex, 1);       }     }          \/\/ set any new fields in our form     for (var i = 0; i &lt; fieldsFromForm.length; i++) {       var field = fieldsFromForm[i];       var output = getFieldFromData(field, e.parameters);       row.push(output);       newHeader.push(field);     }          \/\/ more efficient to set values as [][] array than individually     var nextRow = sheet.getLastRow() + 1; \/\/ get next row     sheet.getRange(nextRow, 1, 1, row.length).setValues([row]);      \/\/ update header row with any new data     if (newHeader.length &gt; oldHeader.length) {       sheet.getRange(1, 1, 1, newHeader.length).setValues([newHeader]);     }   }   catch(error) {     Logger.log(error);   }   finally {     lock.releaseLock();     return;   }  }  function getDataColumns(data) {   return Object.keys(data).filter(function(column) {     return !(column === 'formDataNameOrder' || column === 'formGoogleSheetName' || column === 'formGoogleSendEmail' || column === 'honeypot');   }); }  function getFieldFromData(field, data) {   var values = data[field] || '';   var output = values.join ? values.join(', ') : values;   return output; }<\/code><\/pre>\n<p>\u042d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043f\u0430\u0441\u043b\u043e \u043c\u043d\u0435 \u043a\u0443\u0447\u0443 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0438 \u0436\u0438\u0437\u043d\u044c, \u0432\u0435\u0434\u044c \u043d\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0441\u0432\u043e\u044e \u0438\u0434\u0435\u044e, \u044d\u0442\u043e \u0432\u0435\u0440\u0445 \u043c\u0443\u0447\u0435\u043d\u0438\u0439. \u041a\u0430\u043a \u0436\u0438\u0442\u044c \u0442\u043e \u043f\u043e\u0442\u043e\u043c?<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435, \u0447\u0442\u043e \u043c\u043d\u0435 \u043e\u0441\u0442\u0430\u0432\u0430\u043b\u043e\u0441\u044c, \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0442\u0430\u0431\u043b\u0438\u0446, \u0434\u0430\u0431\u044b \u0438\u043c\u0435\u0442\u044c \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e. \u042d\u0442\u043e \u0443\u0436\u0435 \u0431\u044b\u043b\u043e \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e. <\/p>\n<pre><code>function update() {    var sheetName1 = SpreadsheetApp.getActiveSpreadsheet().getSheetByName(\"Tournament\");    var sheetName2 = SpreadsheetApp.getActiveSpreadsheet().getSheetByName(\"TheMeets\");    var sheetName3 = SpreadsheetApp.getActiveSpreadsheet().getSheetByName(\"TheMeets_sort\");    var cellFunction1 = '=IMPORTHTML(\"https:\/\/fbref.com\/en\/comps\/12\/La-Liga-Stats\",\"table\",1)';   var cellFunction2 = '=sort({IMPORTHTML(\"https:\/\/fbref.com\/en\/comps\/12\/schedule\/La-Liga-Scores-and-Fixtures\",\"table\",1);IMPORTHTML(\"https:\/\/fbref.com\/en\/comps\/12\/3239\/schedule\/2019-2020-La-Liga-Scores-and-Fixtures\",\"table\",1);IMPORTHTML(\"https:\/\/fbref.com\/en\/comps\/12\/1886\/schedule\/2018-2019-La-Liga-Scores-and-Fixtures\",\"table\",1);IMPORTHTML(\"https:\/\/fbref.com\/en\/comps\/12\/1652\/schedule\/2017-2018-La-Liga-Scores-and-Fixtures\",\"table\",1)},3,FALSE)';   var cellFunction3 = '=sort(IMPORTHTML(\"https:\/\/fbref.com\/en\/comps\/12\/schedule\/La-Liga-Scores-and-Fixtures\",\"table\",1),3,TRUE)';        sheetName1.getRange('A1').setValue(cellFunction1);      sheetName2.getRange('A2').setValue(cellFunction2);     sheetName3.getRange('A1').setValue(cellFunction3); }<\/code><\/pre>\n<p>\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u0438\u0445. \u0422\u0430\u043a \u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 Google Apps Script \u0442\u0440\u0438\u0433\u0433\u0435\u0440, \u043d\u0430 \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0435\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u043e. \u0418 \u0432\u0443\u0430\u043b\u044f!<\/p>\n<h2>\u0423\u0420\u0410! <\/h2>\n<p>\u042f \u043f\u043e\u0431\u0435\u0434\u0438\u043b \u0438 \u0441\u043c\u043e\u0433 \u0434\u043e\u0432\u0435\u0441\u0442\u0438 \u0434\u0435\u043b\u043e \u0434\u043e \u043a\u043e\u043d\u0446\u0430, \u0441\u0435\u0439\u0447\u0430\u0441 \u0432\u0441\u0435 \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432 \u0431\u043e\u043b\u0435\u0435 \u043b\u0438 \u043c\u0435\u043d\u0435\u0435 \u0430\u0434\u0435\u043a\u0432\u0430\u0442\u043d\u043e\u043c \u0432\u0438\u0434\u0435: <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d44\/9a0\/6c4\/d449a06c4e91a2a72e78fb22b4ed0815.png\" width=\"839\" height=\"626\"><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0443\u0442 \u043c\u044b \u0436\u043c\u044f\u043a\u0430\u0435\u043c \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 &#171;\u0410\u043d\u0430\u043b\u0438\u0437 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438&#187; \u0438 \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u043c \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 &#171;\u0421\u043f\u0430\u0441\u0438\u0431\u043e&#187;, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u044f \u0437\u0430\u044e\u0437\u0430\u043b \u043a\u0430\u043a \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0443, \u0447\u0442\u043e\u0431\u044b \u0434\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c Google Sheets \u043f\u0440\u0438\u043d\u044f\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 \u0444\u043e\u0440\u043c\u044b, \u0432\u0441\u0435 \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u0442\u044c, \u0438 \u0432\u044b\u0434\u0430\u0442\u044c \u0432\u0441\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e. \u0410 \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u043a\u0440\u0430\u0441\u0438\u0432\u0443\u044e \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 \u043c\u0430\u0442\u0447\u0435\u0439, \u0438 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u043c\u043e\u0435\u0439 \u0432\u0430\u043d\u0433\u0430-\u0442\u0430\u0431\u043b\u0438\u0447\u043a\u0438.<\/p>\n<p>\u042f \u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u0447\u0442\u043e \u043c\u043e\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u0431\u044b\u043b\u0430 \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u043d\u0430 \u043d\u0435 \u0437\u0440\u044f, \u0438 \u0432 \u0440\u0443\u0441\u0441\u043a\u043e\u044f\u0437\u044b\u0447\u043d\u043e\u043c \u043c\u0438\u0440\u0435 \u044d\u0442\u043e \u0441\u0442\u0430\u0442\u044c\u044f \u0441\u043f\u0430\u0441\u0435\u0442 \u0435\u0449\u0451 \u043f\u0430\u0440\u0443 \u0436\u0438\u0437\u043d\u0435\u0439 \u043e\u0442 \u043c\u0430\u043d\u044f\u0449\u0438\u0445 \u0438 \u043f\u043e\u0435\u0434\u0430\u044e\u0449\u0438\u0445 \u0442\u0435\u0431\u044f \u0438\u0437\u043d\u0443\u0442\u0440\u0438 \u0438\u0434\u0435\u0439. <\/p>\n<p>\u0412\u0435\u0441\u044c \u043a\u043e\u0434, \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u0438 \u043a\u0430\u043a \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Google Apps Script \u0441\u043a\u043b\u0430\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 Google Sheets<a href=\"https:\/\/github.com\/dwyl\/learn-to-send-email-via-google-script-html-no-server\" rel=\"noopener noreferrer nofollow\"> \u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p><a href=\"https:\/\/www.sports.ru\/tribuna\/blogs\/eternalfootball\/2910197.html\" rel=\"noopener noreferrer nofollow\">\u0412 \u0434\u0432\u0443\u0445 \u0441\u043b\u043e\u0432\u0430\u0445 \u043d\u0430 \u0441\u043f\u043e\u0440\u0442\u0441.\u0440\u0443 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043b, \u0447\u0442\u043e \u044f \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043b \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0432 \u0440\u0430\u0441\u0447\u0435\u0442\u0430\u0445 \u0438 \u043a\u0430\u043a \u0441\u0447\u0438\u0442\u0430\u0442\u044c<\/a>.<\/p>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/552908\/\"> https:\/\/habr.com\/ru\/post\/552908\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<p>\u041b\u0435\u0436\u0443 \u044f \u043d\u043e\u0447\u044c\u044e, \u043f\u044b\u0442\u0430\u044e\u0441\u044c \u0443\u0441\u043d\u0443\u0442\u044c. \u0418 \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e \u0442\u044b\u0441\u044f\u0447\u0430 \u043c\u044b\u0441\u043b\u0435\u0439, \u0438 \u0441\u0440\u0435\u0434\u0438 \u043d\u0438\u0445 \u044f \u0441\u0443\u043c\u0435\u043b \u0437\u0430\u0446\u0435\u043f\u0438\u043b\u0441\u044f \u0437\u0430 \u043e\u0434\u043d\u0443. \u0410 \u0437\u0432\u0443\u0447\u0430\u043b\u0430 \u043e\u043d\u0430 \u0442\u0430\u043a: &#171;\u043f\u043e\u0447\u0435\u043c\u0443 \u0431\u044b \u043d\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430 \u0444\u0443\u0442\u0431\u043e\u043b\u044c\u043d\u044b\u0445 \u043c\u0430\u0442\u0447\u0435\u0439, \u0433\u0434\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043b\u0438\u0448\u044c \u0432\u0432\u0435\u0441\u0442\u0438 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 \u0438\u0433\u0440\u044b \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432\u044b\u0431\u043e\u0440\u043a\u0443 \u0438\u0437 \u0438\u0445 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u043e\u0431\u0449\u0435\u0439 \u0438 \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435, \u0447\u0435\u0433\u043e \u0436\u0434\u0430\u0442\u044c \u0432 \u0433\u0440\u044f\u0434\u0443\u0449\u0435\u043c \u043c\u0430\u0442\u0447\u0435&#187;.  \u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u043f\u043e\u0447\u0435\u043c\u0443 \u043d\u0435\u0442?!<\/p>\n<p>\u041d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0434\u0435\u043d\u044c, \u043a\u043e\u0433\u0434\u0430 \u044f \u043f\u0440\u043e\u0441\u043d\u0443\u043b\u0441\u044f, \u044f \u043f\u0435\u0440\u0432\u044b\u043c \u0436\u0435 \u0434\u0435\u043b\u043e\u043c \u043f\u043e\u0448\u0435\u043b \u0433\u0443\u0433\u043b\u0438\u0442\u044c, \u0435\u0441\u0442\u044c \u043b\u0438 \u0442\u0430\u043a\u043e\u0435 \u0441\u0435\u0439\u0447\u0430\u0441, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u043e, \u0447\u0442\u043e \u0432 \u043d\u0430\u0448\u0435\u043c \u043c\u0438\u0440\u0435 \u044d\u0442\u043e \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u0430\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u0437\u0430\u0442\u0435\u044f (\u0442\u0430 \u043b\u0430\u0434\u043d\u0430!?). \u041d\u043e \u044f \u0442\u043e \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0445\u043e\u0442\u0435\u043b \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u0438 \u0434\u0435\u043b\u0438\u0442\u044c \u0447\u0438\u0441\u043b\u0430 \u0438\u0437 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438, \u043c\u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0444\u0430\u043a\u0442\u043e\u0440\u044b \u0441\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043c\u0435\u0440\u043e\u043f\u0440\u0438\u044f\u0442\u0438\u044f, \u0430 \u0438\u0445 \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e. <\/p>\n<p>\u0413\u0443\u0433\u043b \u0434\u0430\u043b \u0441\u0432\u043e\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442, \u0432\u043f\u0440\u043e\u0447\u0435\u043c \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430. \u042f \u043d\u0430\u0448\u0435\u043b \u043a\u0443\u0447\u0443 \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u043e\u0432 \u0441\u0442\u0430\u0432\u043e\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u043e\u0434\u0430\u0435\u0442\u0441\u044f \u0437\u0430 3-5\u043a \u0440\u0443\u0431\u043b\u0435\u0439, \u0438 \u043f\u0440\u043e\u0447\u0438\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0440\u0430\u0441\u0447\u0435\u0442\u043e\u0432 \u0432 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u0435. \u042f \u043a\u0430\u043a \u0431\u044b \u0438 \u0442\u0430\u043a \u043f\u043e\u043c\u043d\u0438\u043b \u0440\u0430\u0441\u0447\u0435\u0442\u044b \u0442\u043e\u0442\u0430\u043b\u043e\u0432 \u0433\u043e\u043b\u043e\u0432, \u043d\u043e \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0438\u0445 \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0446\u0435\u043b\u043e\u0433\u043e &#171;\u043c\u0430\u0433\u0430\/\u043a\u043e\u043b\u0434\u0443\u043d\u0430\/\u0432\u0430\u043d\u0433\u0443&#187; \u0441\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u044b\u0445 \u0441\u043e\u0431\u044b\u0442\u0438\u0439. \u0418\u043b\u0438 \u0445\u043e\u0442\u044f \u0431\u044b \u0444\u043e\u0440\u043c\u0443\u043b\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u044b\u0434\u0430\u0441\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u043e\u0441\u043b\u0435 \u0432\u0432\u043e\u0434\u0430 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<h2>\u042d\u0442\u043e \u0447\u0442\u043e, \u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0430\u0440\u0441\u0435\u0440?!<\/h2>\n<p>\u041c\u043d\u0435 \u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0441\u0438\u043b\u044c\u043d\u043e \u0443\u0433\u043b\u0443\u0431\u043b\u044f\u0442\u044c\u0441\u044f \u0432 \u043a\u043e\u0434. \u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u044f \u043d\u0435 \u043a\u043e\u0434\u0435\u0440, \u0430 \u0441\u043a\u043e\u0440\u0435\u0435 \u0447\u0435\u043b\u043e\u0432\u0435\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441 \u043d\u0438\u043c \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u0440\u0430\u0431\u043e\u0442\u0435, \u0438 \u0441\u043e\u0432\u0441\u0435\u043c \u0447\u0443\u0442\u044c-\u0447\u0443\u0442\u044c \u0432 \u043d\u0435\u043c \u043c\u043e\u0436\u0435\u0442 \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f. \u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u043c\u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0431\u044b\u043b\u043e \u043b\u0435\u043d\u044c, \u044f \u0438\u0441\u043a\u0430\u043b \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f. \u0418 \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u043b, \u0447\u0442\u043e \u0447\u0443\u0434\u043e Google Sheets \u043c\u043e\u0436\u0435\u0442 \u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0447\u043a\u0438, xml, html-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b, \u0438 \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442 \u0444\u043e\u0440\u043c\u0443\u043b\u0430\u043c\u0438: IMPORTDATA, IMPORTFEED, IMPORTHTML, IMPORTXML. \u0412\u043e\u0442 <a href=\"https:\/\/support.google.com\/docs\/table\/25273?hl=ru&amp;ref_topic=9199554\" rel=\"noopener noreferrer nofollow\">\u0441\u0441\u044b\u043b\u043a\u0430<\/a> \u043d\u0430 \u0441\u043f\u0440\u0430\u0432\u043a\u0443 \u0433\u0443\u0433\u043b\u0430, \u0442\u0430\u043c \u0432\u0441\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u043e, \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u044d\u0442\u043e\u043c \u044f \u043f\u043e\u0436\u0430\u043b\u0443\u0439 \u043d\u0435 \u0431\u0443\u0434\u0443.<\/p>\n<p>\u041d\u0430\u0448\u0435\u043b \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0444\u0443\u0442\u0431\u043e\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438, \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u043e\u0447\u0435\u043d\u044c \u0441\u043b\u043e\u0436\u043d\u043e. \u0412\u0435\u0434\u044c \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0440\u0430\u0437\u043e\u043a, \u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u043c\u043e\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0444\u0443\u0442\u0431\u043e\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0442\u0447\u0438 \u0438\u0434\u0443\u0442 \u0438 \u0438\u0434\u0443\u0442, \u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0443\u0436\u043d\u043e \u0430\u043a\u0442\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u041e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u043d\u0430 \u0437\u0430\u0440\u0443\u0431\u0435\u0436\u043d\u043e\u043c \u0441\u0431\u043e\u0440\u0438\u0449\u0435 \u0444\u0443\u0442\u0431\u043e\u043b\u044c\u043d\u043e\u0439 \u0438\u043d\u0444\u044b fbref.com, \u0432\u0441\u0435 \u0432 \u043d\u0435\u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0445 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u0445 2002 \u0433\u043e\u0434\u0430. &#171;\u041a\u0430\u043a \u0440\u0430\u0437 \u0442\u043e, \u0447\u0442\u043e \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e!&#187;, &#8212; \u0432\u0441\u043a\u0440\u0438\u043a\u043d\u0443\u043b \u044f, \u043f\u043e\u0441\u043b\u0435 3-\u0435\u0433\u043e \u0447\u0430\u0441\u0430 \u0440\u0435\u0441\u0435\u0440\u0447\u0430 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u0412\u0435\u0434\u044c \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u0431\u044b\u043b\u0438 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u0435, \u0430 \u0432\u0441\u044f\u043a\u0438\u0435 XG, XGa \u0438 \u043f\u0440\u043e\u0447\u0438\u0435 \u0440\u0430\u0434\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0444\u0443\u0442\u0431\u043e\u043b\u044c\u043d\u044b\u0445 &#171;\u0430\u043d\u0430\u043b\u0438\u0441\u0442\u043e\u0432&#187;. \u0414\u0430\u043b\u0435\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e API Google Sheets \u0438 query \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432, \u043f\u043e \u0441\u0443\u0442\u0438 \u0443\u0440\u0435\u0437\u0430\u043d\u043d\u044b\u043c sql, \u044f \u043a\u0438\u0434\u0430\u043b\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0438\u0437 \u0432\u043a\u043b\u0430\u0434\u043a\u0438 \u0432\u043e \u0432\u043a\u043b\u0430\u0434\u043a\u0443, \u0440\u0430\u0437\u0431\u0438\u0432\u0430\u044f \u043d\u0430 \u0442\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u043d\u0443\u0436\u043d\u044b \u0434\u043b\u044f \u0440\u0430\u0441\u0447\u0435\u0442\u043e\u0432. <\/p>\n<h2>\u0421\u0435\u043a\u0443\u043d\u0434\u0443, \u0430 \u043a\u0430\u043a \u044f \u0438\u043d\u0444\u0443 \u0438\u0437 Google Sheets \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0441\u043c\u043e\u0433\u0443 \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c?!<\/h2>\n<p>\u0414\u0430, \u044d\u0442\u043e\u0442 \u0432\u043e\u043f\u0440\u043e\u0441 \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u0445 \u0434\u043d\u0435\u0439 \u043a\u043e\u0432\u044b\u0440\u044f\u043d\u0438\u044f \u0432 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u0441\u0435\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u044f \u0441\u0443\u043c\u0435\u043b \u0441\u043f\u0430\u0440\u0441\u0438\u0442\u044c. \u0418 \u044f \u0447\u0443\u0442\u043a\u0430 \u043f\u0440\u0438\u0443\u043d\u044b\u043b, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u043e\u043c\u043d\u0438\u043b, \u0447\u0442\u043e \u043c\u043e\u0433\u0443 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0430\u0439\u0444\u0440\u0435\u0439\u043c\u043e\u043c. \u041d\u043e, \u0447\u0435\u0440\u0442 \u0432\u043e\u0437\u044c\u043c\u0438, \u044d\u0442\u043e \u0442\u0430\u043a \u043d\u0435\u043a\u0440\u0430\u0441\u0438\u0432\u043e \u0438 \u043f\u043e\u043f\u0430\u0445\u0438\u0432\u0430\u0435\u0442 \u043f\u0440\u043e\u0448\u043b\u044b\u043c \u0432\u0435\u043a\u043e\u043c. \u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043a\u043e\u0432\u044b\u0440\u044f\u0442\u044c\u0441\u044f \u0434\u0430\u043b\u044c\u0448\u0435. \u0411\u043b\u043e\u0433, \u043a\u0443\u0434\u0430 \u044f \u0445\u043e\u0442\u0435\u043b \u044d\u0442\u043e \u0432\u0441\u0435 \u0437\u0430\u0441\u0443\u043d\u0443\u0442\u044c, \u0443 \u043c\u0435\u043d\u044f \u0441\u0442\u043e\u0438\u0442 \u043d\u0430 \u043e\u0431\u044b\u043a\u043d\u043e\u0432\u0435\u043d\u043d\u043e\u043c Wordpress, \u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0430\u0434\u0435\u043a\u0432\u0430\u0442\u043d\u044b\u0439 \u043f\u043b\u0430\u0433\u0438\u043d, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0432\u043e\u0434\u0438\u043b \u0431\u044b \u0438\u043d\u0444\u0443 \u0432 \u043a\u0440\u0430\u0441\u0438\u0432\u043e\u043c \u0432\u0438\u0434\u0435 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0443\u043b\u044c\u0442\u0440\u0430-\u0441\u043b\u043e\u0436\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u0435\u0449\u0451 \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u0430\u0434\u0435\u043a\u0432\u0430\u0442\u043d\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e. \u0412 \u0438\u0442\u043e\u0433\u0435, \u044f \u043d\u0430\u0448\u0435\u043b, \u0434\u0430\u0436\u0435 \u0441 \u044d\u0441\u0442\u0435\u0442\u0438\u043a\u043e\u0439 \u0432\u044b\u0432\u043e\u0434\u0438\u043c\u044b\u0445 \u0442\u0430\u0431\u043b\u0438\u0446 \u044f \u0441\u043c\u0438\u0440\u0438\u043b\u0441\u044f. \u0412\u0437\u044f\u043b \u043f\u043b\u0430\u0433\u0438\u043d <a href=\"https:\/\/ru.wordpress.org\/plugins\/inline-google-spreadsheet-viewer\/\" rel=\"noopener noreferrer nofollow\">Inline Google Spreadsheet Viewer<\/a>. \u0411\u0430\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0434\u043e \u043d\u0435\u043b\u044c\u0437\u044f, \u043d\u043e \u0432\u0441\u0435 \u0436\u0435, \u043c\u043e\u0438 \u0442\u0430\u0431\u043b\u0438\u0447\u043a\u0438 \u043f\u043e \u043a\u0440\u0430\u0439\u043d\u0435\u0439 \u043c\u0435\u0440\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b\u0438 \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u0441\u0442\u044b\u0434\u043d\u043e:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<h2>\u041f\u0444\u0444, \u044f \u0447\u0442\u043e \u043d\u0435 \u0441\u043c\u043e\u0433\u0443 \u043d\u0430\u0439\u0442\u0438 \u0441\u043a\u0440\u0438\u043f\u0442 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 Google Sheets?<\/h2>\n<p>\u041d\u0435 \u0441\u043c\u043e\u0433\u0443. \u041f\u043e\u0442\u0440\u0430\u0447\u0435\u043d\u043e \u043a\u0443\u0447\u0443 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u043f\u043e\u0438\u0441\u043a, \u0432\u0435\u0441\u044c \u0441\u0442\u044d\u043a\u043e\u0444\u0435\u0440\u0444\u043b\u043e\u0443 \u0438 \u0433\u0438\u0442\u0445\u0430\u0431 \u0440\u0443\u0441\u0441\u043a\u043e\u044f\u0437\u044b\u0447\u043d\u044b\u0439, \u0430\u043d\u0433\u043b\u043e\u044f\u0437\u044b\u0447\u043d\u044b\u0439, \u0432\u0441\u0435 \u043f\u0435\u0440\u0435\u0440\u044b\u043b \u0432\u0434\u043e\u043b\u044c \u0438 \u043f\u043e\u043f\u0435\u0440\u0451\u043a. \u0414\u0443\u043c\u0430\u043b \u044f =). \u0410 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u044f \u0431\u044b\u043b \u0440\u044f\u0434\u043e\u043c \u0441 \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c \u043c\u043e\u0435\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u043b\u0430\u0441\u044c \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c: \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0434\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432\u044b\u0431\u043e\u0440\u0430 \u0444\u0443\u0442\u0431\u043e\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e, \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u044d\u0442\u043e \u0431\u0443\u0434\u0443 \u044f (\u0438\u0431\u043e \u0442\u0440\u0430\u0444\u0438\u043a\u0430 \u043d\u0430 \u0431\u043b\u043e\u0433\u0435 \u043e\u0441\u043e\u0431\u043e \u043d\u0435\u0442, \u0434\u0430 \u0438 \u044f \u043d\u0435 \u043f\u0430\u0440\u044e\u0441\u044c), \u0438 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c, \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0438\u0445 \u0432 Google Sheets \u043f\u043e API. \u0427\u0442\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043b\u0435\u0433\u043a\u043e.<\/p>\n<p>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u043c\u043e\u0435\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0431\u044b\u043b\u043e \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u0434 \u043d\u043e\u0441\u043e\u043c. \u041d\u0430 \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0442\u044b\u0441\u044f\u0447\u0438 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043d\u044b\u0445 \u043c\u043d\u043e\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u0431\u044b\u043b \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a &#171;\u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u043d\u0430 \u043f\u043e\u0447\u0442\u0443 \u0447\u0435\u0440\u0435\u0437 html \u0444\u043e\u0440\u043c\u0443, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f Google Apps&#187;. \u041d\u043e \u043a\u0430\u043a \u0438 \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 999 \u0441\u0442\u0440\u0430\u043d\u0438\u0446, \u044f \u043f\u043e\u0434\u0443\u043c\u0430\u043b, \u0447\u0442\u043e \u044d\u0442\u043e \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f \u043a\u043e \u043c\u043d\u0435, \u0430 \u0432\u0435\u0434\u044c \u044f \u0431\u044b\u043b \u043d\u0435 \u043f\u0440\u0430\u0432. <\/p>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0432\u0435\u0442\u043a\u0435 \u0431\u044b\u043b\u043e \u043f\u043e\u0432\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0435 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0444\u043e\u0440\u043c\u044b \u043d\u0430 \u043f\u043e\u0447\u0442\u0443, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0445\u0440\u0430\u043d\u044f \u0438\u043d\u0444\u0443 \u0432 Google Sheets, \u0447\u0442\u043e \u044f \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0443\u043f\u0443\u0441\u0442\u0438\u043b. \u0418 \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u0440\u0435\u0437\u0430\u0442\u044c \u0432 \u044d\u0442\u043e\u043c \u0434\u043b\u0438\u043d\u043d\u043e\u043c \u043f\u0443\u0442\u0438 \u043a \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u043f\u043e\u0447\u0442\u0443, \u0432\u0438\u0434\u044c \u0438\u043d\u0444\u0430 \u0441 \u0444\u043e\u0440\u043c\u044b \u043d\u0430 \u043f\u043e\u0447\u0442\u0435 \u043c\u043d\u0435 \u0442\u043e\u0447\u043d\u043e \u043d\u0435 \u043d\u0443\u0436\u043d\u0430, \u0438 \u043a\u0443\u0447\u0430 \u0438\u043d\u0444\u044b \u0442\u0435\u043c \u0431\u043e\u043b\u0435\u0435. \u0418 \u044f \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u043f\u0440\u043e\u0441\u0442\u043e \u0442\u0430\u043a \u0438 \u0441\u0434\u0435\u043b\u0430\u043b. \u0418 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0441\u043b\u043e\u043c\u0430\u043b, \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u0432\u0435\u043b\u0438\u043a\u043e\u043b\u0435\u043f\u043d\u044b\u043c, \u0438\u0431\u043e \u0431\u044b\u043b \u0437\u0430\u043f\u0430\u0441\u043d\u043e\u0439 \u043f\u043b\u0430\u043d \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043b\u0435\u0432\u0443\u044e \u043f\u043e\u0447\u0442\u0443 \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u0435\u044f\u043d\u0438\u0439, \u0438 \u0437\u0430\u0441\u043e\u0440\u044f\u0442\u044c \u0443\u0436\u0435 \u0435\u0451 \u0441\u043f\u0430\u043c\u043e\u043c. <\/p>\n<p>\u041d\u0438\u0436\u0435 \u044f \u0434\u043e\u0431\u0430\u0432\u043b\u044e \u0432\u0435\u0441\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043a\u043e\u0434. \u041d\u0435 \u0437\u043d\u0430\u044e, \u043c\u043e\u0433\u0443 \u043b\u0438 \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u043d\u0435 \u0441\u0432\u043e\u0439 \u043a\u043e\u0434, \u043d\u043e \u043f\u043e\u0434 \u043f\u043e\u0441\u0442\u043e\u043c \u043e\u0441\u0442\u0430\u0432\u043b\u044e \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a, \u0438\u0431\u043e \u0442\u0430\u043c \u0435\u0441\u0442\u044c \u0435\u0449\u0451 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u0430\u044f \u0434\u043e\u0441\u043a\u043e\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f. \u0414\u0430 \u0438 \u0432\u0435\u0441\u044c \u043a\u043e\u0434 \u0437\u0430\u043a\u043e\u043c\u0435\u043d\u0447\u0435\u043d, \u0437\u0430 \u0447\u0442\u043e \u0430\u0432\u0442\u043e\u0440\u0443 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e. \u0418 Google Apps Script \u0441 \u044d\u0442\u0438\u043c \u0432\u0441\u0435\u043c \u0441\u043f\u0440\u0430\u0432\u0438\u043b\u0441\u044f \u043d\u0430 \u0443\u0440\u0430.<\/p>\n<pre><code>\/******************************************************************************  * This tutorial is based on the work of Martin Hawksey twitter.com\/mhawksey  *  * But has been simplified and cleaned up to make it more beginner friendly   *  * All credit still goes to Martin and any issues\/complaints\/questions to me. *  ******************************************************************************\/  \/\/ if you want to store your email server-side (hidden), uncomment the next line \/\/ var TO_ADDRESS = \"example@email.net\";  \/\/ spit out all the keys\/values from the form in HTML for email \/\/ uses an array of keys if provided or the object to determine field order function formatMailBody(obj, order) {   var result = \"\";   if (!order) {     order = Object.keys(obj);   }      \/\/ loop over all keys in the ordered form data   for (var idx in order) {     var key = order[idx];     result += \"&lt;h4 style='text-transform: capitalize; margin-bottom: 0'&gt;\" + key + \"&lt;\/h4&gt;&lt;div&gt;\" + sanitizeInput(obj[key]) + \"&lt;\/div&gt;\";     \/\/ for every key, concatenate an `&lt;h4 \/&gt;`\/`&lt;div \/&gt;` pairing of the key name and its value,      \/\/ and append it to the `result` string created at the start.   }   return result; \/\/ once the looping is done, `result` will be one long string to put in the email body }  \/\/ sanitize content from the user - trust no one  \/\/ ref: https:\/\/developers.google.com\/apps-script\/reference\/html\/html-output#appendUntrusted(String) function sanitizeInput(rawInput) {    var placeholder = HtmlService.createHtmlOutput(\" \");    placeholder.appendUntrusted(rawInput);       return placeholder.getContent();  }  function doPost(e) {    try {     Logger.log(e); \/\/ the Google Script version of console.log see: Class Logger     record_data(e);          \/\/ shorter name for form data     var mailData = e.parameters;      \/\/ names and order of form elements (if set)     var orderParameter = e.parameters.formDataNameOrder;     var dataOrder;     if (orderParameter) {       dataOrder = JSON.parse(orderParameter);     }          \/\/ determine recepient of the email     \/\/ if you have your email uncommented above, it uses that `TO_ADDRESS`     \/\/ otherwise, it defaults to the email provided by the form's data attribute     var sendEmailTo = (typeof TO_ADDRESS !== \"undefined\") ? TO_ADDRESS : mailData.formGoogleSendEmail;          \/\/ send email if to address is set     if (sendEmailTo) {       MailApp.sendEmail({         to: String(sendEmailTo),         subject: \"Contact form submitted\",         \/\/ replyTo: String(mailData.email), \/\/ This is optional and reliant on your form actually collecting a field named `email`         htmlBody: formatMailBody(mailData, dataOrder)       });     }      return ContentService    \/\/ return json success results           .createTextOutput(             JSON.stringify({\"result\":\"success\",                             \"data\": JSON.stringify(e.parameters) }))           .setMimeType(ContentService.MimeType.JSON);   } catch(error) { \/\/ if error return this     Logger.log(error);     return ContentService           .createTextOutput(JSON.stringify({\"result\":\"error\", \"error\": error}))           .setMimeType(ContentService.MimeType.JSON);   } }   \/**  * record_data inserts the data received from the html form submission  * e is the data received from the POST  *\/ function record_data(e) {   var lock = LockService.getDocumentLock();   lock.waitLock(30000); \/\/ hold off up to 30 sec to avoid concurrent writing      try {     Logger.log(JSON.stringify(e)); \/\/ log the POST data in case we need to debug it          \/\/ select the 'responses' sheet by default     var doc = SpreadsheetApp.getActiveSpreadsheet();     var sheetName = e.parameters.formGoogleSheetName || \"responses\";     var sheet = doc.getSheetByName(sheetName);          var oldHeader = sheet.getRange(1, 1, 1, sheet.getLastColumn()).getValues()[0];     var newHeader = oldHeader.slice();     var fieldsFromForm = getDataColumns(e.parameters);     var row = [new Date()]; \/\/ first element in the row should always be a timestamp          \/\/ loop through the header columns     for (var i = 1; i &lt; oldHeader.length; i++) { \/\/ start at 1 to avoid Timestamp column       var field = oldHeader[i];       var output = getFieldFromData(field, e.parameters);       row.push(output);              \/\/ mark as stored by removing from form fields       var formIndex = fieldsFromForm.indexOf(field);       if (formIndex &gt; -1) {         fieldsFromForm.splice(formIndex, 1);       }     }          \/\/ set any new fields in our form     for (var i = 0; i &lt; fieldsFromForm.length; i++) {       var field = fieldsFromForm[i];       var output = getFieldFromData(field, e.parameters);       row.push(output);       newHeader.push(field);     }          \/\/ more efficient to set values as [][] array than individually     var nextRow = sheet.getLastRow() + 1; \/\/ get next row     sheet.getRange(nextRow, 1, 1, row.length).setValues([row]);      \/\/ update header row with any new data     if (newHeader.length &gt; oldHeader.length) {       sheet.getRange(1, 1, 1, newHeader.length).setValues([newHeader]);     }   }   catch(error) {     Logger.log(error);   }   finally {     lock.releaseLock();     return;   }  }  function getDataColumns(data) {   return Object.keys(data).filter(function(column) {     return !(column === 'formDataNameOrder' || column === 'formGoogleSheetName' || column === 'formGoogleSendEmail' || column === 'honeypot');   <\/code><\/pre>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-321614","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/321614","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=321614"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/321614\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=321614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=321614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=321614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}