11-04-2019 дата публикации
Номер: US20190108204A1
Автор:
Dibyajyoti Ghosh,
Vivek K. Hebbar,
Matthew RB Hardy,
Leonard D Rosenthol,
Jie-Wei Li,
Anatole A. Matveief,
Rik Cabanier,
GHOSH DIBYAJYOTI,
HEBBAR VIVEK K,
HARDY MATTHEW RB,
ROSENTHOL LEONARD D,
LI JIE-WEI,
MATVEIEF ANATOLE A,
CABANIER RIK,
Ghosh, Dibyajyoti,
Hebbar, Vivek K.,
Hardy, Matthew RB,
Rosenthol, Leonard D,
Li, Jie-Wei,
Matveief, Anatole A.,
Cabanier, Rik
Принадлежит:
The present disclosure is directed toward systems and methods for maintaining semantic information in a document from a web page. For example, one or more embodiments described herein encode unique colors into an HTML DOM associated with a web page prior to passing the HTML DOM through an existing rendering engine. In response to receiving a color-coded graphical objects representative of the HTML DOM, systems and method described herein apply the original semantic attributes of the web page into the graphical objects based on the unique color encoding. 1. A non-transitory computer readable storage medium comprising instructions that , when executed by at least one processor , cause a computing device to:parse a data object model associated with a web page to extract attributes associated with at least one node of the data object model, the at least one node corresponding to a display element of the web page having an original color;generate a mapping that associates a unique color code with the extracted attributes of the at least one node of the data object model;generate a modified data object model by replacing, within the data object model associated with the web page, an original color code associated with the at least one node with the unique color code;receive a graphical object color coded with the unique color code from a rendering engine; andgenerate a structural construct for the display element, based on the generated mapping and the graphical object color coded with the unique color code, that includes the original color and the attributes.2. The non-transitory computer readable storage medium as recited in claim 1 , wherein the instructions claim 1 , when executed by the at least one processor claim 1 , cause the computing device to generate the mapping that associates the unique color code with the extracted attributes of the at least one node of the data object model by:assigning a unique color to the extracted attributes associated with the at ...
Подробнее