TV centric layout
First Claim
1. A method of processing a layout for a page, the method comprising:
- receiving a first layout for the page arranged for display at a first resolution; and
generating a second layout for the page from the first layout, the second layout arranged for display at a second resolution different from the first resolution, by;
(a) comparing a set of statistics for said first layout with a set of selected thresholds, (b) horizontally shrinking cells using a selected cell characteristic in response to said comparing to define a shrinkage amount, and (c) growing each cell until a total width equals or exceeds a selected horizontal threshold.
6 Assignments
0 Petitions
Accused Products
Abstract
Displaying a hypermedia document such as an HTML web page on a television display without using horizontal scroll bars, while preserving the look and feel of the web page as originally contemplated by the web page designer. When possible, each web page is reduced to fit within a specified threshold such as the horizontal margins of the display. Any vertical portion of the web page overlapping the vertical margin is accessed through a vertical scroll bar or similar technique. In a first pass, web page reduction includes rendering the web page without any scaling or changes to the web page and recording web page content statistics to obtain a global indicator as to the horizontal size of the entire web page. Content statistics recorded in each cell includes the following cell content characteristics: the width of the largest non-breaking line of elements; the width of the largest element within a non-breaking line; and the width of the largest embeds or non-breaking horizontal sequence of embeds within a cell. If the total width of the cells is within the specified threshold, no further reduction routine is necessary; otherwise each cell width is reduced using a cell characteristic to help define the new width of each cell. After reduction, the total width of the reduced cells is again checked if it is within the specified threshold. If so, the horizontal size of the web page is within the specified threshold is thus, rendered for a second time using the chosen cell characteristic to help define the width of each cell. Otherwise, successive iterations of cell reduction using a different cell characteristic is performed until the total width of each reduced cell is less than the specified threshold or until the entire set of cell characteristics available is exhausted.
-
Citations
27 Claims
-
1. A method of processing a layout for a page, the method comprising:
-
receiving a first layout for the page arranged for display at a first resolution; and
generating a second layout for the page from the first layout, the second layout arranged for display at a second resolution different from the first resolution, by;
(a) comparing a set of statistics for said first layout with a set of selected thresholds, (b) horizontally shrinking cells using a selected cell characteristic in response to said comparing to define a shrinkage amount, and (c) growing each cell until a total width equals or exceeds a selected horizontal threshold.- View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A method of displaying a web page on a television display screen having a horizontal margin, the web page having at least one cell containing web page content, the method comprising the steps of;
-
receiving the web page arranged for display at a resolution different from a resolution of the television display;
processing the web page for display at the resolution of the television display by;
(a) laying out each cell;
(b) recording statistics on the web page content, said statistics including the total width of each cell, the widest non-breaking line of items in each cell, the sum of each said longest non-breaking line of items of each cell, the widest item in each cell, and the sum of each said widest item of each cell;
(c) calculating the total width of each cell used in the web page in response to said statistics;
(d) reducing each cell width to said longest non-breaking line of elements of each cell and calculating the total width of each cell used in the web page, if said total width exceeds the horizontal margin, otherwise growing each cell to create a web page that has a width less than or equal to the horizontal margin;
(e) converting said widest non-breaking line of items in each cell to a breakable line of items and calculating the total width of each cell used in the web page, if said total width exceeds the horizontal margin, otherwise growing each cell to create a web page that has a width less than or equal to the horizontal margin;
(f) setting the width of each cell having an embed to the width of said embed and calculating the total width of each cell used in the web page, if said total width exceeds the horizontal margin, otherwise growing each cell to create a web page that has a width less than or equal to the horizontal margin; and
(g) calculating a scale factor so that if applied to each embed in each cell the total width of each cell is equal to or less than the horizontal margin, if said total width exceeds the horizontal margin, otherwise growing each cell to create a web page that has a width less than or equal to the horizontal margin; and
displaying the processed web page on the television display. - View Dependent Claims (18, 19, 20, 21, 22, 23)
-
-
24. A program recorded in a computer-readable medium for processing a layout of a page, the program comprising the steps of:
-
receiving a first layout for the page arranged for display at a first resolution; and
generating a second layout for the page from the first layout, the second layout arranged for display at a second resolution different from the first resolution, by;
(a) comparing a set of statistics for said first layout with a set of selected thresholds, (b) horizontally shrinking cells using a selected cell characteristic in response to said comparing to define a shrinkage amount, and (c) growing each cell until a total width equals or exceeds a selected horizontal threshold.
-
-
25. An apparatus having a program recorded in a computer-readable medium for processing a layout of a page, the apparatus comprising:
-
means for receiving a first layout for the page arranged for display at a first resolution; and
means for generating a second layout for the page from the first layout, the second layout arranged for display at a second resolution different from the first resolution, by;
(a) comparing a set of statistics for said first layout with a set of selected thresholds, (b) horizontally shrinking cells using a selected cell characteristic in response to said comparing to define a shrinkage amount, and (c) growing each cell until a total width equals or exceeds a selected horizontal threshold.
-
-
26. A program recorded in a computer-readable medium for displaying a web page on a television display screen having a horizontal margin, the web page having at least one cell containing web page content, the program comprising the steps of:
-
receiving the web page arranged for display at a resolution different from a resolution of the television display;
processing the web page for display at the resolution of the television display by;
(a) laying out each cell;
(b) recording statistics on the web page content, said statistics including the total width of each cell, the widest non-breaking line of items in each cell, the sum of each said longest non-breaking line of items of each cell, the widest item in each cell, and the sum of each said widest item of each cell;
(c) calculating the total width of each cell used in the web page in response to said statistics;
(d) reducing each cell width to said longest non-breaking line of elements of each cell and calculating the total width of each cell used in the web page, if said total width exceeds the horizontal margin, otherwise growing each cell to create a web page that has a width less than or equal to the horizontal margin;
(e) converting said widest non-breaking line of items in each cell to a breakable line of items and calculating the total width of each cell used in the web page, if said total width exceeds the horizontal margin, otherwise growing each cell to create a web page that has a width less than or equal to the horizontal margin;
(f) setting the width of each cell having an embed to the width of said embed and calculating the total width of each cell used in the web page, if said total width exceeds the horizontal margin, otherwise growing each cell to create a web page that has a width less than or equal to the horizontal margin; and
(g) calculating a scale factor so that if applied to each embed in each cell the total width of each cell is equal to or less than the horizontal margin, if said total width exceeds the horizontal margin, otherwise growing each cell to create a web page that has a width less than or equal to the horizontal margin; and
displaying the processed web page on the television display.
-
-
27. An apparatus having a program recorded in a computer-readable medium for displaying a web page on a television display screen having a horizontal margin, the web page having at least one cell containing web page content, the apparatus comprising:
-
means for receiving the web page arranged for display at a resolution different from a resolution of the television display; and
means for processing the web page for display at the resolution of the television display by;
(a) laying out each cell;
(b) recording statistics on the web page content, said statistics including the total width of each cell, the widest non-breaking line of items in each cell, the sum of each said longest non-breaking line of items of each cell, the widest item in each cell, and the sum of each said widest item of each cell;
(c) calculating the total width of each cell used in the web page in response to said statistics;
(d) reducing each cell width to said longest non-breaking line of elements of each cell and calculating the total width of each cell used in the web page, if said total width exceeds the horizontal margin, otherwise growing each cell to create a web page that has a width less than or equal to the horizontal margin;
(e) converting said widest non-breaking line of items in each cell to a breakable line of items and calculating the total width of each cell used in the web page, if said total width exceeds the horizontal margin, otherwise growing each cell to create a web page that has a width less than or equal to the horizontal margin;
setting the width of each cell having an embed to the width of said embed and calculating the total width of each cell used in the web page, if said total width exceeds the horizontal margin, otherwise growing each cell to create a web page that has a width less than or equal to the horizontal margin; and
(g) calculating a scale factor so that if applied to each embed in each cell the total width of each cell is equal to or less than the horizontal margin, if said total width exceeds the horizontal margin, otherwise growing each cell to create a web page that has a width less than or equal to the horizontal margin; and
means for displaying the processed web page on the television display.
-
Specification