Title: USGS River Conditions
Author: manifestcreative
Published: <strong>2012 年 1 月 24 日</strong>
Last modified: 2012 年 1 月 24 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/usgs-streamflow-data.svg)

# USGS River Conditions

 由 [manifestcreative](https://profiles.wordpress.org/manifestcreative/) 開發

[下載](https://downloads.wordpress.org/plugin/usgs-streamflow-data.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/usgs-streamflow-data/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/usgs-streamflow-data/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/usgs-streamflow-data/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/usgs-streamflow-data/#developers)

 [技術支援](https://wordpress.org/support/plugin/usgs-streamflow-data/)

## 外掛說明

This is a WordPress plugin that fetches streamflow and river data from the USGS.
It’s intended use is for river guides and fishing outfitters to report conditions.
It may also be useful for rafting companies and others who offer services related
to rivers and streams.

 * [Documentation on USGS API](http://waterservices.usgs.gov/rest/IV-Service.html)
 * [Data Source](http://waterservices.usgs.gov/nwis/iv?format=json,1.1&stateCd=mt&parameterCd=00060,00065,00010&siteType=ST)
 * [How to Locate USGS sites](http://wdr.water.usgs.gov/nwisgmap/index.html)

## 安裝方式

 1. Upload `plugin-name.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Begin by specifying the rivers you’d like to display. Identified as an array within
    the function. `<?php $rivers = usgs_fetch_sites(array('jefferson','madison','bighole','
    beaverhead','ruby'));` ?>
 4. Choose which data parameters to include (stream discharge, temperature, etc), or
    leave blank to include all. `<?php $data_params = usgs_fetch_dataParameters();`?
    >
 5. Place a call to fetch the JSON from USGS `<?php $riverData = usgs_fetch_riverData(
    $rivers,$data_params); ?>`
 6. Display the river data as an unordered list `<?php usgs_display_RiverData($riverData,
    $showMap=false); ?>`
 7. Show a static Google map identifying the locations `<?php usgs_display_map($riverData,'
    riverDataMap','riverMap',650,450,$maptype='terrain',$echo=true); ?>`

## 常見問題集

#### Will I be able to use this plugin without modifying my theme?

No. You’ll need to have basic familiarity with PHP, HTML and CSS for this plugin
to work as intended. Future releases will attempt to address this and make it more
user friendly.

#### Do you offer support

Generally no. If you wish to request support you may do it [through my personal site](http://philipdowner.com/2012/01/usgs-streamflow-data/).
Since this is my first publicly release plugin, if support requests become overwhelming,
I’ll likely disable support all together.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈USGS River Conditions〉的開發相關工作。

參與者

 *   [ manifestcreative ](https://profiles.wordpress.org/manifestcreative/)

[將〈USGS River Conditions〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/usgs-streamflow-data)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/usgs-streamflow-data/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/usgs-streamflow-data/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/usgs-streamflow-data/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/usgs-streamflow-data/)。

## 變更記錄

#### 1.0

 * Public release

## 中繼資料

 *  版本 **1.01**
 *  最後更新 **14 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 2.9 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.3.2**
 *  語言
 * [English (US)](https://wordpress.org/plugins/usgs-streamflow-data/)
 * 標籤:
 * [fishing](https://tw.wordpress.org/plugins/tags/fishing/)[USGS](https://tw.wordpress.org/plugins/tags/usgs/)
 *  [進階檢視](https://tw.wordpress.org/plugins/usgs-streamflow-data/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/usgs-streamflow-data/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/usgs-streamflow-data/reviews/)

## 參與者

 *   [ manifestcreative ](https://profiles.wordpress.org/manifestcreative/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/usgs-streamflow-data/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://philipdowner.com/)