Apparatus and method for enabling composite style sheet application to multi-part electronic documents
First Claim
1. A method of generating a composite style sheet used for transforming an electronic document, comprising:
- identifying a plurality of subset style sheets based on (i) content of the electronic document, (ii) particular rendering characteristics of a client device to which the electronic document is to be sent, and (iii) a type of device of the client device;
merging the plurality of subset style sheets to generate the composite style sheet;
storing the composite style sheet in a composite style sheet repository, wherein the stored composite style sheet is associated with the client device and wherein the composite style sheet repository comprises a plurality of composite style sheets, with each of the plurality of composite style sheets comprising a plurality of subset style sheets previously selected and merged together to create a respective one of the plurality of composite style sheets based upon rendering characteristics of a previous client device that previously requested the electronic document;
receiving a request for the electronic document by the client device;
determining if the composite style sheet for the electronic document is present in the composite style sheet repository; and
rendering the electronic document using the composite style sheet that is present.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus and method for enabling composite style sheet application to multi-part electronic documents is provided. The apparatus and method identify content of a requested electronic document and determine subset style sheets that correspond to the identified content. Certain ones of these subset style sheets are selected based on, for example, requesting device characteristics, for use in generating a composite style sheet. The selected subset style sheets are then merged with a global style sheet to generate a composite style sheet that may be applied to the electronic document for proper presentation on a requesting device.
-
Citations
5 Claims
-
1. A method of generating a composite style sheet used for transforming an electronic document, comprising:
-
identifying a plurality of subset style sheets based on (i) content of the electronic document, (ii) particular rendering characteristics of a client device to which the electronic document is to be sent, and (iii) a type of device of the client device; merging the plurality of subset style sheets to generate the composite style sheet; storing the composite style sheet in a composite style sheet repository, wherein the stored composite style sheet is associated with the client device and wherein the composite style sheet repository comprises a plurality of composite style sheets, with each of the plurality of composite style sheets comprising a plurality of subset style sheets previously selected and merged together to create a respective one of the plurality of composite style sheets based upon rendering characteristics of a previous client device that previously requested the electronic document; receiving a request for the electronic document by the client device; determining if the composite style sheet for the electronic document is present in the composite style sheet repository; and rendering the electronic document using the composite style sheet that is present.
-
-
2. A method of generating a composite style sheet for rendering an electronic document, comprising:
-
determining if a composite style sheet for the electronic document is present in a composite style sheet repository, wherein the composite style sheet comprises a plurality of subset style sheets previously selected and merged together to create the composite style sheet based upon rendering characteristics of a client device that previously requested the electronic document; if a composite style sheet for the electronic document is not present in the composite style sheet repository; identifying a plurality of subset style sheets based on content of the electronic document; and merging the plurality of subset style sheets to generate the composite style sheet and then rendering the electronic document using the composite style sheet that is generated; otherwise if the composite style sheet for the electronic document is present in the composite style sheet repository, rendering the electronic document using the composite style sheet that is present.
-
-
3. An apparatus for generating a composite style sheet for an electronic document, comprising:
-
a style sheet repository; a transcoder coupled to the style sheet repository, wherein the transcoder identifies a plurality of subset style sheets in the style sheet repository that correspond to the electronic document, based on (i) content of the electronic document, (ii) particular rendering characteristics of a client device to which the electronic document is to be sent, and (iii) a type of device of the client device, and merges the plurality of subset style sheets to generate the composite style sheet; and a composite style sheet repository for storing the composite style sheet, wherein the composite style sheet is associated with the client device and wherein the composite style sheet repository comprises a plurality of composite style sheets, with each of the plurality of composite style sheets comprising a plurality of subset style sheets previously selected and merged together to create a respective one of the plurality of composite style sheets based upon rendering characteristics of a previous client device that requested the electronic document, wherein the transcoder determines if a composite style sheet for the electronic document is present in the composite style sheet repository, wherein the composite style sheet comprises a plurality of subset style sheets previously selected and merged together to create the composite style sheet based upon rendering characteristics of a client device that previously requested the electronic document, and if a composite style sheet for the electronic document is present in the composite style sheet repository, the transcoder makes use of the composite style sheet in the composite style sheet repository.
-
-
4. A computer program product embodied in a computer readable medium for generating a composite style sheet for an electronic document, comprising:
-
first instructions for identifying a plurality of subset style sheets based on (i) content of the electronic document, (ii) particular rendering characteristics of a client device to which the electronic document is to be sent, and (iii) a type of device of the client device; second instructions for merging the plurality of subset style sheets to generate the composite style sheet; third instructions for storing the composite style sheet in a composite style sheet repository, wherein the stored composite style sheet is associated with the client device and wherein the composite style sheet repository comprises a plurality of composite style sheets, with each of the plurality of composite style sheets comprising a plurality of subset style sheets previously selected and merged together to create a respective one of the plurality of composite style sheets based upon rendering characteristics of a previous client device that requested the electronic document; fourth instructions for receiving a request for the electronic document by the client device; fifth instructions for determining if the composite style sheet for the electronic document is present in the composite style sheet repository; and sixth instructions for rendering the electronic document using the composite style sheet that is present.
-
-
5. A computer program product embodied in a computer readable medium for generating a composite style sheet for an electronic document, comprising:
-
first instructions for identifying a plurality of subset style sheets based on (i) content of the electronic document, (ii) particular rendering characteristics of a client device to which the electronic document is to be sent, and (iii) a type of device of the client device; second instructions for merging the plurality of subset style sheets to generate the composite style sheet; and third instructions for determining if a composite style sheet for the electronic document is present in a composite style sheet repository, wherein the composite style sheet comprises a plurality of subset style sheets previously selected and merged together to create the composite style sheet based upon rendering characteristics of a client device that previously requested the electronic document, and if a composite style sheet for the electronic document is not present in the composite style sheet repository, executing the first and second instructions.
-
Specification