HTML (Hypertext Marked Language) generating method and device

A technology for hypertext markup and file generation, applied in special data processing applications, instruments, website content management, etc., it can solve problems such as difficulty in generating HTML files, complicated HTML code writing process, and inability of editors to prompt HTML codes, etc. Accurately generated effects

Active Publication Date: 2016-06-08
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF2 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the above-mentioned method of using a template engine to generate HTML files, the tags of the template engine are special symbols different from HTML codes or comments. Generate HTML file
Moreover, when ...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • HTML (Hypertext Marked Language) generating method and device
  • HTML (Hypertext Marked Language) generating method and device
  • HTML (Hypertext Marked Language) generating method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0046] At present, in the process of generating HTML files, the template engine usually has its own set of grammatical rules. These grammatical rules use a flow control method similar to that of a programming language to implement conditional control, loop control, etc. in the template. These grammatical rules generally There will be special symbols inte...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides an HTML (Hypertext Marked Language) generating method and device. The method comprises the following steps of receiving a page loading request so as to obtain a corresponding template; loading the template; obtaining content data of a generated HTML file according to markers in the template; and finally inputting the content data into the template so as to generate an HTML file. In the process, the markers exist in the template in an HTML code annotation mode, so that an editor can prompt syntactic errors in HTML codes; even if the markers have errors, the template loading and the HTML file generation cannot be influenced; the occurrence of page 404 problems is avoided; and the goal of fast and accurately generating the HTML file is achieved.

Description

technical field [0001] The invention relates to web design technology, in particular to a hypertext markup language generating method and device. Background technique [0002] Generally, one webpage corresponds to multiple Hypertext Markup Language (HypertextMarkedLanguage, HTML) files. When creating a web page, you need to generate an HTML file first, and then generate a web page from the HTML file. [0003] Currently, HTML files are generated through template engines such as Velocity and FreeMarker. Among them, the template engine is an HTML file generation tool with its own grammatical rules. It uses a process control method similar to a programming language to implement control logic such as conditions and loops. These control logics are interspersed in the HTML code with special symbols as tags. [0004] However, in the above-mentioned method of using a template engine to generate HTML files, the tags of the template engine are special symbols different from HTML code...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30
CPCG06F16/9577G06F16/958
Inventor 杜秋双
Owner NETEASE (HANGZHOU) NETWORK CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products