{"id":26442,"date":"2013-11-29T05:09:35","date_gmt":"2013-11-29T05:09:35","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/usgs-stream-flow-data\/"},"modified":"2023-03-28T22:18:12","modified_gmt":"2023-03-28T22:18:12","slug":"usgs-stream-flow-data","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/usgs-stream-flow-data\/","author":12975582,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"23.03.01","stable_tag":"23.03.01","tested":"6.2.9","requires":"5.5","requires_php":"7.0","requires_plugins":"","header_name":"USGS Steam Flow Data","header_author":"Chris Kindred","header_description":"","assets_banners_color":"6b8f6c","last_updated":"2023-03-28 22:18:12","external_support_url":"","external_repository_url":"","donate_link":"\/\/www.kindredwebconsulting.com\/wp-plugins\/usgs","header_plugin_uri":"\/\/wordpress.org\/plugins\/usgs-stream-flow-data\/","header_author_uri":"\/\/www.kindredwebconsulting.com","rating":5,"author_block_rating":0,"active_installs":100,"downloads":7948,"num_ratings":6,"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":"ChrisMKindred","date":"2013-11-29 05:52:32"},"1.0.1":{"tag":"1.0.1","author":"ChrisMKindred","date":"2013-11-29 06:11:30"},"1.0.2":{"tag":"1.0.2","author":"ChrisMKindred","date":"2013-12-12 05:14:17"},"1.0.3":{"tag":"1.0.3","author":"ChrisMKindred","date":"2014-04-16 16:00:06"},"1.0.4":{"tag":"1.0.4","author":"ChrisMKindred","date":"2014-04-16 16:17:05"},"1.0.6":{"tag":"1.0.6","author":"ChrisMKindred","date":"2014-04-16 16:37:38"},"1.0.7":{"tag":"1.0.7","author":"ChrisMKindred","date":"2014-04-16 16:43:16"},"2.0.0":{"tag":"2.0.0","author":"ChrisMKindred","date":"2014-07-28 05:42:36"},"2.0.1":{"tag":"2.0.1","author":"ChrisMKindred","date":"2015-03-10 19:26:20"},"2.1":{"tag":"2.1","author":"ChrisMKindred","date":"2015-04-20 17:09:41"},"2.2":{"tag":"2.2","author":"ChrisMKindred","date":"2015-04-20 18:58:33"},"2.2.1":{"tag":"2.2.1","author":"ChrisMKindred","date":"2015-07-28 19:18:06"},"2.3":{"tag":"2.3","author":"ChrisMKindred","date":"2015-09-01 14:13:42"},"2.4":{"tag":"2.4","author":"ChrisMKindred","date":"2016-04-05 02:54:53"},"2.4.1":{"tag":"2.4.1","author":"ChrisMKindred","date":"2017-03-26 03:10:01"},"2.4.2":{"tag":"2.4.2","author":"ChrisMKindred","date":"2017-03-26 03:27:36"},"2.4.3":{"tag":"2.4.3","author":"ChrisMKindred","date":"2017-03-26 03:36:02"},"2.5":{"tag":"2.5","author":"ChrisMKindred","date":"2018-02-19 04:15:22"},"2.5.1":{"tag":"2.5.1","author":"ChrisMKindred","date":"2018-03-27 02:41:29"},"2.5.2":{"tag":"2.5.2","author":"ChrisMKindred","date":"2018-03-28 16:17:26"},"2.6":{"tag":"2.6","author":"ChrisMKindred","date":"2018-03-28 18:55:39"},"2.6.1":{"tag":"2.6.1","author":"ChrisMKindred","date":"2018-03-28 19:44:49"},"2.6.2":{"tag":"2.6.2","author":"ChrisMKindred","date":"2018-03-30 17:37:47"},"2.6.3":{"tag":"2.6.3","author":"ChrisMKindred","date":"2018-03-30 17:52:26"},"2.6.4":{"tag":"2.6.4","author":"ChrisMKindred","date":"2018-05-17 15:53:13"},"2.7":{"tag":"2.7","author":"ChrisMKindred","date":"2018-10-11 14:14:10"},"2.8":{"tag":"2.8","author":"ChrisMKindred","date":"2019-10-14 02:40:18"},"20.08.01":{"tag":"20.08.01","author":"ChrisMKindred","date":"2020-08-25 03:20:39"},"20.08.02":{"tag":"20.08.02","author":"ChrisMKindred","date":"2020-08-25 03:32:41"},"20.10.01":{"tag":"20.10.01","author":"ChrisMKindred","date":"2020-10-10 19:20:19"},"21.05.01":{"tag":"21.05.01","author":"ChrisMKindred","date":"2021-05-17 02:35:50"},"21.11.01":{"tag":"21.11.01","author":"ChrisMKindred","date":"2021-10-31 18:40:12"},"21.11.02":{"tag":"21.11.02","author":"ChrisMKindred","date":"2021-10-31 18:54:11"},"21.11.03":{"tag":"21.11.03","author":"ChrisMKindred","date":"2021-10-31 19:18:42"},"21.11.04":{"tag":"21.11.04","author":"ChrisMKindred","date":"2021-10-31 20:08:31"},"22.04.01":{"tag":"22.04.01","author":"ChrisMKindred","date":"2022-04-01 04:56:44"},"22.05.01":{"tag":"22.05.01","author":"ChrisMKindred","date":"2022-05-02 03:24:53"},"23.03.01":{"tag":"23.03.01","author":"ChrisMKindred","date":"2023-03-28 22:18:12"}},"upgrade_notice":{"1.0.7":"<p>Tested with 3.9\nUpdated plugin Description to fit on WordPress.org\nUpdated ScreenShots to match 3.9<\/p>","1.0.4":"<p>Verifies compatibility with Core 3.9\nUpdate to plugin Description<\/p>","1.0.3":"<p>Verifies compatibility with Core 3.9<\/p>","1.0.2":"<p>Verifies compatibility with Core 3.8<\/p>","1.0.1":"<p>Updated the zip file name to match WordPress created zip file.<\/p>","1.0.0":"<p>Starting Version<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":6},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":2622546,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":2622546,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":2622546,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2622546,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.6","1.0.7","2.0.0","2.0.1","2.1","2.2","2.2.1","2.3","2.4","2.4.1","2.4.2","2.4.3","2.5","2.5.1","2.5.2","2.6","2.6.1","2.6.2","2.6.3","2.6.4","2.7","2.8","20.08.01","20.08.02","20.10.01","21.05.01","21.11.01","21.11.02","21.11.03","21.11.04","22.04.01","22.05.01","23.03.01"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2622546,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2622546,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2622546,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2622546,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"Site Code Search By State","2":"Admin Page","3":"Showing USGS Data as a Widget","4":"Showing USGS Without Graphs in a Post"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[63200,63198,63199,9998,48537],"plugin_category":[],"plugin_contributors":[91157],"plugin_business_model":[],"class_list":["post-26442","plugin","type-plugin","status-publish","hentry","plugin_tags-fly-fishing","plugin_tags-river-flow","plugin_tags-stream-flow","plugin_tags-usgs","plugin_tags-water-level","plugin_contributors-chrismkindred","plugin_committers-chrismkindred"],"banners":{"banner":"https:\/\/ps.w.org\/usgs-stream-flow-data\/assets\/banner-772x250.jpg?rev=2622546","banner_2x":"https:\/\/ps.w.org\/usgs-stream-flow-data\/assets\/banner-1544x500.jpg?rev=2622546","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/usgs-stream-flow-data\/assets\/icon-128x128.jpg?rev=2622546","icon_2x":"https:\/\/ps.w.org\/usgs-stream-flow-data\/assets\/icon-256x256.jpg?rev=2622546","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/usgs-stream-flow-data\/assets\/screenshot-1.png?rev=2622546","caption":"Site Code Search By State"},{"src":"https:\/\/ps.w.org\/usgs-stream-flow-data\/assets\/screenshot-2.png?rev=2622546","caption":"Admin Page"},{"src":"https:\/\/ps.w.org\/usgs-stream-flow-data\/assets\/screenshot-3.png?rev=2622546","caption":"Showing USGS Data as a Widget"},{"src":"https:\/\/ps.w.org\/usgs-stream-flow-data\/assets\/screenshot-4.png?rev=2622546","caption":"Showing USGS Without Graphs in a Post"}],"raw_content":"<!--section=description-->\n<p>This plugin allows you to use a shortcode to display the USGS River Data for a site location.  The shortcode can be included in Posts, Pages and Text Widgets.<\/p>\n\n<p>The shortcode allows you to set your own title and whether or not to show a graph with it.<\/p>\n\n<p>Example Shortcode:\n[USGS location='09080400' title='Great Place To Fish' graph='show']<\/p>\n\n<!--section=installation-->\n<h4>Using The WordPress Dashboard<\/h4>\n\n<ol>\n<li>Navigate to the 'Add New' in the plugins dashboard<\/li>\n<li>Search for 'USGS Steam Flow Data'<\/li>\n<li>Click 'Install Now'<\/li>\n<li>Activate the plugin on the Plugin dashboard<\/li>\n<\/ol>\n\n<h4>Uploading in WordPress Dashboard<\/h4>\n\n<ol>\n<li>Navigate to the 'Add New' in the plugins dashboard<\/li>\n<li>Navigate to the 'Upload' area<\/li>\n<li>Select <code>usgs-stream-flow-data.zip<\/code> from your computer<\/li>\n<li>Click 'Install Now'<\/li>\n<li>Activate the plugin in the Plugin dashboard<\/li>\n<\/ol>\n\n<h4>Using FTP<\/h4>\n\n<ol>\n<li>Download <code>usgs-stream-flow-data.zip<\/code><\/li>\n<li>Extract the <code>usgs-stream-flow-data.zip<\/code> directory to your computer<\/li>\n<li>Upload the <code>usgs-stream-flow-data.zip<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin in the Plugin dashboard<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20use%20the%20short%20code%3F'><h3>How do I use the short code?<\/h3><\/dt>\n<dd><p>Enter [USGS location='09080400' graph='show' title='The Title'].  The location is the Site Code for the station, graph is set to 'show' to show the graphs, the title is what you want to display as a title.  If this is blank it will display the location name.<\/p><\/dd>\n<dt id='how%20do%20i%20find%20the%20site%20code%3F'><h3>How do I find the Site Code?<\/h3><\/dt>\n<dd><p>You can find the Site Code quickly and easily by searching for it based on state in the easy to use Site Code Search tab on the plugin settings page.<\/p><\/dd>\n<dt id='why%20is%20the%20data%20not%20updating%3F'><h3>Why is the data not updating?<\/h3><\/dt>\n<dd><p>There is a built in cache for the data.  The data will update every 15 minutes in order to help with site speed and limit the calls to USGS.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>22.05.01<\/h4>\n\n<ul>\n<li>Added <code>kwc_usgs_before_sitevalues_list<\/code> action before sitevalues list.<\/li>\n<li>Added <code>kwc_usgs_after_sitevalues_list<\/code> action after sitevalues list.<\/li>\n<li>Added <code>kwc_usgs_water_temp<\/code>, <code>kwc_usgs_flow<\/code>, <code>kwc_usgs_gageheight<\/code> filters.<\/li>\n<li>Tested up to WP Core 6.0.<\/li>\n<\/ul>\n\n<h4>22.04.01<\/h4>\n\n<p>adds:\n- Tested with 5.9.2\n- Code Analysis testing for cleaner code and less potential errors.<\/p>\n\n<p>fixes:\n- An error in the shortcode when a location is not found.<\/p>\n\n<h4>21.11.04<\/h4>\n\n<p>fixes: Error where you couldn't have multiple shortcodes on a page.<\/p>\n\n<h4>21.11.03<\/h4>\n\n<p>adds: version bump.<\/p>\n\n<h4>21.11.02<\/h4>\n\n<p>removes: .wordpress-org from deployment<\/p>\n\n<h4>21.11.01<\/h4>\n\n<p>adds: refactor the majority of the plugin to allow for easier changes in the future.\nadds: The ability to change the template for the shortcode by includeing a usgs.php file in your theme or plugin.\nadds: tested up to 5.8.1.\nremoves: WP Support is now 5.5 and up.\nremoves: PHP compatibility is now 7.0 and up.<\/p>\n\n<h4>21.05.01<\/h4>\n\n<p>Tested up to 5.7.2.\nUpdate transient to limit key length.<\/p>\n\n<h4>20.08.02<\/h4>\n\n<p>Update admin remote call to allow for 45 seconds before timeout.<\/p>\n\n<h4>20.08.01<\/h4>\n\n<p>Tested plugin up to 5.5.\nUpdated versioning system to CalVer (https:\/\/calver.org\/).<\/p>\n\n<h4>2.8<\/h4>\n\n<p>Tested plugin up to 5.3.<\/p>\n\n<h4>2.7.1<\/h4>\n\n<p>Adds additional tests and allows for more trusted call to API Url.<\/p>\n\n<h4>2.7<\/h4>\n\n<p>Tested with WordPress 4.9.8<\/p>\n\n<h4>2.6<\/h4>\n\n<p>Update to build process to allow for Travis-ci.org integration and unit testing<\/p>\n\n<h4>2.5.1<\/h4>\n\n<p>Fixes error with Graph Loading<\/p>\n\n<h4>2.5<\/h4>\n\n<p>Updated URL Fetch to use the <code>wp_remote_get()<\/code> function\nTested up to 4.9.4<\/p>\n\n<h4>2.4.2<\/h4>\n\n<p>Updated url for location search<\/p>\n\n<h4>2.4.1<\/h4>\n\n<p>SSL Fix for Graphs<\/p>\n\n<h4>2.4<\/h4>\n\n<p>Tested up to 4.5<\/p>\n\n<h4>2.3<\/h4>\n\n<p>Tested up to 4.3<\/p>\n\n<h4>2.2.1<\/h4>\n\n<p>Tested Up To 4.2.3<\/p>\n\n<h4>2.2<\/h4>\n\n<p>Tested Up To 4.2<\/p>\n\n<h4>2.1<\/h4>\n\n<p>Fixed issue with graphs showing up if there is no data<\/p>\n\n<h4>2.0.1<\/h4>\n\n<p>Fixed issue with Temp Conversion\nTested with WP 4.1.1\nUpdated KWC Logo<\/p>\n\n<h4>2.0.0<\/h4>\n\n<p>Tested with 4.0\nRemoved old MP5 references\nSetup cache busting for images\nLimited calls to USGS to every 15 minutes<\/p>\n\n<h4>1.0.7<\/h4>\n\n<p>Tested with 3.9\nUpdated plugin Description to fit on WordPress.org\nUpdated ScreenShots to match 3.9<\/p>\n\n<h4>1.0.4<\/h4>\n\n<p>Updated Plugin Description<\/p>\n\n<h4>1.0.3<\/h4>\n\n<p>Tested with 3.9<\/p>\n\n<h4>1.0.2<\/h4>\n\n<p>Updated icons to match new admin UI\nTested plugin with 3.8<\/p>\n\n<h4>1.0.1<\/h4>\n\n<p>Updated the zip file name to match WordPress created zip file.<\/p>\n\n<h4>1.0.0<\/h4>\n\n<p>Starting Version<\/p>","raw_excerpt":"This plugin uses shortcodes so you can get the USGS river flow data for a site location.  It also includes a easy to use Site Code Search.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/26442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=26442"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/chrismkindred"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=26442"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=26442"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=26442"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=26442"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=26442"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=26442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}