Web Page Portion Extraction with DOM Node Reset
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional methods for retaining a portion of a web page are inefficient, as they either save the entire page with unwanted content, fail to identify the user's interest portion, or do not preserve the original appearance and behavior of the copied content.
Innovation Solution
A software facility that extracts a high-fidelity copy of a web page portion by selecting nodes within the Document Object Model (DOM) structure, creating a local copy with reset node styles, and exporting it to a destination page, ensuring visual identity and functionality preservation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the user saves the complete web page using the browser save command, then the content is preserved for later use, but unnecessary content is also retained along with the portion of interest, increasing storage requirements
Solution Approach 1:
The patent segments the web page content by allowing users to select specific portions of interest within the page. The system divides the complete page into selectable regions, enabling users to extract only the relevant segments rather than saving the entire page. This segmentation approach directly reduces storage requirements while preserving the needed content.
Solution Approach 2:
The patent implements an extraction mechanism that isolates and removes only the selected portion of the web page from the complete page structure. By extracting specifically the user-selected content and discarding the rest, the system achieves reliable content preservation with minimized storage requirements, directly resolving the contradiction between preserving content and reducing storage.
2Reliability
If the user uses the clipboard to copy the portion of the web page and paste it into a word processing document, then the portion is retained, but the original appearance and behavior of the copied content are not preserved
Solution Approach 1:
The patent implements a sophisticated copying mechanism that creates a faithful replica of the selected web page portion. Unlike simple clipboard copying, the system copies the HTML structure, CSS styles, and other formatting elements that define the original appearance and behavior. This high-fidelity copying approach preserves visual identity while enabling content retention.
3Ease of operation
If conventional methods are used to copy web page portions, then the content can be transferred, but the methods fail to identify and preserve the user's specific interest portion with its original characteristics
Solution Approach 1:
The patent applies preliminary action by allowing users to select and identify the specific portion of interest before the copying process begins. The system prepares the selected content by pre-processing it to maintain its original structure and characteristics, ensuring that when the content is transferred, both the ease of operation and the preservation of original appearance are achieved.
Data Source
AI summary
A portion data structure representing a portion extracted from a formatted source document is described. A portion data structure contains a first subtree of nodes that is modeled after a second subtree of a complete hierarchical representation of the formatted source document. Explicit formatting attribute values are specified for nodes of the first subtree only where a value calculated for the formatting attribute in a node of the first subtree differs from a value calculated for the formatting attribute in the corresponding node in the second subtree at a time when the node of the first subtree descends from a reset node specifying standardized formatting attribute values. The contents of the portion data structure are usable to display the portion extracted from the formatted source document in a context other than the formatted source document.


