5.2. Poll Result Weight

Plugin Key


Plugin Value Type
Plugin Value Format

Each string in the list consists of:

  • A regular expression,

  • A comma,

  • A weight between 0.0 and 1.0.

    <string>\.(css|js|png|jpe?g|png|gif|tiff)\?ver=.*$, 0</string>

This mechanism is a generalization of Exclude URLs From Polls Pattern, which can only exclude URLs from a poll (equivalent of assigning the corresponding URLs a weight of 0.0). Here, URLs can be assigned a partial weight, to reduce the importance of certain families of URLs in polls.