Method and apparatus for adapting web contents to different display area dimensions
First Claim
11. A machine-readable storage medium having instructions therein, which when executed by a machine, causes the machine to perform a method, the method comprising:
- selecting a first portion of the markup document;
partitioning a second portion of the markup document into one or more parts according to the first portion, the first portion being separate from the second portion;
building a document tree according to a content tree and one or more element trees, wherein the content tree corresponds to the first portion, and wherein each of the one or more element trees corresponds to one of the one or more parts; and
generating a rectified markup document in compliance with a markup language based on the document tree for a user interface presentation.
0 Assignments
0 Petitions
Accused Products
Abstract
A method is disclosed to generate, while preserving text, image, transactional and embedded presentation constraint information, a minimum set of simplified and navigable web contents from a single web document that is oversized for targeted smaller devices. The method includes a parser, a content tree builder, a document tree builder, a document simplifier, a virtual layout engine, a document partitioner, a content scalar and a markup generator. The parser generates markup and data tags from an HTML source document. The builder constructs a content tree. The simplifier transforms the document tree into an intermediate one defined by a subset of XHTML tags and attributes. Layout constraints, including size, area, placement order, and column/row relationships, are calculated for partitioning and scaling the document tree into sub document trees with assigned navigation order and hierarchical hyperlinks. A simplified HTML document is then generated with the markup generator.
58 Citations
20 Claims
-
11. A machine-readable storage medium having instructions therein, which when executed by a machine, causes the machine to perform a method, the method comprising:
-
selecting a first portion of the markup document;
partitioning a second portion of the markup document into one or more parts according to the first portion, the first portion being separate from the second portion;
building a document tree according to a content tree and one or more element trees, wherein the content tree corresponds to the first portion, and wherein each of the one or more element trees corresponds to one of the one or more parts; and
generating a rectified markup document in compliance with a markup language based on the document tree for a user interface presentation. - View Dependent Claims (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 18, 19)
-
-
16-1. The machine-readable storage medium of claim 15, wherein the one or more elements are associated with an order, wherein each of the one or more elements is associated with a position in the order, wherein the first matching data element is associated with a first position in the order, wherein the second data element is associated with a second position in the order, and wherein each element of the one of the one or more parts is positioned between the first position and the second position in the order.
-
20. An apparatus for rectifying a markup document having one or more elements, the apparatus comprising:
-
means for selecting a first portion of the markup document;
means for partitioning a second portion of the markup document into one or more parts according to the first portion, the first portion being separate from the second portion;
means for building a document tree according to a content tree and one or more element trees, wherein the content tree corresponds to the first portion, and wherein each of the one or more element trees corresponds to one of the one or more parts; and
means for generating a rectified markup document in compliance with a markup language based on the document tree for a user interface presentation.
-
Specification