Choosing between multiple versions of content to optimize display
First Claim
1. A computer-readable storage medium having stored computer-executable instructions, which when executed perform a method, comprising:
- receiving a request to return content to a display of a computing system;
identifying current conditions corresponding to the computing system;
accessing an element tree that includes a plurality of different pieces of the content that have been provided by a developer and that each correspond to different display properties;
identifying an evaluation order of the different pieces of content, wherein the evaluation order corresponds to a developer specified order for evaluating the different pieces of content based on current conditions and for selecting one of the different pieces of content to be displayed;
evaluating the different pieces of the content in the evaluation order while searching for a match between the current conditions and a matching piece of the content;
upon finding the matching version of the content, selecting the matching piece of the content to be returned to the display or, alternatively, upon determining that there is no match, returning a default piece of the content to the display; and
returning, directly or indirectly, the selected piece of content or, alternatively, the default piece of the content to the display and in response to the request.
2 Assignments
0 Petitions
Accused Products
Abstract
Described is a technology by which a piece of content is selected from among at least two pieces of content in response to a request to return content. The selection is based on an evaluation of current state data against the properties/characteristics of the content. For example, the state data may define a currently available size; each piece of content has associated size properties (e.g., height and width ranges) that can be matched in the selection process. In a layout system, a parent container may request content from a child container that is associated with the selection process. The selection process may, for example, evaluate the child'"'"'s pieces of content in an evaluation order, with the first appropriate matching piece of content selected. If no content matches, a default piece of content, or a code that indicates that no content is to be shown, is returned.
-
Citations
12 Claims
-
1. A computer-readable storage medium having stored computer-executable instructions, which when executed perform a method, comprising:
-
receiving a request to return content to a display of a computing system; identifying current conditions corresponding to the computing system; accessing an element tree that includes a plurality of different pieces of the content that have been provided by a developer and that each correspond to different display properties; identifying an evaluation order of the different pieces of content, wherein the evaluation order corresponds to a developer specified order for evaluating the different pieces of content based on current conditions and for selecting one of the different pieces of content to be displayed; evaluating the different pieces of the content in the evaluation order while searching for a match between the current conditions and a matching piece of the content; upon finding the matching version of the content, selecting the matching piece of the content to be returned to the display or, alternatively, upon determining that there is no match, returning a default piece of the content to the display; and returning, directly or indirectly, the selected piece of content or, alternatively, the default piece of the content to the display and in response to the request. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. In a computing environment, a method implemented by a computing system having a processor and one or more storage media storing instructions for implementing the method, the method comprising:
-
receiving a request to return content to a display of a computing system; identifying current conditions corresponding to the computing system; accessing an element tree that includes a plurality of different pieces of the content that have been provided by a developer and that each correspond to different display properties; identifying an evaluation order of the different pieces of content, wherein the evaluation order corresponds to a developer specified order for evaluating the different pieces of content based on current conditions and for selecting one of the different pieces of content to be displayed; evaluating the different pieces of the content in the evaluation order while searching for a match between the current conditions and a matching piece of the content; upon finding the matching version of the content, selecting the matching piece of the content to be returned to the display or, alternatively, upon determining that there is no match, returning a default piece of the content to the display; and returning, directly or indirectly, the selected piece of content or, alternatively, the default piece of the content to the display and in response to the request. - View Dependent Claims (9, 10, 11, 12)
-
Specification