Systems and methods for conversion of web content into reusable templates and components
AssigneeOpen Text Corporation
InventorsJohn W. Chang, Paul Kieron Carl Narth, Sampada Khare, Sunil Menon
Life of this patent
Estimating the term…
Abstract
Embodiments as disclosed provide a What-You-See-Is-What-You Get (WYSIWYG) editor for web content, allowing the conversion of previously generated web content to reusable templates or components. Embodiments thus allow, among other advantages, users such as web content developers to easily repurpose or reuse previously developed pages or content by giving these users the ability to review and edit previously developed pages or content in a WYSIWYG editor.
Claims21
A system, comprising:
- a processor;
- a non-transitory computer readable medium, comprising instructions for:
- receiving a web page at an editor executing on a browser;
- rendering the web page in the browser to present the rendered web page in the editor, wherein rendering the web page comprises inserting the web page into code of the editor such that the received web page is rendered in the browser in association with the editor and the browser, and the received web page is inserted into the code of the editor being executed on the browser;
- identifying segments of the web page, wherein identifying segments of the web page comprises processing the code of the editor that includes the inserted web page to identify segments of the web page within the code of the editor by evaluating segments of the web page based on one or more tags of the segment and an identifier associated with the editor to determine if the segment includes the identifier associated with the editor;
- generating a component for each of the identified segments, wherein the generation of the component for each identified segment comprises:
- identifying a component type for an identified segment based on content of the identified segment,
- creating the component for the segment based on a component definition for the identified component type by creating a copy of the component definition for the identified component type, and
- populating a datum of the generated component by inserting content of the identified segment of the web page at a location for the datum specified by the component definition;
- and
- identifying each of the individual components for each of the identified segments in the browser in association with the rendered web page presented by the editor to allow a user to accept individual ones of the presented components for template generation, edit individual ones of the presented component, or delete individual ones of the presented components.
A method, comprising:
- receiving a web page at an editor executing on a browser;
- rendering the web page in the browser to present the rendered web page in the editor, wherein rendering the web page comprises inserting the web page into code of the editor such that the received web page is rendered in the browser in association with the editor and the browser, and the received web page is inserted into the code of the editor being executed on the browser;
- identifying segments of the web page, wherein identifying segments of the web page comprises processing the code of the editor that includes the inserted web page to identify segments of the web page within the code of the editor by evaluating segments of the web page based on one or more tags of the segment and an identifier associated with the editor to determine if the segment includes the identifier associated with the editor;
- generating a component for each of the identified segments, wherein the generation of the component for each identified segment comprises:
- identifying a component type for an identified segment based on content of the identified segment,
- creating the component for the segment based on a component definition for the identified component type by creating a copy of the component definition for the identified component type, and
- populating a datum of the generated component by inserting content of the identified segment of the web page at a location for the datum specified by the component definition;
- and
- identifying each of the individual components for each of the identified segments in the browser in association with the rendered web page presented by the editor to allow a user to accept individual ones of the presented components for template generation, edit individual ones of the presented component, or delete individual ones of the presented components.
A non-transitory computer readable medium, comprising instructions for:
- receiving a web page at an editor executing on a browser;
- rendering the web page in the browser to present the rendered web page in the editor, wherein rendering the web page comprises inserting the web page into code of the editor such that the received web page is rendered in the browser in association with the editor and the browser, and the received web page is inserted into the code of the editor being executed on the browser;
- identifying segments of the web page, wherein identifying segments of the web page comprises processing the code of the editor that includes the inserted web page to identify segments of the web page within the code of the editor by evaluating segments of the web page based on one or more tags of the segment and an identifier associated with the editor to determine if the segment includes the identifier associated with the editor;
- generating a component for each of the identified segments, wherein the generation of the component for each identified segment comprises:
- identifying a component type for an identified segment based on content of the identified segment,
- creating the component for the segment based on a component definition for the identified component type by creating a copy of the component definition for the identified component type, and
- populating a datum of the generated component by inserting content of the identified segment of the web page at a location for the datum specified by the component definition;
- and
- identifying each of the individual components for each of the identified segments in the browser in association with the rendered web page presented by the editor to allow a user to accept individual ones of the presented components for template generation, edit individual ones of the presented component, or delete individual ones of the presented components.
Dependencies are inferred from the claim text.