{"id":2858,"date":"2017-06-26T12:04:19","date_gmt":"2017-06-26T10:04:19","guid":{"rendered":"http:\/\/meteotemplate.com\/blog\/?p=2858"},"modified":"2017-06-26T12:06:23","modified_gmt":"2017-06-26T10:06:23","slug":"new-block-u-k-warnings","status":"publish","type":"post","link":"https:\/\/meteotemplate.com\/blog\/?p=2858","title":{"rendered":"New Block &#8211; U.K. &#8211; Warnings"},"content":{"rendered":"<p>Hi guys,<\/p>\n<p>finally I managed to come up with some warnings block for the U.K., originally I wanted to use the official XML feed provided by MetOffice, however the problem is that all it provides is the date, affected areas, level and name (rain, hail etc.) and no details about it whatsoever. This would be useless since this can already be achieved by the regional EU warnings block from Meteoalarm. In the end I therefore decided to do it slightly differently and in a more complicated way, but having it tested by one of you, surprisingly it seems to work fine.<\/p>\n<p><a href=\"http:\/\/www.meteotemplate.com\/template\/indexBlockDemoWide.php?block=warningsUK\" target=\"_blank\" rel=\"noopener\">DEMO<\/a><\/p>\n<p>Enjoy<\/p>\n<div style=\"min-height: 30px;display: inline-block;\"><input id=\"2858\" style=\"float: right;max-width: 50px;\" src=\"https:\/\/meteotemplate.com\/blog\/wp-content\/plugins\/wp-advanced-pdf\/asset\/images\/pdf.png\" alt=\"#TB_inline?height=230&amp;width=400&amp;inlineId=examplePopup1\" title=\"Export pdf to your Email\" class=\"thickbox export-pdf\" type=\"image\" value=\"Export to PDF\" \/><\/div>","protected":false},"excerpt":{"rendered":"<p>Hi guys, finally I managed to come up with some warnings block for the U.K., originally I wanted to use the official XML feed provided by MetOffice, however the problem is that all it provides is the date, affected areas, level and name (rain, hail etc.) and no details about it whatsoever. This would be &#8230; <a title=\"New Block &#8211; U.K. &#8211; Warnings\" class=\"read-more\" href=\"https:\/\/meteotemplate.com\/blog\/?p=2858\">Read more<span class=\"screen-reader-text\">New Block &#8211; U.K. &#8211; Warnings<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":494,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[85],"tags":[531],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/meteotemplate.com\/blog\/wp-content\/uploads\/2016\/03\/gb.png","_links":{"self":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2858"}],"collection":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2858"}],"version-history":[{"count":2,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2858\/revisions"}],"predecessor-version":[{"id":2860,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2858\/revisions\/2860"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/494"}],"wp:attachment":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2858"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}