开发者 |
ebemunk
enej ctlt-dev ubcdev |
---|---|
更新时间 | 2013年1月7日 05:39 |
PHP版本: | 3.3 及以上 |
WordPress版本: | 3.5 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
Metrics are what Evaluate uses to keep track of votes for content on your site (like posts, pages, or any public custome post type). These can be questions like "Was this article helpful?", or be untitled and just have an internal name. Metrics are usually associated with more than one content. They are displayed in order after the main post content. Metrics will have a type and style associated with them. These are:
img/sprite.gif
or through css/evaluate.css
).
By default, Evaluate will display metrics for all content from the type you specified while creating the metric. So, if you create a metric for 'pages', then that metric will be displayed on all content that is a 'page'. If you want to exclude a particular metric from a specific post or page (or custom post type) you can use the Evaluate meta box in the admin post area which lets you choose metrics that you want to exclude from that post.
Evaluate scores the content that belong to a metric by user votes. For one-way (such as a Thumbs Up! for posts), this is just how many votes it has received. For two-way (up/down vote) metrics, the lower bound of the Wilson Score interval is calculated. This tries to better approach the 'real' ratio of up versus down votes than other methods as explained in How Not to Sort by Average Rating. Star rating scores are calculated by a simple Bayesian estimate (tending towards 2.5/5). Polls are not given a score, but their answers are of course expressed in percentages.
You can add the arguments ?evaluate=sort&metric_id=<my_id>
to any page that displays content to sort it by its Evaluate score. Adding order=<asc|desc>
will determine the order.