內容簡介
需求
WordPress 2.2 或 2.0.x/2.1.x,需使用 WordPress Widgets
PHP 4.3.0 或更新版本(用於函數 file_get_contents)
從 Compete.com 獲取 API 金鑰(您可以使用提供的 API 金鑰,但每天僅限制為 1000 次請求)
特點
顯示有關您的網站或您選擇的任何網站的數據
通過小工具管理幾乎所有方面的編輯
對於高流量站點進行緩存
格式
您可以編輯“小工具格式”以更改信息的顯示方式。要訪問變數,請使用以下格式:
%rank% - 網站排名
%icon% - 跟您的流量排名有關的圖示(根據選項的大小或小)
%count% - 人數統計
%host% - 用於查找的主機名稱
%link% - 連結到主機的 compete 頁面
%compete% - compete 連結 - Compete.com
默認格式如下:
<span style=”float:right;”><img src=”%icon%” alt=”%rank%” /></span>
<a href=”%link%”>%host%</a><br />
排名: %rank%<br />
人數: %count%<br />
%compete%
外掛標籤
開發者團隊
原文外掛簡介
Requirements
WordPress 2.2 or 2.0.x/2.1.x with WordPress Widgets
PHP 4.3.0 or greater (needed for function file_get_contents)
API Key from Compete.com (You can use the one supplied, but that is limited to 1000 requests a day)
Features
Displays data about your site or any site you choose
Edit nearly all aspects of it via widget admin
Caching for large traffic sites
Formatting
You can edit ‘Widget Formatting’ to change how the info is displayed. To access the variables, use this formatting:
%rank% – Rank of the site
%icon% – The icon relating to your traffic rank (large or small depending on options)
%count% – People count
%host% – Hostname used in lookup
%link% – Link to the compete page for the host
%compete% – The compete link – Compete.com
The default formatting is:
%host%
Ranking: %rank%
People: %count%
%compete%
