Method and apparatus for extending page tag, and computer storage medium
First Claim
1. A method for extending a page tag, comprising:
- parsing a page;
determining whether the page comprises an identifiable comment tag;
parsing the identifiable comment tag and obtaining an application function of a page tag defined by the identifiable comment tag, when the page comprises the identifiable comment tag;
executing the application function of the page tag; and
displaying a result of executing the application function of the page tag on the page,said method performed in its entirety by a computer system.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for extending a page tag and a computer storage medium are provided to implement interaction between a page tag and an operating system function, and improve user experiences. The method includes: parsing a page; determining whether the page comprises an identifiable comment tag; parsing the identifiable comment tag and obtaining an application function of a page tag defined by the identifiable comment tag, when the page comprises the identifiable comment tag; executing the application function of the page tag; and displaying a result of executing the application function of the page tag on the page. The examples are mainly used in a procedure of extending the page tag.
-
Citations
15 Claims
-
1. A method for extending a page tag, comprising:
-
parsing a page; determining whether the page comprises an identifiable comment tag; parsing the identifiable comment tag and obtaining an application function of a page tag defined by the identifiable comment tag, when the page comprises the identifiable comment tag; executing the application function of the page tag; and displaying a result of executing the application function of the page tag on the page, said method performed in its entirety by a computer system. - View Dependent Claims (2, 3, 4, 5)
-
-
6. An apparatus for extending a page tag, comprising:
-
a determining unit, configured to parse a page and determine whether the page comprises an identifiable comment tag; an obtaining unit, configured to parse the identifiable comment tag and obtain an application function of a page tag defined by the identifiable comment tag, when the determining unit determines that the page comprises the identifiable comment tag; an executing unit, configured to execute the application function of the page tag; and a first displaying unit, configured to display a result of executing the application function of the page tag on the page. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A non-transitory computer storage medium, storing computer programs for executing:
-
parsing a page; determining whether the page comprises an identifiable comment tag; parsing the identifiable comment tag and obtaining an application function of a page tag defined by the identifiable comment tag, when the page comprises the identifiable comment tag; executing the application function of the page tag; and displaying a result of executing the application function of the page tag on the page. - View Dependent Claims (12, 13, 14, 15)
-
Specification