Abstract:
A plurality of content items for a content stream is determined by a system. The system estimates size dimensions for the content items, and determines a multidimensional layout by placing the content items into two or more adjacent containers based on the size dimensions. The system determines a difference in size between the two or more adjacent containers and adjusts an aspect of one or more of the content items to substantially equalize a size of the two or more containers.
Abstract:
The subject technology discloses configurations for receiving an indication of user activity from a first user with respect to a post, wherein the post includes content shared by a second user, in response to receiving the indication, an activity post providing an indication of the user activity with respect to the post is created, the activity post including the content, and a set of users that the activity post is visible to are identified, the set of users comprising one or more users selected from users associated with the first user in a social graph, the activity post is provided for display to the set of users in response to the indication.
Abstract:
Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for identifying a plurality of items to be displayed to a user, each item including digital content and being associated with a respective timestamp, receiving a plurality of scores, each score being associated with an item of the plurality of items, determining a subset of items to be displayed to the user based on the plurality of scores, the subset of items including items of the plurality of items, grouping items in the subset of items based on respective timestamps to provide a plurality of item groups, for each item group, determining an order of items based on respective scores, and transmitting instructions to display items to the user based on the plurality of item groups and in the order within each item group.