Recombee Docs
Visit recombee.comStart Free
docs20User Documentation
adminuiAdmin UI
reql32ReQL
codeAPI Clients & Integrations
cookhatScenario Recipes
suitcaseMisc
News Recipes / Homepage / Top Stories

Top Stories

Introduction

The Top Stories section is a key feature in most news platforms, designed to spotlight the most significant, trending, and engaging stories of the day.

This recipe will guide you in setting up a Top Stories scenario that blends up-to-date news articles, personalized recommendations based on user behavior, and editorial curation.

Scenario Setup

In the Recombee Admin UI, navigate to the Scenarios section and select Create Scenario.

  1. Enter a Scenario ID, such as "top-stories"
  2. Choose Recommendation type - Items to User
Admin UI - Scenario Setup

Logic

The Logic determines the behavior of the recommendation engine.

  • Select the news:daily-news logic type from the News models. This Logic prioritizes delivering top daily stories tailored to your audience.

You can configure the following parameters to refine the recommendations.

editorialPicks An optional list of editor-selected stories that will be prepended before algorithmically recommended content. This list can be managed:

  • Directly in the Recombee Admin UI.
  • Dynamically via the API parameter in the recommendation request, enabling integration with an external CMS.

The publishedTimestamp specifies the property in your item catalog that stores the article's publication timestamp. This ensures that the model can prioritize fresh articles.

Admin UI - Logic

Filters

Tip: Recent Articles Filter

Boosters

Boosters allow you to influence the recommendation engine to prioritize certain types of content. For example, you can boost promoted content or articles handpicked by editors to give them higher visibility.

Tip: Boost Editor's Picks

Requesting Recommendations

There are three ways to retrieve recommendations.

  1. No-Code Widget – create a No-Code Widget using the visual editor in the Admin UI to embed recommendations without coding.
  2. Widget SDKs – use the SDK for a Carousel, Grid, or Feed to display the recommendations in the design of your choice. Use the Recommend Items to User endpoint when initializing the widget.
  3. API SDK – request the Recommend Items to User endpoint of the Recombee API using an SDK of your choice.

For further details, visit the Integration tab in the scenario configuration within the Admin UI.

Multiple Recommendation Boxes on the Homepage

If your homepage includes multiple recommendation sections — such as personalized category-based sections or cross-site recommendations — you typically want to avoid duplication of content among the boxes. To achieve this:

The Widget SDKs handle this functionality automatically.

© Copyright 2025, Recombee s.r.o
docs.recombee.com