{"id":268602,"date":"2015-11-19T22:57:03","date_gmt":"2015-11-19T19:57:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=268602"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=268602","title":{"rendered":"\u041f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435 SpeechKit Cloud API \u0434\u043b\u044f \u043e\u0437\u0432\u0443\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u0433\u043e\u0434\u044b \u0438 \u043d\u043e\u0432\u043e\u0441\u0442\u0435\u0439 \u043e\u0442 Yandex"},"content":{"rendered":"<p>       \u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c! \u0412 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u00ab\u0413\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0439 \u043f\u043e\u0433\u043e\u0434\u043d\u044b\u0439 \u0438 \u043d\u043e\u0432\u043e\u0441\u0442\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0435\u0440\u00bb, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u0440\u0438 \u0432\u044b\u0431\u043e\u0440\u0435 \u0433\u043e\u0440\u043e\u0434\u0430 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u043b, \u043d\u043e \u0438 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u043b \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043f\u0440\u043e\u0433\u043d\u043e\u0437 \u043f\u043e\u0433\u043e\u0434\u044b, \u0430 \u0442\u0430\u043a \u0436\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u0443\u044e \u043d\u043e\u0432\u043e\u0441\u0442\u044c. \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u044d\u0442\u043e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043b\u0441\u044f \u0434\u043b\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u00ab\u0423\u043c\u043d\u044b\u0439 \u0414\u043e\u043c\u00bb, \u043d\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0441 \u043b\u0435\u0433\u043a\u043e\u0441\u0442\u044c\u044e \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u0430\u043d \u043f\u043e\u0434 \u043b\u044e\u0431\u043e\u0439 \u0441\u0430\u0439\u0442, \u0438\u043c\u0435\u044e\u0449\u0438\u0439 \u043d\u0430 \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 PHP, \u0447\u0442\u043e \u0438 \u0431\u044b\u043b\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438. \u0412 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0434\u043b\u044f \u0441\u0438\u043d\u0442\u0435\u0437\u0430 \u0440\u0435\u0447\u0438, \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f SpeechKit Cloud API \u043e\u0442 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 Yandex \u0438 XML \u043f\u0430\u0440\u0441\u0435\u0440 Yandex \u043f\u043e\u0433\u043e\u0434\u044b \u0438 \u043d\u043e\u0432\u043e\u0441\u0442\u0435\u0439, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 PHP.<br \/>  \u0427\u0442\u043e \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438:  <\/p>\n<ul>\n<li>Web \u0441\u0435\u0440\u0432\u0435\u0440 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 PHP (\u043c\u043e\u0436\u043d\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u0438\u043f\u0430 \u0414\u0435\u043d\u0432\u0435\u0440\u0430).<\/li>\n<li>\u041a\u043b\u044e\u0447 Yandex SpeechKit (\u0434\u043b\u044f \u043d\u0435\u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e). <\/li>\n<li>\u0415\u0441\u043b\u0438 \u043a\u043b\u044e\u0447 \u043d\u0435 \u0434\u0430\u044e\u0442 \u0431\u0435\u0437 \u043d\u0430\u043b\u0438\u0447\u0438\u044f \u0443 \u0412\u0430\u0441 \u0441\u0430\u0439\u0442\u0430, \u0442\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0430\u0439\u0442 \u043c\u043e\u0436\u043d\u043e \u043d\u0430 Hostinger.ru. <\/li>\n<li> <a href=\"https:\/\/pogoda.yandex.ru\/static\/cities.xml\">\u0421\u043f\u0438\u0441\u043e\u043a ID \u0433\u043e\u0440\u043e\u0434\u043e\u0432.<\/a><\/li>\n<\/ul>\n<p>  \u0414\u0430\u043d\u043d\u044b\u0439 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432 \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0446\u0435\u043b\u044f\u0445, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442 \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0433\u043e\u0440\u043e\u0434\u043e\u0432, \u0437\u0434\u0435\u0441\u044c \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0435 \u0431\u0443\u0434\u0435\u0442. <br \/>  \u041f\u0440\u0438\u043d\u0446\u0438\u043f \u0440\u0430\u0431\u043e\u0442\u044b:  <\/p>\n<ul>\n<li>\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 mp3 \u0444\u0430\u0439\u043b\u0430, \u0434\u043b\u044f \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0433\u043e\u0440\u043e\u0434\u0430.<\/li>\n<li>\u041f\u0430\u0440\u0441\u0438\u043c XML \u0444\u0430\u0439\u043b, \u043f\u043e\u043b\u0443\u0447\u0430\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b. <\/li>\n<li>\u041a\u043e\u0440\u0440\u0435\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u0441\u043b\u043e\u0432, \u0434\u043b\u044f \u043f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0438\u0437\u043d\u043e\u0448\u0435\u043d\u0438\u044f. <\/li>\n<li>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 mp3 \u0444\u0430\u0439\u043b\u0430 (\u0433\u043e\u043b\u043e\u0441, \u0442\u0435\u043c\u0431\u0440, \u0444\u043e\u0440\u043c\u0430\u0442 \u0444\u0430\u0439\u043b\u0430, \u044f\u0437\u044b\u043a, \u0442\u0435\u043a\u0441\u0442). <\/li>\n<li>\u0413\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c mp3 \u0444\u0430\u0439\u043b. <\/li>\n<li>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043e\u0431\u044a\u0435\u043a\u0442 Audio HTML 5 \u0438 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c \u0444\u0430\u0439\u043b. <\/li>\n<\/ul>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043f\u0442 \u0441 \u0444\u043e\u0440\u043c\u043e\u0439 \u0434\u043b\u044f \u0432\u044b\u0431\u043e\u0440\u0430 \u0433\u043e\u0440\u043e\u0434\u043e\u0432 index.html<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"html\">&lt;!DOCTYPE html&gt; &lt;html lang=&quot;ru&quot;&gt; &lt;head&gt; &lt;title&gt;\u0422\u0435\u0441\u0442 SpeechKit Cloud API \u043e\u0442 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 Yandex.&lt;\/title&gt; &lt;meta charset=&quot;utf-8&quot;&gt; &lt;\/head&gt; &lt;body&gt; &lt;script language=&quot;javascript&quot; type=&quot;text\/javascript&quot;&gt; function Get_Weather() {    var tts_text=document.getElementById('weather').value;    console.log(tts_text); \tvar response=&quot;weather.php?&q=&quot;+encodeURI(tts_text); \/\/\u043f\u0443\u0442\u044c \u0434\u043e mp3 \u0444\u0430\u0439\u043b\u0430 \tvar audio = document.getElementById(&quot;gameMusic&quot;); \t\tif (audio) \t\t{ \t\t\taudio.parentNode.removeChild(audio); \t\t} \t \t\t\/\/ \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u043d\u043e\u0432\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 audio \t\taudio = document.createElement(&quot;audio&quot;); \t\taudio.setAttribute(&quot;id&quot;, &quot;gameMusic&quot;); \t\taudio.setAttribute(&quot;autoplay&quot;, &quot;true&quot;); \t\t\/\/audio.setAttribute(&quot;loop&quot;, &quot;false&quot;); \t \t\tvar mp3 = document.createElement(&quot;source&quot;); \t\tmp3.setAttribute(&quot;src&quot;, response); \t\tmp3.setAttribute(&quot;type&quot;, &quot;audio\/mpeg&quot;); \t \t\taudio.appendChild(mp3); \t\taudio.play(); \t\tdocument.body.appendChild(audio); } function Get_News() {    var tts_text=document.getElementById('news').value;    console.log(tts_text); \tvar response=&quot;news.php?&q=&quot;+encodeURI(tts_text); \/\/\u043f\u0443\u0442\u044c \u0434\u043e mp3 \u0444\u0430\u0439\u043b\u0430 \tvar audio = document.getElementById(&quot;gameMusic&quot;); \t\tif (audio) \t\t{ \t\t\taudio.parentNode.removeChild(audio); \t\t} \t \t\t\/\/ \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u043d\u043e\u0432\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 audio \t\taudio = document.createElement(&quot;audio&quot;); \t\taudio.setAttribute(&quot;id&quot;, &quot;gameMusic&quot;); \t\taudio.setAttribute(&quot;autoplay&quot;, &quot;true&quot;); \t\t\/\/audio.setAttribute(&quot;loop&quot;, &quot;false&quot;); \t \t\tvar mp3 = document.createElement(&quot;source&quot;); \t\tmp3.setAttribute(&quot;src&quot;, response); \t\tmp3.setAttribute(&quot;type&quot;, &quot;audio\/mpeg&quot;); \t \t\taudio.appendChild(mp3); \t\taudio.play(); \t\tdocument.body.appendChild(audio); } &lt;\/script&gt; &lt;h1&gt;&lt;span&gt;\u0422\u0435\u0441\u0442 SpeechKit Cloud API \u043e\u0442 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 Yandex.&lt;\/span&gt;&lt;\/h1&gt; &lt;h2&gt;\u041f\u043e\u0433\u043e\u0434\u0430&lt;\/h2&gt; &lt;select size=&quot;1&quot; onclick=&quot;Get_Weather();&quot; id=&quot;weather&quot;&gt;  \t\t\t &lt;option disabled&gt;\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0433\u043e\u0440\u043e\u0434&lt;\/option&gt;  \t\t\t &lt;option value=&quot;27612&quot;&gt;\u041c\u043e\u0441\u043a\u0432\u0430&lt;\/option&gt;  \t\t\t &lt;option value=&quot;34880&quot;&gt;\u0410\u0441\u0442\u0440\u0430\u0445\u0430\u043d\u044c&lt;\/option&gt; \t\t\t &lt;option value=&quot;26063&quot;&gt;\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433&lt;\/option&gt; \t\t\t &lt;option value=&quot;25913&quot;&gt;\u041c\u0430\u0433\u0430\u0434\u0430\u043d&lt;\/option&gt; &lt;\/select&gt; &lt;h2&gt;\u041d\u043e\u0432\u043e\u0441\u0442\u0438&lt;\/h2&gt; &lt;select size=&quot;1&quot; onclick=&quot;Get_News();&quot; id=&quot;news&quot;&gt;  \t\t\t &lt;option disabled&gt;\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0433\u043e\u0440\u043e\u0434&lt;\/option&gt;  \t\t\t &lt;option selected value=&quot;Astrakhan&quot;&gt;\u0410\u0441\u0442\u0440\u0430\u0445\u0430\u043d\u044c&lt;\/option&gt;  \t\t\t\t&lt;option  value=&quot;Volgograd&quot;&gt;\u0412\u043e\u043b\u0433\u043e\u0433\u0440\u0430\u0434&lt;\/option&gt; \t\t\t\t&lt;option  value=&quot;Krasnodar&quot;&gt;\u041a\u0440\u0430\u0441\u043d\u043e\u0434\u0430\u0440&lt;\/option&gt;\t\t\t\t \t\t\t\t&lt;option  value=&quot;Moscow&quot;&gt;\u041c\u043e\u0441\u043a\u0432\u0430&lt;\/option&gt; \t\t\t\t&lt;option  value=&quot;Saratov&quot;&gt;\u0421\u0430\u0440\u0430\u0442\u043e\u0432&lt;\/option&gt; &lt;\/select&gt; &lt;\/body&gt; &lt;\/html&gt; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0413\u043e\u0440\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043f\u0443\u0442\u0451\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043d\u043e\u0432\u044b\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 <b>option<\/b> \u0432 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435 <b>select<\/b>.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043f\u0442 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 mp3 \u0444\u0430\u0439\u043b\u0430 \u0434\u043b\u044f \u043f\u043e\u0433\u043e\u0434\u044b weather.php<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"php\">&lt;?php \t $id=$_GET[&quot;q&quot;]; \/\/ id \u0433\u043e\u0440\u043e\u0434\u0430 \t $url=&quot;http:\/\/export.yandex.ru\/weather-ng\/forecasts\/&quot;.$id.&quot;.xml&quot;; \/\/ url xml \u0444\u0430\u0439\u043b\u0430      $xml = simplexml_load_file($url); \/\/ \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0438\u0440\u0443\u0435\u043c XML-\u0444\u0430\u0439\u043b \u0432 \u043e\u0431\u044a\u0435\u043a\u0442     \/\/\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:     $city=$xml['city']; \/\/\u0433\u043e\u0440\u043e\u0434     $temp=$xml-&gt;fact-&gt;temperature; \/\/ \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430     $weather_type=$xml-&gt;fact-&gt;weather_type; \/\/ \u0442\u0438\u043f \u043f\u043e\u0433\u043e\u0434\u044b     $humidity=$xml-&gt;fact-&gt;humidity; \/\/ \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u044c     $wind_direction=$xml-&gt;fact-&gt;wind_direction; \/\/ \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u0435\u0442\u0440\u0430     $wind_speed=$xml-&gt;fact-&gt;wind_speed; \/\/ \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432\u0435\u0442\u0440\u0430     $pressure=$xml-&gt;fact-&gt;pressure; \/\/ \u0434\u0430\u0432\u043b\u0435\u043d\u0438\u0435             \t$znak=&quot;\u043f\u043b\u044e\u0441&quot;; \tif($wind_direction==&quot;e&quot;) {\t$wind_direction_text=&quot;\u0432\u043e\u0441\u0442\u043e\u0447\u043d\u044b\u0439&quot;;} \tif($wind_direction==&quot;w&quot;) {\t$wind_direction_text=&quot;\u0437\u0430\u043f\u0430\u0434\u043d\u044b\u0439&quot;;} \tif($wind_direction==&quot;s&quot;) {\t$wind_direction_text=&quot;\u044e\u0436\u043d\u044b\u0439&quot;;} \tif($wind_direction==&quot;n&quot;) {\t$wind_direction_text=&quot;\u0441\u0435\u0432\u0435\u0440\u043d\u044b\u0439&quot;;} \tif($wind_direction==&quot;se&quot;) {\t$wind_direction_text=&quot;\u044e\u0433\u043e-\u0432\u043e\u0441\u0442\u043e\u0447\u043d\u044b\u0439&quot;;} \tif($wind_direction==&quot;ne&quot;) {\t$wind_direction_text=&quot;\u0441\u0435\u0432\u0435\u0440\u043e-\u0432\u043e\u0441\u0442\u043e\u0447\u043d\u044b\u0439&quot;;}  \tif($wind_direction==&quot;sw&quot;) {\t$wind_direction_text=&quot;\u044e\u0433\u043e-\u0437\u0430\u043f\u0430\u0434\u043d\u044b\u0439&quot;;} \tif($wind_direction==&quot;nw&quot;) {\t$wind_direction_text=&quot;\u0441\u0435\u0432\u0435\u0440\u043e-\u0437\u0430\u043f\u0430\u0434\u043d\u044b\u0439&quot;;}  \t\t\t\t\t\t\t\t\t\t\t\t \t$minus_arry=preg_match(&quot;\/(-)\/&quot;, $temp, $minus_out); \tif (!empty($minus_out[1])) \t{ $znak=&quot;\u043c\u0438\u043d\u0443\u0441&quot;; \t\t$temp=str_replace(&quot;-&quot;,&quot;&quot;,$temp); \t} \t\t\t\t\t\t\t \t \/\/\u0433\u0440\u0430\u0434\u0443\u0441   \tif(\t$temp==&quot;1&quot; or $temp==&quot;21&quot; or $temp==&quot;31&quot; or $temp==&quot;41&quot; or $temp==&quot;51&quot; or $temp==&quot;61&quot; or $temp==&quot;71&quot; or $temp==&quot;81&quot; or $temp==&quot;91&quot; or $temp==&quot;101&quot;)    \t{   \t\t\t$text=&quot;\u0433\u0440\u0430\u0434\u0443\u0441&quot;;   \t}    \telse    \t{ \t\/\/\u0433\u0440\u0430\u0434\u0443\u0441\u0430\t   \tif(   $temp==&quot;2&quot;  or $temp==&quot;3&quot;  or $temp==&quot;4&quot;   \t\t\tor $temp==&quot;22&quot; or $temp==&quot;23&quot; or $temp==&quot;24&quot;    \t\t\tor $temp==&quot;32&quot; or $temp==&quot;33&quot; or $temp==&quot;34&quot;    \t\t\tor $temp==&quot;42&quot; or $temp==&quot;43&quot; or $temp==&quot;44&quot;    \t\t\tor $temp==&quot;52&quot; or $temp==&quot;53&quot; or $temp==&quot;54&quot;   \t\t\tor $temp==&quot;62&quot; or $temp==&quot;63&quot; or $temp==&quot;64&quot;    \t\t\tor $temp==&quot;72&quot; or $temp==&quot;73&quot; or $temp==&quot;74&quot;    \t\t\tor $temp==&quot;82&quot; or $temp==&quot;83&quot;\tor $temp==&quot;84&quot;    \t\t\tor $temp==&quot;92&quot; or $temp==&quot;93&quot; or $temp==&quot;94&quot;   \t\t\tor $temp==&quot;102&quot; or $temp==&quot;103&quot;   \t\t) {$text=&quot;\u0433\u0440\u0430\u0434\u0443\u0441\u0430&quot;;} else {$text=&quot;\u0433\u0440\u0430\u0434\u0443\u0441\u043e\u0432&quot;;}  \t\t\t\t\t\t\t\t\t\t\t   \t\t\t\t\t\t   \t}   \t\t\t\t\t\t\t\t\t   \t\t\t\t\t\t\t\t\t   \t\t\t\t\t\t\t\t\t   \t\/\/\u043f\u0440\u043e\u0446\u0435\u043d\u0442   \t\t\t   \tif(\t$humidity==&quot;1&quot; or $humidity==&quot;21&quot; or $humidity==&quot;31&quot; or $humidity==&quot;41&quot; or $humidity==&quot;51&quot; or $humidity==&quot;61&quot; or $humidity==&quot;71&quot; or $humidity==&quot;81&quot; or $humidity==&quot;91&quot; or $humidity==&quot;101&quot;)    \t{   \t\t$humidity_text=&quot;\u043f\u0440\u043e\u0446\u0435\u043d\u0442&quot;;   \t}    \telse    \t{ \t\t\/\/\u043f\u0440\u043e\u0446\u0435\u043d\u0442\u0430\t   \t\tif(   $humidity==&quot;2&quot;  or $humidity==&quot;3&quot;  or $humidity==&quot;4&quot;   \t\t\t\tor $humidity==&quot;22&quot; or $humidity==&quot;23&quot; or $humidity==&quot;24&quot;    \t\t\t\tor $humidity==&quot;32&quot; or $humidity==&quot;33&quot; or $humidity==&quot;34&quot;    \t\t\t\tor $humidity==&quot;42&quot; or $humidity==&quot;43&quot; or $humidity==&quot;44&quot;    \t\t\t\tor $humidity==&quot;52&quot; or $humidity==&quot;53&quot; or $humidity==&quot;54&quot;   \t\t\t\tor $humidity==&quot;62&quot; or $humidity==&quot;63&quot; or $humidity==&quot;64&quot;    \t\t\t\tor $humidity==&quot;72&quot; or $humidity==&quot;73&quot; or $humidity==&quot;74&quot;    \t\t\t\tor $humidity==&quot;82&quot; or $humidity==&quot;83&quot; or $humidity==&quot;84&quot;    \t\t\t\tor $humidity==&quot;92&quot; or $humidity==&quot;93&quot; or $humidity==&quot;94&quot;   \t\t\t\tor $humidity==&quot;102&quot; or $humidity==&quot;103&quot;   \t\t) {$humidity_text=&quot;\u043f\u0440\u043e\u0446\u0435\u043d\u0442\u0430&quot;;} else {$humidity_text=&quot;\u043f\u0440\u043e\u0446\u0435\u043d\u0442\u043e\u0432&quot;;}  \t\t\t\t\t\t\t\t\t\t\t   \t\t\t\t\t\t\t\t   \t}\t   \t\t\t\t\t\t\t\t\t   \t\t\t\t\t\t\t\t\t   \t \/\/\u043c\u0438\u043b\u043b\u0438\u043c\u0435\u0442\u0440   \tif(\t$pressure==&quot;701&quot; or $pressure==&quot;721&quot; or $pressure==&quot;731&quot; or $pressure==&quot;741&quot; or $pressure==&quot;751&quot; or $pressure==&quot;761&quot; or $pressure==&quot;771&quot; or $pressure==&quot;781&quot; or $pressure==&quot;791&quot; or $pressure==&quot;801&quot;)    \t{   \t\t$pressure_text=&quot;\u043c\u0438\u043b\u0438\u043c\u0435\u0442\u0440 \u0440\u0442\u0443\u0442\u043d\u043e\u0433\u043e \u0441\u0442\u043e\u043b\u0431\u0430&quot;;   \t}    \telse    \t{ \t\t\/\/\u043c\u0438\u043b\u043b\u0438\u043c\u0435\u0442\u0440\u0430\t   \t\tif(   $pressure==&quot;702&quot; or $pressure==&quot;703&quot; or $pressure==&quot;704&quot;   \t\t\t\tor $pressure==&quot;722&quot; or $pressure==&quot;723&quot; or $pressure==&quot;724&quot;    \t\t\t\tor $pressure==&quot;732&quot; or $pressure==&quot;733&quot; or $pressure==&quot;734&quot;    \t\t\t\tor $pressure==&quot;742&quot; or $pressure==&quot;743&quot; or $pressure==&quot;744&quot;    \t\t\t\tor $pressure==&quot;752&quot; or $pressure==&quot;753&quot; or $pressure==&quot;754&quot;   \t\t\t\tor $pressure==&quot;762&quot; or $pressure==&quot;763&quot; or $pressure==&quot;764&quot;    \t\t\t\tor $pressure==&quot;772&quot; or $pressure==&quot;773&quot; or $pressure==&quot;774&quot;    \t\t\t\tor $pressure==&quot;782&quot; or $pressure==&quot;783&quot; or $pressure==&quot;784&quot;    \t\t\t\tor $pressure==&quot;792&quot; or $pressure==&quot;793&quot; or $pressure==&quot;794&quot;   \t\t\t\tor $pressure==&quot;802&quot; or $pressure==&quot;803&quot;   \t\t\t) {$pressure_text=&quot;\u043c\u0438\u043b\u0438\u043c\u0435\u0442\u0440\u0430 \u0440\u0442\u0443\u0442\u043d\u043e\u0433\u043e \u0441\u0442\u043e\u043b\u0431\u0430&quot;;} else {$pressure_text=&quot;\u043c\u0438\u043b\u0438\u043c\u0435\u0442\u0440\u043e\u0432 \u0440\u0442\u0443\u0442\u043d\u043e\u0433\u043e \u0441\u0442\u043e\u043b\u0431\u0430&quot;;}  \t\t\t\t\t\t\t\t\t\t\t   \t\t\t\t\t\t\t   \t}   \t$say_text=&quot;\u0421\u0435\u0439\u0447\u0430\u0441 \u0432 \u0433\u043e\u0440\u043e\u0434\u0435 &quot;.$city.&quot; &quot;.$weather_type.&quot;. T\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u0432\u043e\u0437\u0434\u0443\u0445\u0430 &quot;.$znak.&quot; &quot;.$temp.&quot; &quot;.$text.&quot;. \u0412\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u044c &quot;.$humidity.&quot; &quot;.$humidity_text.&quot;. \u0412\u0435\u0442\u0435\u0440 &quot;.$wind_direction_text.&quot; &quot;.$wind_speed.&quot; \u043c\u0435\u0442\u0440\u043e\u0432 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443. \u0410\u0442\u043c\u043e\u0441\u0444\u0435\u0440\u043d\u043e\u0435 \u0434\u0430\u0432\u043b\u0435\u043d\u0438\u0435 &quot;.$pressure.&quot; &quot;.$pressure_text.&quot; !&quot;; \t$qs = http_build_query(array(&quot;format&quot; =&gt; &quot;mp3&quot;,&quot;lang&quot; =&gt; &quot;ru-RU&quot;,&quot;speaker&quot; =&gt; &quot;jane&quot;,&quot;key&quot; =&gt; &quot;SpeechKit_Cloud_API_Key&quot;,&quot;emotion&quot; =&gt; &quot;good&quot;, &quot;text&quot; =&gt; $say_text)); \/\/ \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \t$ctx = stream_context_create(array(&quot;http&quot;=&gt;array(&quot;method&quot;=&gt;&quot;GET&quot;,&quot;header&quot;=&gt;&quot;Referer: \\r\\n&quot;))); \t$soundfile = file_get_contents(&quot;https:\/\/tts.voicetech.yandex.net\/generate?&quot;.$qs, false, $ctx); \/\/ \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e mp3 \u0444\u0430\u0439\u043b\u0430  \techo($soundfile); ?&gt; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0412 \u0441\u043a\u0440\u0438\u043f\u0442\u0435 \u043d\u0443\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c <b>SpeechKit_Cloud_API_Key<\/b> \u043d\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0412\u0430\u043c\u0438 \u043a\u043b\u044e\u0447.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043f\u0442 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 mp3 \u0444\u0430\u0439\u043b\u0430 \u0434\u043b\u044f \u043d\u043e\u0432\u043e\u0441\u0442\u0435\u0439 news.php<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"php\">&lt;?php $city=$_GET['q']; \t  $data_file=&quot;http:\/\/news.yandex.ru\/&quot;.$city.&quot;\/index.rss&quot;; \/\/ \u0430\u0434\u0440\u0435\u0441 xml \u0444\u0430\u0439\u043b\u0430  $xml = simplexml_load_file($data_file); \/\/ \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u043c xml \u043d\u0430 \u043c\u0430\u0441\u0441\u0438\u0432  $number= rand(1,13); \/\/\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u043d\u043e\u0432\u043e\u0441\u0442\u0438  $news=$xml-&gt;channel-&gt;item[$number]-&gt;description; \/\/\u043d\u043e\u0432\u043e\u0441\u0442\u044c $title=$xml-&gt;channel-&gt;item[$number]-&gt;title; \/\/\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a       $content_news = trim(preg_replace('\/\\s{2,}\/', ' ', $news));\/\/\u0443\u0434\u0430\u043b\u044f\u0435\u043c \u0432\u0435\u0441\u044c \u0445\u043b\u0430\u043c $content_title = trim(preg_replace('\/\\s{2,}\/', ' ', $title));\/\/\u0443\u0434\u0430\u043b\u044f\u0435\u043c \u0432\u0435\u0441\u044c \u0445\u043b\u0430\u043c  $text=$content_title.&quot; - &quot;.$content_news; $search = array('&quot;','&quot;','&nbsp;',')','('); $replace   = array('');  $text = str_replace($search, $replace, $text); $qs = http_build_query(array(&quot;format&quot; =&gt; &quot;mp3&quot;,&quot;lang&quot; =&gt; &quot;ru-RU&quot;,&quot;speaker&quot; =&gt; &quot;jane&quot;,&quot;key&quot; =&gt; &quot;SpeechKit_Cloud_API_Key&quot;,&quot;emotion&quot; =&gt; &quot;good&quot;, &quot;text&quot; =&gt; $text)); \/\/ \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0437\u0430\u043f\u0440\u043e\u0441\u0430 $ctx = stream_context_create(array(&quot;http&quot;=&gt;array(&quot;method&quot;=&gt;&quot;GET&quot;,&quot;header&quot;=&gt;&quot;Referer: \\r\\n&quot;))); $soundfile = file_get_contents(&quot;https:\/\/tts.voicetech.yandex.net\/generate?&quot;.$qs, false, $ctx); \/\/ \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e mp3 \u0444\u0430\u0439\u043b\u0430 echo($soundfile);     ?&gt; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <a name=\"habracut\"><\/a><br \/>  \u0412 \u0441\u043a\u0440\u0438\u043f\u0442\u0435 \u043d\u0443\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c <b>SpeechKit_Cloud_API_Key<\/b> \u043d\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0412\u0430\u043c\u0438 \u043a\u043b\u044e\u0447. \u0414\u0430\u043d\u043d\u0443\u044e \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044e \u043c\u043e\u0436\u043d\u043e \u0442\u0430\u043a\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438 \u0434\u043b\u044f \u043e\u0437\u0432\u0443\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0434\u0430\u0442\u044b \u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u0415\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u044f\u0437\u044b\u043a, \u0442\u0435\u043c\u0431\u0440, \u0433\u043e\u043b\u043e\u0441\u0430 (\u043c\u0443\u0436\u0441\u043a\u0438\u0435 \u0438 \u0436\u0435\u043d\u0441\u043a\u0438\u0435), \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0441\u0438\u043d\u0442\u0435\u0437\u0430 \u0440\u0435\u0447\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 \u043d\u0430 SpeechKit Cloud API \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0438\u0436\u0435.<br \/>  \u041f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0435 \u0432\u044b\u0448\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b, \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445 Google Chrome \u0438 Iceweasel, \u043d\u043e \u0434\u043e\u043b\u0436\u043d\u044b \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0438 \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 HTML 5 Web Audio.<br \/>  PS \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0430\u044f \u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u0430:<br \/>  \u041f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f <a href=\"http:\/\/habrahabr.ru\/post\/136149\/\">\u042f\u043d\u0434\u0435\u043a\u0441.\u0422\u0432\u043e\u044f\u041f\u043e\u0433\u043e\u0434\u0430<\/a><br \/>  <a href=\"https:\/\/pogoda.yandex.ru\/\">\u041f\u043e\u0433\u043e\u0434\u0430 \u043e\u0442 Yandex<\/a><br \/>  <a href=\"https:\/\/news.yandex.ru\/\">\u041d\u043e\u0432\u043e\u0441\u0442\u0438 \u043e\u0442 Yandex<\/a><br \/>  <a href=\"https:\/\/tech.yandex.ru\/speechkit\/cloud\/doc\/dg\/concepts\/speechkit-dg-tts-docpage\/\">SpeechKit Cloud API <\/a><br \/>  \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 SpeechKit Cloud API \u043c\u043e\u0436\u043d\u043e <a href=\"http:\/\/smarthome30.ru\/tts-test.html\">\u0437\u0434\u0435\u0441\u044c<\/a>.<br \/>  \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 <a href=\"https:\/\/www.youtube.com\/watch?v=4YtVxEh8w8o\">Youtube<\/a>, \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c (\u043f\u0440\u0438\u043c\u0435\u0440 \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 7-\u043e\u0439 \u043c\u0438\u043d\u0443\u0442\u044b \u2014 \u0441\u0438\u043d\u0442\u0435\u0437 \u0440\u0435\u0447\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e RHVoice ).<br \/>  \u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u0434 \u043d\u0435 \u043f\u0440\u0435\u0442\u0435\u043d\u0434\u0443\u0435\u0442 \u043d\u0430 \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438 \u0435\u0433\u043e \u0432\u0441\u0435\u0433\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.               <\/p>\n<div class=\"clear\"><\/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=\"http:\/\/habrahabr.ru\/post\/271081\/\"> http:\/\/habrahabr.ru\/post\/271081\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       \u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c! \u0412 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u00ab\u0413\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0439 \u043f\u043e\u0433\u043e\u0434\u043d\u044b\u0439 \u0438 \u043d\u043e\u0432\u043e\u0441\u0442\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0435\u0440\u00bb, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u0440\u0438 \u0432\u044b\u0431\u043e\u0440\u0435 \u0433\u043e\u0440\u043e\u0434\u0430 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u043b, \u043d\u043e \u0438 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u043b \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043f\u0440\u043e\u0433\u043d\u043e\u0437 \u043f\u043e\u0433\u043e\u0434\u044b, \u0430 \u0442\u0430\u043a \u0436\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u0443\u044e \u043d\u043e\u0432\u043e\u0441\u0442\u044c. \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u044d\u0442\u043e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043b\u0441\u044f \u0434\u043b\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u00ab\u0423\u043c\u043d\u044b\u0439 \u0414\u043e\u043c\u00bb, \u043d\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0441 \u043b\u0435\u0433\u043a\u043e\u0441\u0442\u044c\u044e \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u0430\u043d \u043f\u043e\u0434 \u043b\u044e\u0431\u043e\u0439 \u0441\u0430\u0439\u0442, \u0438\u043c\u0435\u044e\u0449\u0438\u0439 \u043d\u0430 \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 PHP, \u0447\u0442\u043e \u0438 \u0431\u044b\u043b\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438. \u0412 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0434\u043b\u044f \u0441\u0438\u043d\u0442\u0435\u0437\u0430 \u0440\u0435\u0447\u0438, \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f SpeechKit Cloud API \u043e\u0442 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 Yandex \u0438 XML \u043f\u0430\u0440\u0441\u0435\u0440 Yandex \u043f\u043e\u0433\u043e\u0434\u044b \u0438 \u043d\u043e\u0432\u043e\u0441\u0442\u0435\u0439, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 PHP.<br \/>  \u0427\u0442\u043e \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438:  <\/p>\n<ul>\n<li>Web \u0441\u0435\u0440\u0432\u0435\u0440 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 PHP (\u043c\u043e\u0436\u043d\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u0438\u043f\u0430 \u0414\u0435\u043d\u0432\u0435\u0440\u0430).<\/li>\n<li>\u041a\u043b\u044e\u0447 Yandex SpeechKit (\u0434\u043b\u044f \u043d\u0435\u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e). <\/li>\n<li>\u0415\u0441\u043b\u0438 \u043a\u043b\u044e\u0447 \u043d\u0435 \u0434\u0430\u044e\u0442 \u0431\u0435\u0437 \u043d\u0430\u043b\u0438\u0447\u0438\u044f \u0443 \u0412\u0430\u0441 \u0441\u0430\u0439\u0442\u0430, \u0442\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0430\u0439\u0442 \u043c\u043e\u0436\u043d\u043e \u043d\u0430 Hostinger.ru. <\/li>\n<li> <a href=\"https:\/\/pogoda.yandex.ru\/static\/cities.xml\">\u0421\u043f\u0438\u0441\u043e\u043a ID \u0433\u043e\u0440\u043e\u0434\u043e\u0432.<\/a><\/li>\n<\/ul>\n<p>  \u0414\u0430\u043d\u043d\u044b\u0439 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432 \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0446\u0435\u043b\u044f\u0445, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442 \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0433\u043e\u0440\u043e\u0434\u043e\u0432, \u0437\u0434\u0435\u0441\u044c \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0435 \u0431\u0443\u0434\u0435\u0442. <br \/>  \u041f\u0440\u0438\u043d\u0446\u0438\u043f \u0440\u0430\u0431\u043e\u0442\u044b:  <\/p>\n<ul>\n<li>\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 mp3 \u0444\u0430\u0439\u043b\u0430, \u0434\u043b\u044f \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0433\u043e\u0440\u043e\u0434\u0430.<\/li>\n<li>\u041f\u0430\u0440\u0441\u0438\u043c XML \u0444\u0430\u0439\u043b, \u043f\u043e\u043b\u0443\u0447\u0430\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b. <\/li>\n<li>\u041a\u043e\u0440\u0440\u0435\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u0441\u043b\u043e\u0432, \u0434\u043b\u044f \u043f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0438\u0437\u043d\u043e\u0448\u0435\u043d\u0438\u044f. <\/li>\n<li>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 mp3 \u0444\u0430\u0439\u043b\u0430 (\u0433\u043e\u043b\u043e\u0441, \u0442\u0435\u043c\u0431\u0440, \u0444\u043e\u0440\u043c\u0430\u0442 \u0444\u0430\u0439\u043b\u0430, \u044f\u0437\u044b\u043a, \u0442\u0435\u043a\u0441\u0442). <\/li>\n<li>\u0413\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c mp3 \u0444\u0430\u0439\u043b. <\/li>\n<li>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043e\u0431\u044a\u0435\u043a\u0442 Audio HTML 5 \u0438 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c \u0444\u0430\u0439\u043b. <\/li>\n<\/ul>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043f\u0442 \u0441 \u0444\u043e\u0440\u043c\u043e\u0439 \u0434\u043b\u044f \u0432\u044b\u0431\u043e\u0440\u0430 \u0433\u043e\u0440\u043e\u0434\u043e\u0432 index.html<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"html\">&lt;!DOCTYPE html&gt; &lt;html lang=&quot;ru&quot;&gt; &lt;head&gt; &lt;title&gt;\u0422\u0435\u0441\u0442 SpeechKit Cloud API \u043e\u0442 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 Yandex.&lt;\/title&gt; &lt;meta charset=&quot;utf-8&quot;&gt; &lt;\/head&gt; &lt;body&gt; &lt;script language=&quot;javascript&quot; type=&quot;text\/javascript&quot;&gt; function Get_Weather() {    var tts_text=document.getElementById('weather').value;    console.log(tts_text); \tvar response=&quot;weather.php?&#038;q=&quot;+encodeURI(tts_text); \/\/\u043f\u0443\u0442\u044c \u0434\u043e mp3 \u0444\u0430\u0439\u043b\u0430 \tvar audio = document.getElementById(&quot;gameMusic&quot;); \t\tif (audio) \t\t{ \t\t\taudio.parentNode.removeChild(audio); \t\t} \t \t\t\/\/ \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u043d\u043e\u0432\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 audio \t\taudio = document.createElement(&quot;audio&quot;); \t\taudio.setAttribute(&quot;id&quot;, &quot;gameMusic&quot;); \t\taudio.setAttribute(&quot;autoplay&quot;, &quot;true&quot;); \t\t\/\/audio.setAttribute(&quot;loop&quot;, &quot;false&quot;); \t \t\tvar mp3 = document.createElement(&quot;source&quot;); \t\tmp3.setAttribute(&quot;src&quot;, response); \t\tmp3.setAttribute(&quot;type&quot;, &quot;audio\/mpeg&quot;); \t \t\taudio.appendChild(mp3); \t\taudio.play(); \t\tdocument.body.appendChild(audio); } function Get_News() {    var tts_text=document.getElementById('news').value;    console.log(tts_text); \tvar response=&quot;news.php?&#038;q=&quot;+encodeURI(tts_text); \/\/\u043f\u0443\u0442\u044c \u0434\u043e mp3 \u0444\u0430\u0439\u043b\u0430 \tvar audio = document.getElementById(&quot;gameMusic&quot;); \t\tif (audio) \t\t{ \t\t\taudio.parentNode.removeChild(audio); \t\t} \t \t\t\/\/ \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u043d\u043e\u0432\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 audio \t\taudio = document.createElement(&quot;audio&quot;); \t\taudio.setAttribute(&quot;id&quot;, &quot;gameMusic&quot;); \t\taudio.setAttribute(&quot;autoplay&quot;, &quot;true&quot;); \t\t\/\/audio.setAttribute(&quot;loop&quot;, &quot;false&quot;); \t \t\tvar mp3 = document.createElement(&quot;source&quot;); \t\tmp3.setAttribute(&quot;src&quot;, response); \t\tmp3.setAttribute(&quot;type&quot;, &quot;audio\/mpeg&quot;); \t \t\taudio.appendChild(mp3); \t\taudio.play(); \t\tdocument.body.appendChild(audio); } &lt;\/script&gt; &lt;h1&gt;&lt;span&gt;\u0422\u0435\u0441\u0442 SpeechKit Cloud API \u043e\u0442 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 Yandex.&lt;\/span&gt;&lt;\/h1&gt; &lt;h2&gt;\u041f\u043e\u0433\u043e\u0434\u0430&lt;\/h2&gt; &lt;select size=&quot;1&quot; onclick=&quot;Get_Weather();&quot; id=&quot;weather&quot;&gt;  \t\t\t &lt;option disabled&gt;\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0433\u043e\u0440\u043e\u0434&lt;\/option&gt;  \t\t\t &lt;option value=&quot;27612&quot;&gt;\u041c\u043e\u0441\u043a\u0432\u0430&lt;\/option&gt;  \t\t\t &lt;option value=&quot;34880&quot;&gt;\u0410\u0441\u0442\u0440\u0430\u0445\u0430\u043d\u044c&lt;\/option&gt; \t\t\t &lt;option value=&quot;26063&quot;&gt;\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433&lt;\/option&gt; \t\t\t &lt;option value=&quot;25913&quot;&gt;\u041c\u0430\u0433\u0430\u0434\u0430\u043d&lt;\/option&gt; &lt;\/select&gt; &lt;h2&gt;\u041d\u043e\u0432\u043e\u0441\u0442\u0438&lt;\/h2&gt; &lt;select size=&quot;1&quot; onclick=&quot;Get_News();&quot; id=&quot;news&quot;&gt;  \t\t\t &lt;option disabled&gt;\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0433\u043e\u0440\u043e\u0434&lt;\/option&gt;  \t\t\t &lt;option selected value=&quot;Astrakhan&quot;&gt;\u0410\u0441\u0442\u0440\u0430\u0445\u0430\u043d\u044c&lt;\/option&gt;  \t\t\t\t&lt;option  value=&quot;Volgograd&quot;&gt;\u0412\u043e\u043b\u0433\u043e\u0433\u0440\u0430\u0434&lt;\/option&gt; \t\t\t\t&lt;option  value=&quot;Krasnodar&quot;&gt;\u041a\u0440\u0430\u0441\u043d\u043e\u0434\u0430\u0440&lt;\/option&gt;\t\t\t\t \t\t\t\t&lt;option  value=&quot;Moscow&quot;&gt;\u041c\u043e\u0441\u043a\u0432\u0430&lt;\/option&gt; \t\t\t\t&lt;option  value=&quot;Saratov&quot;&gt;\u0421\u0430\u0440\u0430\u0442\u043e\u0432&lt;\/option&gt; &lt;\/select&gt; &lt;\/body&gt; &lt;\/html&gt; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0413\u043e\u0440\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043f\u0443\u0442\u0451\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043d\u043e\u0432\u044b\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 <b>option<\/b> \u0432 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435 <b>select<\/b>.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043f\u0442 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 mp3 \u0444\u0430\u0439\u043b\u0430 \u0434\u043b\u044f \u043f\u043e\u0433\u043e\u0434\u044b weather.php<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"php\">&lt;?php \t $id=$_GET[&quot;q&quot;]; \/\/ id \u0433\u043e\u0440\u043e\u0434\u0430 \t $url=&quot;http:\/\/export.yandex.ru\/weather-ng\/forecasts\/&quot;.$id.&quot;.xml&quot;; \/\/ url xml \u0444\u0430\u0439\u043b\u0430      $xml = simplexml_load_file($url); \/\/ \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0438\u0440\u0443\u0435\u043c XML-\u0444\u0430\u0439\u043b \u0432 \u043e\u0431\u044a\u0435\u043a\u0442     \/\/\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:     $city=$xml['city']; \/\/\u0433\u043e\u0440\u043e\u0434     $temp=$xml-&gt;fact-&gt;temperature; \/\/ \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430     $weather_type=$xml-&gt;fact-&gt;weather_type; \/\/ \u0442\u0438\u043f \u043f\u043e\u0433\u043e\u0434\u044b     $humidity=$xml-&gt;fact-&gt;humidity; \/\/ \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u044c     $wind_direction=$xml-&gt;fact-&gt;wind_direction; \/\/ \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u0435\u0442\u0440\u0430     $wind_speed=$xml-&gt;fact-&gt;wind_speed; \/\/ \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432\u0435\u0442\u0440\u0430     $pressure=$xml-&gt;fact-&gt;pressure; \/\/ \u0434\u0430\u0432\u043b\u0435\u043d\u0438\u0435             \t$znak=&quot;\u043f\u043b\u044e\u0441&quot;; \tif($wind_direction==&quot;e&quot;) {\t$wind_direction_text=&quot;\u0432\u043e\u0441\u0442\u043e\u0447\u043d\u044b\u0439&quot;;} \tif($wind_direction==&quot;w&quot;) {\t$wind_direction_text=&quot;\u0437\u0430\u043f\u0430\u0434\u043d\u044b\u0439&quot;;} \tif($wind_direction==&quot;s&quot;) {\t$wind_direction_text=&quot;\u044e\u0436\u043d\u044b\u0439&quot;;} \tif($wind_direction==&quot;n&quot;) {\t$wind_direction_text=&quot;\u0441\u0435\u0432\u0435\u0440\u043d\u044b\u0439&quot;;} \tif($wind_direction==&quot;se&quot;) {\t$wind_direction_text=&quot;\u044e\u0433\u043e-\u0432\u043e\u0441\u0442\u043e\u0447\u043d\u044b\u0439&quot;;} \tif($wind_direction==&quot;ne&quot;) {\t$wind_direction_text=&quot;\u0441\u0435\u0432\u0435\u0440\u043e-\u0432\u043e\u0441\u0442\u043e\u0447\u043d\u044b\u0439&quot;;}  \tif($wind_direction==&quot;sw&quot;) {\t$wind_direction_text=&quot;\u044e\u0433\u043e-\u0437\u0430\u043f\u0430\u0434\u043d\u044b\u0439&quot;;} \tif($wind_direction==&quot;nw&quot;) {\t$wind_direction_text=&quot;\u0441\u0435\u0432\u0435\u0440\u043e-\u0437\u0430\u043f\u0430\u0434\u043d\u044b\u0439&quot;;}  \t\t\t\t\t\t\t\t\t\t\t\t \t$minus_arry=preg_match(&quot;\/(-)\/&quot;, $temp, $minus_out); \tif (!empty($minus_out[1])) \t{ $znak=&quot;\u043c\u0438\u043d\u0443\u0441&quot;; \t\t$temp=str_replace(&quot;-&quot;,&quot;&quot;,$temp); \t} \t\t\t\t\t\t\t \t \/\/\u0433\u0440\u0430\u0434\u0443\u0441   \tif(\t$temp==&quot;1&quot; or $temp==&quot;21&quot; or $temp==&quot;31&quot; or $temp==&quot;41&quot; or $temp==&quot;51&quot; or $temp==&quot;61&quot; or $temp==&quot;71&quot; or $temp==&quot;81&quot; or $temp==&quot;91&quot; or $temp==&quot;101&quot;)    \t{   \t\t\t$text=&quot;\u0433\u0440\u0430\u0434\u0443\u0441&quot;;   \t}    \telse    \t{ \t\/\/\u0433\u0440\u0430\u0434\u0443\u0441\u0430\t   \tif(   $temp==&quot;2&quot;  or $temp==&quot;3&quot;  or $temp==&quot;4&quot;   \t\t\tor $temp==&quot;22&quot; or $temp==&quot;23&quot; or $temp==&quot;24&quot;    \t\t\tor $temp==&quot;32&quot; or $temp==&quot;33&quot; or $temp==&quot;34&quot;    \t\t\tor $temp==&quot;42&quot; or $temp==&quot;43&quot; or $temp==&quot;44&quot;    \t\t\tor $temp==&quot;52&quot; or $temp==&quot;53&quot; or $temp==&quot;54&quot;   \t\t\tor $temp==&quot;62&quot; or $temp==&quot;63&quot; or $temp==&quot;64&quot;    \t\t\tor $temp==&quot;72&quot; or $temp==&quot;73&quot; or $temp==&quot;74&quot;    \t\t\tor $temp==&quot;82&quot; or $temp==&quot;83&quot;\tor $temp==&quot;84&quot;    \t\t\tor $temp==&quot;92&quot; or $temp==&quot;93&quot; or $temp==&quot;94&quot;   \t\t\tor $temp==&quot;102&quot; or $temp==&quot;103&quot;   \t\t) {$text=&quot;\u0433\u0440\u0430\u0434\u0443\u0441\u0430&quot;;} else {$text=&quot;\u0433\u0440\u0430\u0434\u0443\u0441\u043e\u0432&quot;;}  \t\t\t\t\t\t\t\t\t\t\t   \t\t\t\t\t\t   \t}   \t\t\t\t\t\t\t\t\t   \t\t\t\t\t\t\t\t\t   \t\t\t\t\t\t\t\t\t   \t\/\/\u043f\u0440\u043e\u0446\u0435\u043d\u0442   \t\t\t   \tif(\t$humidity==&quot;1&quot; or $humidity==&quot;21&quot; or $humidity==&quot;31&quot; or $humidity==&quot;41&quot; or $humidity==&quot;51&quot; or $humidity==&quot;61&quot; or $humidity==&quot;71&quot; or $humidity==&quot;81&quot; or $humidity==&quot;91&quot; or $humidity==&quot;101&quot;)    \t{   \t\t$humidity_text=&quot;\u043f\u0440\u043e\u0446\u0435\u043d\u0442&quot;;   \t}    \telse    \t{ \t\t\/\/\u043f\u0440\u043e\u0446\u0435\u043d\u0442\u0430\t   \t\tif(   $humidity==&quot;2&quot;  or $humidity==&quot;3&quot;  or $humidity==&quot;4&quot;   \t\t\t\tor $humidity==&quot;22&quot; or $humidity==&quot;23&quot; or $humidity==&quot;24&quot;    \t\t\t\tor $humidity==&quot;32&quot; or $humidity==&quot;33&quot; or $humidity==&quot;34&quot;    \t\t\t\tor $humidity==&quot;42&quot; or $humidity==&quot;43&quot; or $humidity==&quot;44&quot;    \t\t\t\tor $humidity==&quot;52&quot; or $humidity==&quot;53&quot; or $humidity==&quot;54&quot;   \t\t\t\tor $humidity==&quot;62&quot; or $humidity==&quot;63&quot; or $humidity==&quot;64&quot;    \t\t\t\tor $humidity==&quot;72&quot; or $humidity==&quot;73&quot; or $humidity==&quot;74&quot;    \t\t\t\tor $humidity==&quot;82&quot; or $humidity==&quot;83&quot; or $humidity==&quot;84&quot;    \t\t\t\tor $humidity==&quot;92&quot; or $humidity==&quot;93&quot; or $humidity==&quot;94&quot;   \t\t\t\tor $humidity==&quot;102&quot; or $humidity==&quot;103&quot;   \t\t) {$humidity_text=&quot;\u043f\u0440\u043e\u0446\u0435\u043d\u0442\u0430&quot;;} else {$humidity_text=&quot;\u043f\u0440\u043e\u0446\u0435\u043d\u0442\u043e\u0432&quot;;}  \t\t\t\t\t\t\t\t\t\t\t   \t\t\t\t\t\t\t\t   \t}\t   \t\t\t\t\t\t\t\t\t   \t\t\t\t\t\t\t\t\t   \t \/\/\u043c\u0438\u043b\u043b\u0438\u043c\u0435\u0442\u0440   \tif(\t$pressure==&quot;701&quot; or $pressure==&quot;721&quot; or $pressure==&quot;731&quot; or $pressure==&quot;741&quot; or $pressure==&quot;751&quot; or $pressure==&quot;761&quot; or $pressure==&quot;771&quot; or $pressure==&quot;781&quot; or $pressure==&quot;791&quot; or $pressure==&quot;801&quot;)    \t{   \t\t$pressure_text=&quot;\u043c\u0438\u043b\u0438\u043c\u0435\u0442\u0440 \u0440\u0442\u0443\u0442\u043d\u043e\u0433\u043e \u0441\u0442\u043e\u043b\u0431\u0430&quot;;   \t}    \telse    \t{ \t\t\/\/\u043c\u0438\u043b\u043b\u0438\u043c\u0435\u0442\u0440\u0430\t   \t\tif(   $pressure==&quot;702&quot; or $pressure==&quot;703&quot; or $pressure==&quot;704&quot;   \t\t\t\tor $pressure==&quot;722&quot; or <\/p>\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-268602","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/268602","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=268602"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/268602\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=268602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=268602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=268602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}