4.2. Rating feature

A context help page can be rated by the user: was this a helpfull information or not? Currently both the community rating and the user rating is shown. The community rating equals to the average of all user ratings. Users can change their rating of a page at any time, the community rating is adjusted accordingly.

The user rating is stored in the user GUI Preferences available from the UserSession.

The community rating is stored in a simple XML file in the application user space: olatdata/system/context_help_rating.xml. The file contains a map with the language, package name and page name as key (e.g. en:org.olat.group.ui.edit:grp-BuddyGroup-des.html) and the summed up ratings and the number of ratings.