Patent ID: 8707164

Claim:
A method for converting non-HTML documents into HTML, and integrating the converted documents into existing HTML web pages on a host server while preserving the original appearance and text searchability of the documents, the method including the following steps: (a) parsing a document to extract text characters and associated fonts, each glyph in a font representing the appearance of its associated text character with respect to that font, as well as page layout attributes of the document, including individual words, lines and paragraphs; (b) converting the extracted text characters, fonts and page layout attributes into an intermediate format, and integrating the converted text characters, fonts and page layout attributes into an existing HTML web page, employing @font-face tags to integrate the extracted text characters and generating HTML tags to preserve the document's page layout attributes, including the extracted words, lines and paragraphs, wherein the existing HTML web page includes a first set of a plurality of advertisements each of which is positioned to be displayed in between two corresponding pages of the document; (c) generating one or more font files, accessible via the @font-face tags in the HTML web page, that map the text characters to their associated glyphs; and (d) storing the HTML web page and font files on the host server for delivery to and rendering within the window of a client web browser, wherein: (i) the original appearance and text searchability of the document is preserved; and (ii) when the client web browser's standard controls (as opposed to custom controls that are document-specific or not built into standard web browsers) are employed to scroll among the pages of the document, the elements of the existing HTML web page into which the document has been integrated are thereby also scrolled, and each of the plurality of advertisements is displayed in between its corresponding pages of the document.