HTML Content Reuse via Client-Side Extraction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Developers face difficulties in reusing HTML resources without a common API provided by resource providers, leading to increased costs for providers and challenges in resource utilization.

Innovation Solution

A method and system that receive an HTTP request with a special parameter to specify part of the HTML content, acquire the corresponding HTML content using a processor, and output it, allowing for the reuse of HTML resources without requiring a common API.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If a resource provider provides a common API for resources, then resource reusability is improved, but development cost increases

Engineering Contradiction:
Improveresource reusabilityVSAvoiddevelopment cost
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent extracts the API layer from the resource provider system and relocates it to the client-side browser environment. Instead of the server providing a common API interface, the system uses standard browser JavaScript APIs to directly manipulate and reuse HTML content, eliminating the need for custom server-side API development while enabling resource reusability

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces an intermediary mechanism in the form of HTML comments with special markers (e.g., <!--widget:begin--> and <!--widget:end-->) that enable resource identification and extraction. These markers act as intermediaries between the HTML content and the client-side JavaScript that processes and reuses the content, eliminating the need for a formal API interface

Inventive Principle:
Principle #24Intermediary (Mediator)

2Device complexity

If a resource provider does not provide a common API, then development cost is reduced, but resource reusability deteriorates

Engineering Contradiction:
Improvedevelopment costVSAvoidresource reusability
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The patent enables resources to be self-describing through HTML comments that contain metadata about the resource type, ID, and other attributes. The client-side system automatically parses these comments to identify and extract reusable content without requiring any service from the resource provider, achieving resource reusability through self-service mechanisms

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent changes the parameter representation from server-side API calls to client-side HTML parsing. By encoding resource identification information directly in HTML comments as text parameters, the system transforms the resource access model from active server provision to passive client extraction, enabling reusability without additional server infrastructure

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS10318616B2Method and system for reusing HTML content
Publication Date: 2019.06.11 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US10318616B2 patent drawing
  • US10318616B2 patent drawing
  • US10318616B2 patent drawing

AI summary

Reusing HyperText Markup Language (HTML) content includes receiving, using a processor, a HyperText Transfer Protocol (HTTP) request; determining that the received HTTP request has a special parameter that specifies to request part of the HTML content; acquiring the part of the HTML content according to the special parameter; and outputting the acquired part of the HTML content.