Supercharge Your Innovation With Domain-Expert AI Agents!

Method and device for generating WeiXin mini-program

An applet and program technology, applied in the field of the generation method and device of WeChat applet, can solve the problem that the WeChat applet cannot load HTML pages, etc., and achieve the effect of improving user experience

Pending Publication Date: 2018-10-16
BEIJING HANERGY PV TECH CO LTD
View PDF4 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a method and device for generating a WeChat applet to solve the problem that the WeChat applet cannot load an HTML page and needs to be redeveloped according to the HTML page

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
  • Method and device for generating WeiXin mini-program
  • Method and device for generating WeiXin mini-program
  • Method and device for generating WeiXin mini-program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0030] refer to figure 1 , which shows a flow chart of a method for generating a WeChat applet according to an embodiment of the present invention, which may specifically include the following steps:

[0031] Step 101, read the hypertext markup language HTML page.

[0032] Specifically, in the embodiment of the present invention, after obtaining the HTML page to be converted, the generating device of the WeChat applet (hereinafter referred to as the device) reads and loads the HTML page.

[0033] Step 102, converting the HTML tags in the HTML page to generate the WeChat markup language WXML file.

[0034] Specifically, in an embodiment of the present invention, the device converts all HTML tags in the HTML page into tags recogni...

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 embodiment of the invention provides a method and device for generating a WeiXin mini-program. The method comprises the steps of reading a hypertext markup language (HTML) page; converting HTML tags in the HTML page to generate a WeiXin markup language (WXML) file; processing a JavaScript program and reference data in the HTML page to generate a JS file; converting an HTML style definition inthe HTML page to generate a WeiXin cascading style sheet (WXSS) file; generating the WeiXin mini-program according to the WXML file, the JS file and the WXSS file. The convenient and fast method can be provided for automatically converting the HTML page into the WeiXin mini-program so that a user can browse the HTML page through the WeiXin mini-program, and the user experience is effectively improved.

Description

technical field [0001] The embodiments of the present invention relate to the communication field, and in particular to a method and device for generating a WeChat applet. Background technique [0002] HyperText Markup Language (HTML) is a standard markup language for creating web pages. The web browser in the mobile terminal can read the HTML file and render it into a visual web page. [0003] WeChat applets, or applets for short, are applications that can be used without downloading and installing. Users can open the application by scanning or searching. [0004] Currently, WeChat applets cannot load HTML pages, and developers can only redevelop corresponding WeChat applets based on HTML pages. Contents of the invention [0005] Embodiments of the present invention provide a method and device for generating a WeChat applet to solve the problem that the WeChat applet cannot load an HTML page and needs to be redeveloped according to the HTML page. [0006] In order to s...

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): G06F8/40G06F17/22
CPCG06F8/40G06F40/14
Inventor 刘晓宁
Owner BEIJING HANERGY PV TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More