Access Keys:
Skip to content (Access Key - 0)
Home (Access Key - 1)
All spaces... (Access Key - 3)
Log in (Access Key - 5)
Sign up (Access Key - 6)
Toggle Sidebar

rate-table macro


{rate-table} Macro

Examples

Hints and Tips

Monitor ratings across various versions of a page by altering the rating key. For example, on the first version of the page use:

{rate:key=ReadabilityV1}

Then, after updating the page to a degree sufficient to have it re-rated, change the key:

{rate:key=ReadabilityV2}

In the summary table, you can then display both keys as the rating data for V1 will still be retained, even if there is no ratings panel for that version any more:

{rate-table:keys=ReadabilityV1,ReadabilityV2}

This would allow you to see if the second major version of a page was getting improved ratings over the previous version.

Frequently Asked Questions

Q Why do I have to use database ID's when pulling ratings from other pages?
A It was a last minute feature added prior to releasing the macro. As such it's not overly polished and will hopefully be simplified in a later release.
Toggle Sidebar

See Also

Incoming Links


Outgoing Links


Added by Guy Fraser on Nov 24, 2005 13:51, last edited by Guy Fraser on Jul 21, 2008 19:05
Anonymous

Is it possible to allow the rate-table macro to display the usernames of those who voted for each option?

Not at present - the ratings don't track who has rated - they merely use a cookie so that your web browser can tell Confluence that the person looking at the page has rated it.

We could upgrade the macro to track usernames against ratings, however that would likely cause problems in scenarios where site owners want anonymous ratings to be taken (eg. conference sites, etc). I guess a compromise might be to add a new parameter to set the mode of the rating panels so that you can either run in anonymous mode (anyone can rate) or tracked mode (only logged in users can rate)?

Anonymous

Hi,
I like to extract statistics from ratings on other pages and display the same in some other page in chart format. For this it is specified to use ceo(Confluence Entity Object ID) for the content holding the ratings. Can anyone tell me from where to get this ceo. Can I get this using some macro?

When you edit a page, the CEO (Page) id is shown in the address bar.

Anonymous

Hi Dan,
I am trying to get the rating of page using the following command:
{rate-table:keys=PageRating|ceo=594}
Where 594 is the pageId of mine page where I had applied a rate macro with key as 'PageRating'.
But I am not getting the table data it is coming out as all zeros.

It may well be a bug, for which I don't currently have time to fix. RATE-2 shows the same problem, however a solution has yet to be found.

There are several things I would like to do (including making ratings searchable against the content and storing worked out metadata along with the raw stats) ... however it's a time limitation issue.

Anonymous

Has there been any update to this. I still seem to be having this problem. There are multiple ratings on one page (each with unique keys), but I cannot pull these statistics from another page. The above syntax doesn't work nor does a simple

Error formatting macro: rate-table: java.lang.NullPointerException
work

View the rest of this thread  |  3 more comments by 3 persons
Anonymous

I have downloaded rating macro from this site.It is working almost fine.But the problem is when I am trying to give more than one rating the page takes only the last one.It does not count the total rating.So as for

Error formatting macro: rate-table: java.lang.NullPointerException
one.

Where can I find the rate-table macro?

Hi,

Is there any way to limit the rate table to just show the top rated pages in the current space?


Adaptavist Theme Builder Powered by Atlassian Confluence