wiki:SortingResources

Version 3 (modified by jukka, 13 years ago) (diff)

--

Sorting resources

In general we don't filter resources out based on any user properties, but rather sort the results.

Translations of a resource are all shown.

Calculating points for resources

Pieces
  • 1 point for each time piece used in a resource
Learning resources
  • 1 point for each member that has this resource in his collections
  • 10 points for each tip for use that has this resource
Activities
  • 1 point for each member that has this resource in his collections
  • 10 points for each tip for use that has this resource
Tools
  • 1 point for each member that has this resource in his collections
  • 10 points for each tip for use that has this resource
Members
  • 1 point for each piece added
  • 10 points for each learning resource, activity, and tool added
  • 10 points for each tip for use written
  • 1 point for each blog entry
  • 1 point for every member who has contacted this person
Groups
  • 1 point for each member
  • 1 point for each blog entry
  • 1 point for each assigned learning resource

If action is older than month, points are divided by every full month+1. (So, two month old edit is worth 1/3 point.)

Sorting browse and search results

  1. Sort by language
    • first by selected user interface language
    • then by user profile's language selections
    • then english
    • then others
  2. Sort by points

Calculating sizes of resources in tag clouds

  1. For each tag:
    • calculate the sum of the points of all resources that have the tag
    • take a log of the sum
  2. Assign the largest font size to the resource with the largest logsum

Selecting featured resources

Select randomly 3 from:

  • published resources within the section
  • that have a cover image
  • and that are in the top-N list in points
    • where N is 10% of the total amount of resources in the section (ie. with 100 resources, select from top-10, with 5000, select from top 500)

AddComment?