{"id":48550,"date":"2016-05-24T09:54:40","date_gmt":"2016-05-24T09:54:40","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-ng-weather\/"},"modified":"2017-08-15T10:31:02","modified_gmt":"2017-08-15T10:31:02","slug":"wp-ng-weather","status":"closed","type":"plugin","link":"https:\/\/az-tr.wordpress.org\/plugins\/wp-ng-weather\/","author":14953010,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.9","stable_tag":"1.0.9","tested":"4.8.28","requires":"4.5.0","requires_php":"","requires_plugins":null,"header_name":"WP NG Weather","header_author":"Tony Samperi","header_description":"","assets_banners_color":"8fc4ae","last_updated":"2017-08-15 10:31:02","external_support_url":"","external_repository_url":"","donate_link":"\/\/tonysamperi.github.io\/","header_plugin_uri":"\/\/wordpress.org\/plugins\/wp-ng-weather\/","header_author_uri":"\/\/tonysamperi.github.io","rating":0,"author_block_rating":0,"active_installs":20,"downloads":3719,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"tonysamperi","date":"2016-05-24 11:04:41"},"1.0.1":{"tag":"1.0.1","author":"tonysamperi","date":"2016-06-02 13:35:31"},"1.0.2":{"tag":"1.0.2","author":"tonysamperi","date":"2017-01-01 17:58:49"},"1.0.2_v2":{"tag":"1.0.2_v2","author":"tonysamperi","date":"2017-01-01 18:41:51"},"1.0.2_v3":{"tag":"1.0.2_v3","author":"tonysamperi","date":"2017-01-01 18:49:29"},"1.0.3":{"tag":"1.0.3","author":"tonysamperi","date":"2017-02-21 21:34:49"},"1.0.4":{"tag":"1.0.4","author":"tonysamperi","date":"2017-02-21 22:05:41"},"1.0.5":{"tag":"1.0.5","author":"tonysamperi","date":"2017-02-21 22:28:07"},"1.0.6":{"tag":"1.0.6","author":"tonysamperi","date":"2017-07-14 18:53:42"},"1.0.7":{"tag":"1.0.7","author":"tonysamperi","date":"2017-07-15 09:48:42"},"1.0.8":{"tag":"1.0.8","author":"tonysamperi","date":"2017-08-15 09:22:17"},"1.0.9":{"tag":"1.0.9","author":"tonysamperi","date":"2017-08-15 10:26:19"}},"upgrade_notice":{"1.0.0":"<ul>\n<li>It&#039;s actually not an update<\/li>\n<\/ul>","1.0.1":"<ul>\n<li>This will add new weather conditions: &quot;Thunderstorm&quot; and &quot;Hurricane&quot;<\/li>\n<\/ul>","1.0.2":"<ul>\n<li>This will add &quot;Fog&quot; to your weather conditions and improve graphics!<\/li>\n<\/ul>","1.0.3":"<ul>\n<li>This will make ngWeather safer, because it won&#039;t mess with other plugins which may require angularjs<\/li>\n<\/ul>","1.0.4":"<ul>\n<li>This will make ngWeather work again after the broken update 1.0.3. D&#039;oh!<\/li>\n<\/ul>","1.0.5":"<ul>\n<li>This will make ngWeather show a spinner while loading data<\/li>\n<\/ul>","1.0.6":"<ul>\n<li>This will fix compatibility with some templates<\/li>\n<\/ul>","1.0.7":"<ul>\n<li>Version updated<\/li>\n<\/ul>","1.0.8":"<ul>\n<li>Prevent issues on certain wordpress installations<\/li>\n<\/ul>","1.0.9":"<ul>\n<li>A small issue was in the previous release. This will fix it.<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1696847,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1696847,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":1696847,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":1696847,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.2_v2","1.0.2_v3","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1423007,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"wp-ng-weather in the widgets sidebar and in the main content"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1381,4900,7877,4899,162],"plugin_category":[43,59],"plugin_contributors":[95540],"plugin_business_model":[],"class_list":["post-48550","plugin","type-plugin","status-closed","hentry","plugin_tags-easy","plugin_tags-forecast","plugin_tags-temperature","plugin_tags-weather","plugin_tags-widget","plugin_category-customization","plugin_category-utilities-and-tools","plugin_contributors-tonysamperi","plugin_committers-tonysamperi"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-ng-weather_8fc4ae.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-ng-weather\/assets\/screenshot-1.png?rev=1423007","caption":"wp-ng-weather in the widgets sidebar and in the main content"}],"raw_content":"<!--section=description-->\n<p>wp-ng-weather is a simple widget for Wordpress, which allows you to put a weather widget in your website, by using a simple shortcode like this:<\/p>\n\n<blockquote>\n  <p>[ng-weather api-key=\"my-api-key\" city=\"Bergamo\" locale=\"it\"]<\/p>\n<\/blockquote>\n\n<p>No coding is required!\nwp-ng-weather is a wrapper for Tony Samperi's ng-weather (tonysamperi.github.io\/ng-weather\/), which is an AngularJS Directive.\nWeather data is got from http:\/\/www.openweathermap.org, but they need to track api usage.\nSo you'll need your personal API KEY to use this widget, see \"Installation\" to learn how to get one!\nWith a FREE API KEY it's possibile to make 60 calls per minute.<\/p>\n\n<h3>parameters<\/h3>\n\n<ul>\n<li><strong>api-key<\/strong>: Your API KEY you got from openweathermap.org. <strong>REQUIRED<\/strong><\/li>\n<li><strong>city<\/strong>: A string with the name of your city. This isn't required <strong>if<\/strong> you set \"city-id\"<\/li>\n<li><strong>city-id<\/strong>: A string with the ID of your city. This isn't required <strong>if<\/strong> you set \"city\"<\/li>\n<li><strong>locale<\/strong>: A string with your locale. <strong>\"en\"<\/strong> or <strong>\"it\"<\/strong> are supported at the moment. Default value \"en\".<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Register here: https:\/\/home.openweathermap.org\/users\/sign_up. When done, you will be redirected to https:\/\/home.openweathermap.org\/.\nNow in the tab \"API Keys\" - https:\/\/home.openweathermap.org\/api_keys - you'll find your API KEY!<\/li>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/wp-ng-weather<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<\/ol>\n\n<p>and your done!<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"what%20do%20i%20need%20to%20start%3F\"><h3>What do I need to start?<\/h3><\/dt>\n<dd><p>You only need an API KEY. See Installation to learn how to get one!<\/p><\/dd>\n<dt id=\"why%20do%20i%20need%20an%20api%20key%20to%20get%20started%3F\"><h3>Why do I need an API KEY to get started?<\/h3><\/dt>\n<dd><p>Because openweathermap offers both free and paid services.\nA free API KEY gives you up to 60 calls per minute (1 call per second! It's quite a lot!).\nThanks to the API KEY openweathermap can keep track of theirs api usage and avoid abuses!<\/p><\/dd>\n<dt id=\"can%20i%20put%20wp-ng-weather%20in%20the%20main%20content%3F\"><h3>Can I put wp-ng-weather in the main content?<\/h3><\/dt>\n<dd><p>Yes. By putting the following snippet in your article or page:\n[ng-weather api-key=\"my-api-key\" city=\"Bergamo\" locale=\"it\"]<\/p><\/dd>\n<dt id=\"can%20i%20put%20wp-ng-weather%20into%20the%20widgets%20section%3F\"><h3>Can I put wp-ng-weather into the widgets section?<\/h3><\/dt>\n<dd><p>It's possible, by adding the following function to the \"functions.php\" file of your template\nadd_filter('widget_text', 'do_shortcode');\nBut be careful!<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First Release.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Added \"Thunderstorm\" and \"Hurricane\" weather conditions<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Added \"Fog\" and fixed settings select width<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Added Angular check and warning<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Fixed missing base url<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Spinner fixed<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>CSS override prevented<\/li>\n<\/ul>\n\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>Version updated<\/li>\n<\/ul>\n\n<h4>1.0.8<\/h4>\n\n<ul>\n<li>Safe deps load<\/li>\n<\/ul>\n\n<h4>1.0.9<\/h4>\n\n<ul>\n<li>Fixed loading issue<\/li>\n<\/ul>","raw_excerpt":"wp-ng-weather let&#039;s you put a weather widget anywhere in your blog","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/48550","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=48550"}],"author":[{"embeddable":true,"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tonysamperi"}],"wp:attachment":[{"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=48550"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=48550"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=48550"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=48550"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=48550"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=48550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}