{"id":25422,"date":"2013-12-23T17:56:42","date_gmt":"2013-12-23T17:56:42","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/aviation-weather-from-noaa\/"},"modified":"2022-10-31T16:06:12","modified_gmt":"2022-10-31T16:06:12","slug":"aviation-weather-from-noaa","status":"publish","type":"plugin","link":"https:\/\/pe.wordpress.org\/plugins\/aviation-weather-from-noaa\/","author":7720261,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.7.2","stable_tag":"0.7.2","tested":"6.1.10","requires":"3.8","requires_php":"","requires_plugins":"","header_name":"Aviation Weather From NOAA","header_author":"Mark Chouinard","header_description":"","assets_banners_color":"938a82","last_updated":"2022-10-31 16:06:12","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/machouinard\/aviation-weather-from-noaa","header_author_uri":"https:\/\/chouinard.me","rating":5,"author_block_rating":0,"active_installs":100,"downloads":7266,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.4.0":{"tag":"0.4.0","author":"machouinard","date":"2019-10-14 22:04:35"},"0.5.0":{"tag":"0.5.0","author":"machouinard","date":"2019-11-13 05:39:11"},"0.5.1":{"tag":"0.5.1","author":"machouinard","date":"2019-11-19 18:01:45"},"0.6.0":{"tag":"0.6.0","author":"machouinard","date":"2019-11-30 08:08:13"},"0.7.0":{"tag":"0.7.0","author":"machouinard","date":"2019-12-09 02:08:35"},"0.7.1":{"tag":"0.7.1","author":"machouinard","date":"2020-01-22 05:08:38"},"0.7.2":{"tag":"0.7.2","author":"machouinard","date":"2022-10-31 16:06:12"}},"upgrade_notice":{"0.7.2":"<p>Fix expanded display of metar and pireps.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":4},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":978335,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":978335,"resolution":"256x256","location":"assets","locale":"","width":256,"height":257}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":970350,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.4.0","0.5.0","0.5.1","0.6.0","0.7.0","0.7.1","0.7.2"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[5791,10166,4901,10178,4899],"plugin_category":[59],"plugin_contributors":[88308,178235],"plugin_business_model":[],"class_list":["post-25422","plugin","type-plugin","status-publish","hentry","plugin_tags-aviation","plugin_tags-metar","plugin_tags-noaa","plugin_tags-pireps","plugin_tags-weather","plugin_category-utilities-and-tools","plugin_contributors-machouinard","plugin_contributors-ranchhand6","plugin_committers-machouinard"],"banners":{"banner":"https:\/\/ps.w.org\/aviation-weather-from-noaa\/assets\/banner-772x250.jpg?rev=970350","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/aviation-weather-from-noaa\/assets\/icon-128x128.png?rev=978335","icon_2x":"https:\/\/ps.w.org\/aviation-weather-from-noaa\/assets\/icon-256x256.png?rev=978335","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<ul>\n<li>Display METAR &amp; TAF info from NOAA's Aviation Digital Data Service<\/li>\n<li>Display up to 6 hours before now<\/li>\n<li>PIREPs up to 200sm<\/li>\n<li>Create multiple instances using either widget or shortcode<\/li>\n<li>WP-CLI Integration<\/li>\n<\/ul>\n\n<h4>Gutenberg Block<\/h4>\n\n<p>A new <code>AWFN Block<\/code> can be found in the Widgets section.<\/p>\n\n<h4>Shortcode Usage: ( shown with defaults )<\/h4>\n\n<pre><code>[adds_weather apts='KSMF' hours=2 show_metar=1 show_taf=1 show_pireps=1 show_station_info=1 radial_dist=100 title='']\n<\/code><\/pre>\n\n<p>Data is cached for 30 minutes using the WordPress Transients API.<\/p>\n\n<h4>Included Filter Hooks:<\/h4>\n\n<ul>\n<li>adds_kses: Array of permitted HTML tags.<\/li>\n<li>adds_custom_css: URL of a user-supplied stylesheet.  Supplying a stylesheet in theme's directory ( 'css\/aviation_weather_from_noaa.css' ) will also override stylesheet.<\/li>\n<\/ul>\n\n<h4>Styling<\/h4>\n\n<ul>\n<li>Copy <code>css\/aviation_weather_from_noaa.css<\/code> from plugin directory into theme directory, keeping that file structure.<\/li>\n<li>Make desired changes.<\/li>\n<li>Plugin will load this stylesheet instead of its own.<\/li>\n<\/ul>\n\n<p>Code and support available at <a href=\"https:\/\/github.com\/machouinard\/aviation-weather-from-noaa\" title=\"GitHub Repo\">GitHub<\/a><\/p>\n\n<!--section=installation-->\n<h4>Manual Installation<\/h4>\n\n<ol>\n<li>Upload the entire <code>\/aviation-weather-from-noaa<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate Aviation Weather from NOAA through the 'Plugins' menu in WordPress.<\/li>\n<\/ol>\n\n<h4>WP_CLI Installation<\/h4>\n\n<pre><code>wp plugin install aviation-weather-from-noaa --activate\n<\/code><\/pre>\n\n<h4>WP_CLI Configuration<\/h4>\n\n<ul>\n<li>WP_CLI commands should work as expected out of the box.\nwp awfn --help<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20you...'><h3>Can you...<\/h3><\/dt>\n<dd><p>Support will be made available at the <a href=\"https:\/\/github.com\/machouinard\/aviation-weather-from-noaa\" title=\"GitHub Repo\">GitHub Repo<\/a><\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.7.2<\/h4>\n\n<ul>\n<li>Fix minification issue preventing metar and pirep sections from expanding.<\/li>\n<li>Use Gulp to minify JS<\/li>\n<\/ul>\n\n<h4>0.7.1<\/h4>\n\n<ul>\n<li>Upgrade FontAwesome to v5<\/li>\n<\/ul>\n\n<h4>0.7.0<\/h4>\n\n<ul>\n<li>Treat radial_dist and hours_before_now and their defaults as strings to fix block error<\/li>\n<li>Fix admin styling issue with Title only being 100px wide<\/li>\n<\/ul>\n\n<h4>0.6.0<\/h4>\n\n<ul>\n<li>Added Gutenberg Block.<\/li>\n<\/ul>\n\n<h4>0.5.1<\/h4>\n\n<ul>\n<li>Update add_management_page() args to prevent PHP notice<\/li>\n<\/ul>\n\n<h4>0.5.0<\/h4>\n\n<ul>\n<li>Still caching data but loading via Ajax to get around CDN issues<\/li>\n<li>Fix PHP notices<\/li>\n<\/ul>\n\n<h4>0.4.0<\/h4>\n\n<ul>\n<li>Separate functionality into individual classes<\/li>\n<li>Improve use of transients and options including deletion on uninstall<\/li>\n<li>Only display most recent METAR &amp; TAF<\/li>\n<li>Add decoded METAR<\/li>\n<li>Show\/hide decoded METAR and PIREPS<\/li>\n<li>WP-CLI Integration with error logging<\/li>\n<li>Removed filter hooks for styling wrappers<\/li>\n<\/ul>\n\n<h4>0.3.8<\/h4>\n\n<ul>\n<li>Add ability to not display Metar<\/li>\n<li>Add check for PHP version 3.3<\/li>\n<\/ul>\n\n<h4>0.3.7<\/h4>\n\n<ul>\n<li>Add styling<\/li>\n<li>Add hooks to filter styling<\/li>\n<li>Add option for theme supplied stylesheet<\/li>\n<\/ul>\n\n<h4>0.3.6<\/h4>\n\n<ul>\n<li>Add unit tests<\/li>\n<\/ul>\n\n<h4>0.3.5<\/h4>\n\n<ul>\n<li>Cast values as bool instead of using boolval(), which requires PHP &gt;= 5.5<\/li>\n<\/ul>\n\n<h4>0.3.4a<\/h4>\n\n<ul>\n<li>Remove local development files from SVN ( basically v0.3.3 without the extra files )<\/li>\n<\/ul>\n\n<h4>0.3.3<\/h4>\n\n<ul>\n<li>Fix code that was preventing TAF from displaying<\/li>\n<li>Fix transients not being deleted on update<\/li>\n<li>Add check for USA, Canada and Australia if 3 characters entered for ICAO<\/li>\n<\/ul>\n\n<h4>0.3.1<\/h4>\n\n<ul>\n<li>Refactor per WordPress coding standards<\/li>\n<li>Replace cURL and allow_url_fopen() with wp_remote_get()<\/li>\n<li>Add check to limit hours before now to 6 in shortcode<\/li>\n<li>Add checks for empty\/missing values<\/li>\n<li>Better sanitizing<\/li>\n<\/ul>\n\n<h4>0.3.0<\/h4>\n\n<ul>\n<li>Added ability to use cURL if allow_url_fopen() is disabled<\/li>\n<\/ul>\n\n<h4>0.2.7<\/h4>\n\n<ul>\n<li>Fixed readme errors<\/li>\n<li>Added GitHub link<\/li>\n<\/ul>\n\n<h4>0.2.6<\/h4>\n\n<ul>\n<li>Added transients API so we don't hit NOAA with every page load<\/li>\n<\/ul>\n\n<h4>0.2.4<\/h4>\n\n<ul>\n<li>Added custom title to widget + shortcode<\/li>\n<\/ul>\n\n<h4>0.2.0<\/h4>\n\n<ul>\n<li>Added ability to hide or display TAF<\/li>\n<li>Added shortcode<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>First release<\/li>\n<\/ul>","raw_excerpt":"Aviation weather data from NOAA&#039;s Aviation Digital Data Service (ADDS)","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/25422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=25422"}],"author":[{"embeddable":true,"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/machouinard"}],"wp:attachment":[{"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=25422"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=25422"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=25422"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=25422"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=25422"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=25422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}