From 8c6cc0ebd748b6dcd9a354497f0369bfb3686dee Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 3 Nov 2004 20:45:58 +0000 Subject: [PATCH] worked on AOI macros --- lib/WebGUI/i18n/English/WebGUI.pm | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/lib/WebGUI/i18n/English/WebGUI.pm b/lib/WebGUI/i18n/English/WebGUI.pm index 7de9fdd58..e6cfdd093 100644 --- a/lib/WebGUI/i18n/English/WebGUI.pm +++ b/lib/WebGUI/i18n/English/WebGUI.pm @@ -1819,17 +1819,26 @@ The Internationalized label for turning on or off Admin (depending on the state ^AOIHits();
-Displays the number of views for a metadata property/value pair. Example: ^AOIHits(contenttype,sport); would display 99 if this user has looked at content that was tagged "contenttype = sport" 99 times. -

+This macro is for displaying Areas of Interest Hits, which is based on passive profiling +of which wobjects are viewed by users, on a per user basis. The macro takes two arguments, +a metadata property and metadata value, and returns how many times the current user has +viewed content with that property and value.
+^AOIHits(contenttype,sport); would display 99 if this user has looked at content that was tagged "contenttype = sport" 99 times. +

^AOIRank();
-Diplays the highest ranked metadata property for this user. Example ^AOIRank(contenttype); would display "sport" if this user has looked mostly to content tagged "contenttype = sport". Optionally the rank can also be displayed. Example ^AOIRank(contenttype, 2); would return the second highest ranked contenttype. +This macro is for displaying Areas of Interest Rankings, which is based on passive profiling +of which wobjects are viewed most frequently by users, on a per user basis. The macro +takes up to two arguments, a metadata property and the rank of the metadata value to +be returned. If the rank is left out, it defaults to 1, the highest rank.
+^AOIRank(contenttype); would display "sport" if the current user has looked at content tagged "contenttype = sport" the most.
+^AOIRank(contenttype, 2); would return the second highest ranked value for contenttype.

^CanEditText();
Display a message to a user that can edit the current page.

-Example: ^CanEditText(^AdminToggle;); +Example: ^CanEditText(^AdminToggle;);

^EditableToggle; or ^EditableToggle();
@@ -1953,7 +1962,7 @@ The user id of the currently logged in user.

|, - lastUpdated => 1089730066 + lastUpdated => 1099514961 }, '329' => { @@ -4744,12 +4753,12 @@ div.tabs { }, '786' => { - message => q|WebGUI's collateral management system allows you to upload files and text to a central repository for use elsewhere in your content. + message => q|WebGUI's collateral management system allows you to upload files and text to a central repository for use elsewhere in your site.

You can organize collateral into different folders, but names must be unique, even if they are in different folders or of different types. If you attempt to use a name that is already in use, WebGUI will rename the file for you by appending and/or incrementing a number to the end of the name.

|, - lastUpdated => 1096524433 + lastUpdated => 1099512407 }, '440' => {