发明名称 Template-based page layout for web content
摘要 Page layout of web content is performed based on templates. Publishers publish web content referred to as “sources.” Each source comprises one or more assets from one or more asset types. The asset types include title, subtitle, byline, dateline, pull quote, image, video, audio, caption, and in-line text. A content processing system processes the sources using a conversion module and a rule database. The conversion module restructures a received source into a standardized format of the source, wherein each asset of the source is tagged with an asset type according to rules present in the rule database. A layout module interprets the standardized source, determines one or more templates from a template database to use for the layout of the assets of the source, and lays out the assets of the source based on the selected templates.
申请公布号 US9152616(B2) 申请公布日期 2015.10.06
申请号 US201113096989 申请日期 2011.04.28
申请人 Flipboard, Inc. 发明人 Ying Charles H.;Weskamp Marcos A.
分类号 G06F17/24;G06F17/22 主分类号 G06F17/24
代理机构 Fenwick & West LLP 代理人 Fenwick & West LLP
主权项 1. A method for performing client-side page layout of web content using templates, the method comprising: receiving a source comprising a plurality of assets of different asset types; identifying a plurality of candidate templates from a template database, where each identified candidate template comprises a plurality of slots, and where each slot is configured to receive an asset of a particular asset type; for each particular slot of each of the identified candidate templates, calculating a slot subscore by: identifying an aspect ratio of an image asset included in the source,scaling the image asset to fill the particular slot when the particular slot is an image asset type slot,determining an area of the image asset to be cropped based on an area of the scaled image that extends beyond one or more boundaries of the particular slot,determining whether the determined area of the image asset to be cropped included a specified area of the image asset that should not be cropped, andcalculating the slot subscore for the particular slot based at least in part on an amount of cropping to be performed inside the specified area and the determination of whether the determined area of the image asset to be cropped included the specified area; determining a score for each of the plurality of identified candidate templates, wherein the score for an identified candidate template is determined by:aggregating the calculated slot subscores for the plurality of slots included in the identified candidate template, andcomparing a number and types of slots included in the identified candidate template with a number and types of assets included in the source; selecting a particular template from the scored plurality of identified candidate templates based on the scoring; and generating a readable article on a client device, the readable article comprising the assets of the source placed in the readable article according to the selected particular template.
地址 Palo Alto CA US