renderstyle
Type: string
Default:
Context: prediction
About this parameter
If and how should the recommendations be rendered: list, content, tree, sort, advanced or pills.
Parameter value | Explanation |
---|---|
list | The default way which results in a list where each LI contains an A that links to the page. If data-listcols is combined with renderstyle="list" the result is formatted as a table. |
content | Each hit is supplemented with an image and preamble from the recommended page. Depending on whether the page has been able to be spun correctly |
tree | Renders a sorted structure |
sort | Sorts the links that already exist in a list. When rendering is complete, "rek-sorting-done" is added as a class to parent elements so they can enable the element to be displayed. |
advanced | Often used for news recommendations. Includes image, title and preamble. |
pills | Creates oval shaped links with the appearance called "pills" |
Usage examples
<div class="rek-prediction" data-renderstyle="advanced"></div>