Title: µMint Plugin
Author: jwriteclub
Published: <strong>2008 年 10 月 23 日</strong>
Last modified: 2008 年 12 月 6 日

---

搜尋外掛

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

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

# µMint Plugin

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

[下載](https://downloads.wordpress.org/plugin/micromint.0.4.1.zip)

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

 [技術支援](https://wordpress.org/support/plugin/micromint/)

## 外掛說明

**Now 2.7 Compatible!**

µMint is a slim plugin to integrate statistics from Shaun Inman’s [Mint](http://haveamint.com)
statistics package into WordPress*.

In addition to the WordPress plug in, µMint includes two different mechanisms for
creating an API for Mint. µMint is designed to work with both the Exposé API, by
Adam Livesley as well as the included API, µAPI for Mint. Furthermore, there is 
a development version of a connector whcih allows WordPress to directly query Mint,
when the two share a database.

 * µMint does require a valid Mint installation to function.

_Thanks to corouke for sorting out several annoying bugs._

### Notes

 * As of this release, the local integration is not currently shipping with the 
   plugin. I had several instances of mass data corruption on the testbed, and don’t
   want to ship this integration until I am comfortable with the data integrity.
   The theory is that in an installation where WordPress and Mint both share a database,
   WordPress will simply query the Mint datatables directly without needing the 
   API
 * You cannot have both the µAPI and the Exposé API installed at the same time.
 * Stats are only fetched every 10 minutes and cached. If you need a different value,
   you can edit the `$MICROMINT_INTERVAL` value at the top of microMint.php. This
   needs to be something which can be fed into php strtotime function.
 * If you want to update the stats **right now**, or just want to see some debugging
   information, append &debug to the end of the µMint configuration page. This will
   both print debug information as well as perform and immediate update
 * If you absolutely **have** to change the widgets, edit microMint.widget.php (
   sidebar) and mircoMint.dashboard.php
 * The new dashboard design is currently 2.7+ only. Pre 2.7 still uses the old design.

### Known Issues

 * Please post any questions or bugs on the [Version Installation Page] (http://
   compu.terlicio.us/code/plugins/mint/micro-mint-installation/). Feature requests
   and comments of a more general nature should go on the [µAudio Home Page] (http://
   compu.terlicio.us/code/plugins/mint/).
 * When used with the Exsposé API, error information is not that imaginative.
 * API keys using non-alphanumeric characters don’t work

## 螢幕擷圖

[⌊The µMint dashboard widget.⌉⌊The µMint dashboard widget.⌉[

The µMint dashboard widget.

[⌊The µMint management page.⌉⌊The µMint management page.⌉[

The µMint management page.

[⌊The µMint logo.⌉⌊The µMint logo.⌉[

The µMint logo.

[⌊An µMint sidebar widget (configured to show total visitors)⌉⌊An µMint sidebar 
widget (configured to show total visitors)⌉[

An µMint sidebar widget (configured to show total visitors)

## 安裝方式

The most basic installation simply requires that you upload the ‘micromint’ folder
to your /wp-content/plugins directory. Then, from the Administration -> Plugins 
menu, simply activate the plugin and indicate where Mint is installed. Now the Mint
tracking code is automatically inserted into wordpress. Done.

In order to integrate statistics into WordPress, you need to install an API for 
Mint. There are currently two supported options, the Exposé pepper, by Adam Livesley
or the µAPI which is heavily based on the Exposé code, with some improvements. The
µAPI is distributed along with this package. In the future, I hope to discontinue
the µAPI and simply provide an exposure for Exposé, but at this time it is not mature
enough to be the reccomended option. Although both pepper are supported, at this
time I reccomend the µAPI pepper for several reasons:

Although somewhat convoluted there is a way that the Exposé pepper can expose priveledged
information. µAPI patches this.

The µAPI includes better formed, XML based error responses, allowing the client 
application to integrate better.

The µAPI is currently 100% compatible with Exposé exposures, as it uses the same
serializer.

µAPI has been more extensively tested with this release.

**Please Note:** You cannot have both Exposé and µAPI installed concurently. If 
you already have Exposé installed (with Firemint, for example), you should simply
drop the included `/exposures/micro.php` file into the /exposures folder of your
Exposé installation

To install the API (installation is the same for both), simply upload the pepper
to the appropriate folder in mint (/pepper/chrisoconnell/ and /pepper/84degrees/
for µAPI and Exposé respectively). Go to the Mint control panel and enable the API.
Enter an API key. If you are using the Exposé API, make sure that the micro.php 
file is in /pepper/84degrees/expose/exposures/.

In wordpress goto ‘Settings > µMint’. Change your mint URL if neccessary. Select“
Integrate Mint statistics into WordPress?”. Select the appropriate API and enter
the API key.

To setup the sidebar widget, visit ‘Design > Widgets’. You can manually configure
which datafields are displayed as well as display labels for different data.

## 常見問題集

### How can I see when µMint Last Updated / Update Now?

Append _&debug_ to the end of the url on the µMint configuration page.

## 使用者評論

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

## 參與者及開發者

以下人員參與了開源軟體〈µMint Plugin〉的開發相關工作。

參與者

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

[將〈µMint Plugin〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/micromint)

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

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

## 變更記錄

_0.4.1_

 * Fixed missing images

_0.4_

 * Added 2.7 compatible dashboard widget
 * Added a new dashboard widget design
 * Fixed numbers to display using number_format
 * Fixed a potential API bug.

_0.3.2_

 * Fixed incorrect paths when auto-update is run
 * Updated documentation
 * Fixed some typos

_0.3.1_

 * Documentation added.
 * Screenshots added.

_0.3_

 * Initial public release.

## 中繼資料

 *  版本 **0.4**
 *  最後更新 **18 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 2.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **2.7**
 *  語言
 * [English (US)](https://wordpress.org/plugins/micromint/)
 * 標籤:
 * [dashboard widget](https://tw.wordpress.org/plugins/tags/dashboard-widget/)[jquery](https://tw.wordpress.org/plugins/tags/jquery/)
   [mint](https://tw.wordpress.org/plugins/tags/mint/)[statistics](https://tw.wordpress.org/plugins/tags/statistics/)
   [stats](https://tw.wordpress.org/plugins/tags/stats/)
 *  [進階檢視](https://tw.wordpress.org/plugins/micromint/advanced/)

## 評分

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

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

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

## 參與者

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

## 技術支援

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

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

## 贊助

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

 [ 贊助這個外掛 ](http://compu.terlicio.us/)