CN104375812A - Webpage content modifying template construction method and webpage content modifying method and system - Google Patents

Webpage content modifying template construction method and webpage content modifying method and system Download PDF

Info

Publication number
CN104375812A
CN104375812A CN201310351582.3A CN201310351582A CN104375812A CN 104375812 A CN104375812 A CN 104375812A CN 201310351582 A CN201310351582 A CN 201310351582A CN 104375812 A CN104375812 A CN 104375812A
Authority
CN
China
Prior art keywords
content
web page
revisable
page
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310351582.3A
Other languages
Chinese (zh)
Inventor
郭亮
邹同海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310351582.3A priority Critical patent/CN104375812A/en
Publication of CN104375812A publication Critical patent/CN104375812A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

An embodiment of the invention provides a webpage content modifying template construction method and a webpage content modifying method and system. The construction method includes determining modifiable content in a webpage code page and corresponding content identities; generating a corresponding identity code for each modifiable content which is determined, and establishing corresponding relation between the content identities of the modifiable content and the identity codes; writing the corresponding identity codes at webpage code writing positions corresponding to the modifiable content in the webpage code page, and generating a webpage content modifying template. The webpage content modifying template generated by the method is suitable for content modifying of multiple webpages of one repetitive subject. By adopting the webpage content modifying template to modify webpage content, workload in webpage content modifying can be reduced greatly, and convenience and quickness in webpage content modifying are realized.

Description

The web page contents amendment construction method of template, web page contents amending method and system
Technical field
The present invention relates to web technologies field, more particularly, relate to the construction method of a kind of web page contents amendment template, web page contents amending method and system.
Background technology
Current Webpage builds mainly through web page code, web page code can be HTML(Hypertext Markup Language, HTML (Hypertext Markup Language)), CSS(CSS (cascading style sheet)), Javascript(script), XML(extend markup language) etc. a series of code; Build Webpage with the textual form file of these web page codes, as can be marked the various piece in webpage to display by HTML code, thus complete the structure of each ingredient of webpage.This work of amendment at present for web page contents is mainly completed by webpage reconstruct personnel, reconstruct personnel are when revising web page contents, mainly based on the web page code page, the code of the particular content information of the content of the needs amendment in the web page code page is replaced with the code of the particular content information of amended content, as the code of the particular content information needing the content revised in html page replaced with the code of the particular content information of amended content, thus complete the amendment of the content code such as word, picture, realize the amendment of web page contents.
The present inventor finds in research and practice process, at least there is following technical matters in prior art: prior art is for the amendment of the content of each webpage, reconstruct personnel are all needed to transfer each web page code page, each web page code page carries out the replacement of the code of the particular content information of the content needing amendment, and the retouching operation of web page contents is comparatively loaded down with trivial details; This web page contents alter mode of prior art is not especially suitable for the web page contents amendment of repeatability special topic, a large amount of repetitive operation will be caused, the webpage of repeatability special topic refers to that the topology layout of thematic webpage is identical, is only that the particular content such as word, picture of each webpage in special topic is different; If therefore the present inventor thinks can provide a kind of template of carrying out web page contents amendment, the template revised based on this web page contents carries out the amendment of web page contents, reduces the workload of web page contents amendment more greatly, realizes web page contents amendment easily.
Can find out how the template of carrying out web page contents amendment is provided, and the amendment that the template how revised based on this web page contents carries out web page contents becomes those skilled in the art's urgent problem.
Summary of the invention
In view of this, construction method, web page contents amending method and system that the embodiment of the present invention provides a kind of web page contents to revise template, to solve the template that prior art cannot provide web page contents to revise, the template cannot revised based on this web page contents carries out the problem of the amendment of web page contents, realizes the convenient amendment of web page contents.
For achieving the above object, the embodiment of the present invention provides following technical scheme:
A construction method for web page contents amendment template, comprising:
Determine the content identification of revisable content and correspondence in the web page code page;
For determined each revisable content generates corresponding authentication code, set up the content identification of revisable content and the corresponding relation of authentication code;
Web page code corresponding to the revisable content in the web page code page fills in place, inserts corresponding authentication code, generating web page content modification template.
Wherein, described method also comprises:
At least one page plate region is adopted the content identification of some revisable contents and correspondence to be integrated, some the revisable contents integrated in one of them page plate region and content designator contract one content topic of correspondence.
Wherein, described authentication code comprises: for the field of representation page plate region ordinal number, the field of the authentication code ordinal number in representation page plate region and the contents attribute of revisable content, and suffix field.
Wherein, described method also comprises:
After generating web page content modification template, generate the thematic name information of described web page contents amendment template.
The embodiment of the present invention also provides a kind of web page contents amending method, and based on the construction method of web page contents described above amendment template, described method comprises:
When carrying out the amendment of web page contents, represent the page of the content identification with revisable content and correspondence in the web page code page;
Obtain the particular content information of the revisable content inserted in the described page;
Transfer described web page contents amendment template, according to the content identification of revisable content, the web page code adopting the particular content information of revisable content corresponding in described web page contents amendment template, replaces the authentication code of corresponding revisable content, completes web page contents amendment.
Wherein, the page representing the content identification with revisable content and correspondence in the web page code page described in comprises:
Adopt at least one page plate region to represent the page of the content identification with revisable content and correspondence in the web page code page, in one of them page plate region, be integrated with the content identification of some revisable contents and the correspondence meeting same content topic.
The embodiment of the present invention also provides a kind of web page contents to revise the constructing system of template, comprising:
First determination module, for determining the content identification of revisable content and correspondence in the web page code page;
Authentication code generation module, for generating corresponding authentication code for determined each revisable content;
Corresponding relation building module, for the corresponding relation of the content identification and authentication code of setting up revisable content;
Module inserted by code, and the web page code corresponding for the revisable content in the web page code page fills in place, inserts corresponding authentication code, generating web page content modification template.
Wherein, described system also comprises:
Plate region planning module, for adopting at least one page plate region content identification of some revisable contents and correspondence to be integrated, some the revisable contents integrated in one of them page plate region and content designator contract one content topic of correspondence;
Special topic title generation module, for after generating web page content modification template, generates the thematic name information of described web page contents amendment template.
The embodiment of the present invention also provides a kind of web page contents to revise system, and based on the constructing system of web page contents described above amendment template, described system comprises:
Webpage representation module, for when carrying out the amendment of web page contents, represents the page of the content identification with revisable content and correspondence in the web page code page;
Particular content acquisition module, for obtaining the particular content information of the revisable content inserted in the described page;
Template transfers module, for transferring described web page contents amendment template;
Code replacement module, for the content identification according to revisable content, the web page code adopting the particular content information of revisable content corresponding in described web page contents amendment template replaces the authentication code of corresponding revisable content, completes web page contents amendment.
Wherein, described webpage representation module comprises:
Plate region represents unit, for the page adopting at least one page plate region to represent the content identification with revisable content and correspondence in the web page code page, in one of them page plate region, be integrated with the content identification of some revisable contents and the correspondence meeting same content topic.
Based on technique scheme, the construction method of the web page contents amendment template that the embodiment of the present invention provides, by determining the content identification of revisable content and correspondence in the web page code page, for determined each revisable content generates corresponding authentication code, set up the content identification of revisable content and the corresponding relation of authentication code, web page code corresponding to the revisable content in the web page code page fills in place, inserts corresponding authentication code, thus generating web page content modification template.The web page contents amendment template that the embodiment of the present invention generates is applicable to the content modification of multiple webpages of a repeatability special topic, the amendment adopting the web page contents amendment template of embodiment of the present invention generation to carry out web page contents can greatly reduce the workload of web page contents amendment, realizes web page contents amendment easily.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The process flow diagram of the construction method of the web page contents amendment template that Fig. 1 provides for the embodiment of the present invention;
The relation schematic diagram of the revisable content of content and the content identification of correspondence is bought in the racing car that Fig. 2 provides for the embodiment of the present invention;
Fig. 3 integrates the schematic diagram of the content identification of revisable content and correspondence for employing plate region that the embodiment of the present invention provides;
The schematic diagram of the partial content of the web page contents amendment template of the car race game that Fig. 4 provides for the embodiment of the present invention;
The structured flowchart of the constructing system of the web page contents amendment template that Fig. 5 provides for the embodiment of the present invention;
Another structured flowchart of the constructing system of the web page contents amendment template that Fig. 6 provides for the embodiment of the present invention;
The process flow diagram of the web page contents amending method that Fig. 7 provides for the embodiment of the present invention;
The schematic diagram representing the page that Fig. 8 provides for the embodiment of the present invention;
The structured flowchart of the web page contents amendment system that Fig. 9 provides for the embodiment of the present invention;
The structured flowchart of the webpage representation module that Figure 10 provides for the embodiment of the present invention;
The structured flowchart of the electronic equipment that Figure 11 provides for the embodiment of the present invention;
Another structured flowchart of the electronic equipment that Figure 12 provides for the embodiment of the present invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The process flow diagram of the construction method of the web page contents amendment template that Fig. 1 provides for the embodiment of the present invention, the method is applicable to the amendment of all types of web page contents, and be particularly useful for the web page contents amendment of repeatability special topic, with reference to Fig. 1, the method can comprise:
Step S100, determine the content identification of revisable content and correspondence in the web page code page;
Optionally, web page code can be HTML(Hypertext Markup Language, HTML (Hypertext Markup Language)), CSS(CSS (cascading style sheet)), Javascript(script), XML(extend markup language) etc. a series of code; The embodiment of the present invention can determine the content identification of revisable content and correspondence in html page.
Wherein, revisable content can be topology layout identical in repeated thematic webpage, but the content that particular content information is different, the web page background picture of webpage as thematic in same game, the news content etc. of same position in webpage; Revisable content does not have concrete content information in embodiments of the present invention, and what revisable content indicated is when carrying out web page contents amendment, needs to which type of particular content information to modify.
Content identification corresponding to revisable content can be explanation, the title of revisable content; Fig. 2 shows in a car race game Webpage, the relation of the revisable content of content and the content identification of correspondence is bought about racing car, with reference to Fig. 2, what content was bought in racing car can revised context can be: " the racing car price value of 30 days ", " the price values of 180 days ", " concrete sells explanation ", " the concrete purchase address of racing car ", and " the specific descriptions information of racing car "; Above-mentioned these can be modified according to the difference of racing-type by revised context, can the content identification of revised context be then constant, in Fig. 2 " 30 days prices ", " 180 days prices ", " sell explanation ", " purchase address ", " racing car description " then belongs to content identification; Namely no matter how racing-type is revised, these content identifications are constant, what just each content identification of revising was corresponding can revised context, namely the price value etc. that " 30 days prices " is corresponding, in Fig. 2, boxed area represents and the amendment of particular content information of revised context can insert region, and the specifying information as corresponding in the square frame after " 30 days prices " should be the concrete price value of 30 days.
Optionally, for content topic same in Webpage can revised context and content identification, the embodiment of the present invention can adopt the form of page plate region, the content identification of some that meet same content topic revisable contents and correspondence is integrated.Concrete, the embodiment of the present invention can adopt at least one page plate region content identification of some revisable contents and correspondence to be integrated, some the revisable contents integrated in one of them page plate region and content designator contract one content topic of correspondence.As in car race game Webpage, purchase content about racing car belongs to same content topic, therefore the revisable content relevant racing car can bought with a page plate region and the content identification of correspondence are integrated, Fig. 3 shows the schematic diagram adopting page plate region to integrate the content identification of revisable content and correspondence, with reference to Fig. 3, for racing car " the price values of 30 days ", " the price values of 180 days ", " concrete sells explanation ", " the concrete purchase address of racing car ", and " the specific descriptions information of racing car " these revisable contents, and " 30 days prices " of correspondence, " 180 days prices ", " sell explanation ", " purchase address ", the content identification of " racing car description ", can be incorporated in the page plate region of " racing car information " by name.Obviously, in Webpage, other the revisable content belonging to same content topic and the content identification of correspondence also can adopt page plate region to integrate, and a Webpage can support multiple page plate region.
Optionally, page plate region can also arrange cyclical information, multiple to represent that this page plate region has continuous print in Webpage, such as contents list etc.
In embodiments of the present invention, the setting of page plate region is only the content identification of the revisable content and correspondence that belong to same content topic is carried out conclusion to integrate, with when carrying out web page contents amendment, make the typing of the revisable content belonging to same content topic more convenient.
Step S110, be that determined each revisable content generates corresponding authentication code, set up the content identification of revisable content and the corresponding relation of authentication code;
In embodiments of the present invention, authentication code needs to modify for making background system which content known in the web page code page, authentication code can be one of revisable content can modified logo, instruction, it can without any implication.Optionally, authentication code can be the code of any type, if different can authentication code corresponding to revised context different.
Optionally, if adopt page plate region to the same content topic in Webpage can after revised context and content identification integrate, described authentication code can be represented by following three fields, be respectively: for the field of representation page plate region ordinal number, the field of the authentication code ordinal number in representation page plate region and the contents attribute of revisable content, and suffix field.It should be noted that, the authentication code with above-mentioned three fields is only the optional authentication code form of expression, obviously in adopting page plate region to Webpage same content topic can revised context and content identification when integrating, also can adopt the authentication code of arbitrary form.
After determining revisable content and content identification, the authentication code that each revisable content is corresponding can be generated, authentication code corresponding to " the racing car price value of 30 days " this revisable content is " $-m2_text1.DATA $ ", the authentication code of " the price values of 180 days " correspondence is " $ m2_text2.DATA $-", the authentication code of " concrete sells explanation " correspondence is " $ m2_text3.DATA $ ", the authentication code of " the concrete purchase address of racing car " correspondence is " $ m2_url4.DATA $ ", the authentication code of " the specific descriptions information of racing car " correspondence is " $ m2_text5.DATA $ ", m2 wherein in authentication code represents the plate region ordinal number of Webpage, being integrated with namely shown in Fig. 3 can the page plate region of revised context and content identification be second plate region of Webpage, the field of the authentication code ordinal number in text1 representation page plate region and the contents attribute of revisable content, wherein text represents that the contents attribute of the revisable content that authentication code is corresponding is content of text, ordinal number 1 below represents that corresponding authentication code is in the primary importance in page plate region, and DATA is the suffix field representing authentication code, for another example the url in url4 represent authentication code corresponding can the contents attribute of revised context be website information, ordinal number 4 below represents that corresponding authentication code is in the 4th position in page plate region.The embodiment of the present invention also can set up the corresponding relation of content identification and authentication code, as sign content correspondence " $-m2_text1.DATA $ " this authentication code of " 30 days prices ".It should be noted that this section of description is only makes step S110 be more readily understood, and it does not exist any restriction to embodiment of the present invention protection domain.
Web page code corresponding to step S120, revisable content in the web page code page fills in place, inserts corresponding authentication code, generating web page content modification template.
In the prior art, web page code corresponding to the revisable content in the web page code page fills in place, what fill in is can web page code corresponding to the particular content information of revised context, as in the prior art, web page code corresponding to the revisable content in html page fills in place, and what fill in is can HTML code corresponding to the particular content information of revised context; And the embodiment of the present invention is the place of filling at web page code corresponding to revisable content, inserting can authentication code corresponding to revised context, and no longer fill in web page code, as filled in place in HTML code corresponding to revisable content, inserting can authentication code corresponding to revised context, and no longer fills in HTML code.
The web page contents amendment template that the embodiment of the present invention is formed is the web page code page with authentication code, and the web page code that authentication code is filled in revisable content corresponding fills in place.Take web page code as HTML code be example, Fig. 4 shows the partial content of the web page contents amendment template of car race game, shown in the square frame of Fig. 4 in the prior art, the HTML code of the particular content information of revisable content should be inserted in region, and what insert in region shown in the square frame of Fig. 4 in embodiments of the present invention is authentication code corresponding to revisable content, the preposition the text field in region shown in the square frame of Fig. 4, as " little spouted power ", " little spray duration ", " gas collection coefficient " etc. are then content identification.
Optionally, after generating web page content modification template, the thematic name information of described web page contents amendment template can be generated.Special topic title can be the title of repeatability special topic.
The construction method of the web page contents amendment template that the embodiment of the present invention provides, by determining the content identification of revisable content and correspondence in the web page code page, for determined each revisable content generates corresponding authentication code, set up the content identification of revisable content and the corresponding relation of authentication code, web page code corresponding to the revisable content in the web page code page fills in place, insert corresponding authentication code, thus generating web page content modification template.The web page contents amendment template that the embodiment of the present invention generates is applicable to the content modification of multiple webpages of a repeatability special topic, the amendment adopting the web page contents amendment template of embodiment of the present invention generation to carry out web page contents can greatly reduce the workload of web page contents amendment, realizes web page contents amendment easily.
Be described the constructing system of the web page contents amendment template that the embodiment of the present invention provides below, it should be noted that system described below is corresponding with the construction method that above-described web page contents revises template, both can be cross-referenced.
The structured flowchart of the constructing system of the web page contents amendment template that Fig. 5 provides for the embodiment of the present invention, with reference to Fig. 5, this system can comprise:
First determination module 100, for determining the content identification of revisable content and correspondence in the web page code page;
Authentication code generation module 110, for generating corresponding authentication code for determined each revisable content;
Corresponding relation building module 120, for the corresponding relation of the content identification and authentication code of setting up revisable content;
Module 130 inserted by code, and the web page code corresponding for the revisable content in the web page code page fills in place, inserts corresponding authentication code, generating web page content modification template.
Optionally, web page code can be HTML(Hypertext Markup Language, HTML (Hypertext Markup Language)), CSS(CSS (cascading style sheet)), Javascript(script), XML(extend markup language) etc. a series of code.
Another structured flowchart of the constructing system of the web page contents amendment template that Fig. 6 provides for the embodiment of the present invention, shown in composition graphs 5 and Fig. 6, the constructing system of web page contents amendment template can also comprise:
Plate region planning module 140, for adopting at least one page plate region content identification of some revisable contents and correspondence to be integrated, some the revisable contents integrated in one of them page plate region and content designator contract one content topic of correspondence;
Special topic title generation module 150, for after generating web page content modification template, generates the thematic name information of described web page contents amendment template.
Optionally, in embodiments of the present invention, authentication code can comprise: for the field of representation page plate region ordinal number, the field of the authentication code ordinal number in representation page plate region and the contents attribute of revisable content, and suffix field.
The web page contents amendment template that the embodiment of the present invention generates is applicable to the content modification of multiple webpages of a repeatability special topic, the amendment adopting the web page contents amendment template of embodiment of the present invention generation to carry out web page contents can greatly reduce the workload of web page contents amendment, realizes web page contents amendment easily.
Below the web page contents amending method that the embodiment of the present invention provides is described, web page contents amending method described below is based on the construction method of above-described web page contents amendment template, hereinafter relate to the content of the structure part of web page contents amendment template, can to revise the construction method of template corresponding to above-described web page contents, can carry out cross-referenced.
The process flow diagram of the web page contents amending method that Fig. 7 provides for the embodiment of the present invention, with reference to Fig. 7, the method can comprise:
Step S200, when carrying out the amendment of web page contents, represent the page of the content identification with revisable content and correspondence in the web page code page;
Optionally, web page code can be HTML(Hypertext Markup Language, HTML (Hypertext Markup Language)), CSS(CSS (cascading style sheet)), Javascript(script), XML(extend markup language) etc. a series of code.
In embodiments of the present invention, the page represented can be that a content identification is clear and definite, and the particular content information of revisable content needs the page filled in.To modify to car race game Webpage, when carrying out buying the amendment of content about racing car, a page as shown in Figure 8 can be represented, wherein " 30 days prices ", " 180 days prices ", " sell explanation ", " purchase address ", " racing car description " is content identification, and the square frame after content identification is to carry out the square frame that content fills in, the content inserted in square frame is the particular content information of revisable content, as corresponding in " 30 days prices " can revised context be " the racing car price value of 30 days ", what the square frame then after " 30 days prices " was inserted is then concrete price value, as 10Q coin, 10 yuans etc., what " purchase address " was corresponding for another example can revised context be " the concrete purchase address of racing car ", the particular content information of the revisable content that the square frame then after " purchase address " is inserted can be buy the concrete URL(Uniform Resource Locator of address, URL(uniform resource locator)).
Optionally, the embodiment of the present invention also can adopt at least one page plate region to represent the page of the content identification with revisable content and correspondence in the web page code page, is integrated with the content identification of some revisable contents and the correspondence meeting same content topic in one of them page plate region.Buy in the revisable content of content and the page of content identification as having in representing shown in Fig. 8 about racing car, can by " 30 days prices ", " 180 days prices ", " sell explanation ", " purchase address ", the content identification of " racing car description ", and inserting of correspondence can the square frame of particular content information of revised context be incorporated in a page plate region.
Step S210, obtain the particular content information of the revisable content inserted in the described page;
After step S200 carries out representing of the page, the staff of web page contents amendment can insert concrete content information at revisable content place, composition graphs 8, as can " 30 days prices " corresponding can insert concrete price value in revised context square frame, this concrete price value is then particular content information.
Step S220, transfer described web page contents amendment template, according to the content identification of revisable content, the web page code adopting the particular content information of revisable content corresponding in described web page contents amendment template, replace the authentication code of corresponding revisable content, complete web page contents amendment.
The web page contents amendment template generated by method shown in Fig. 1 can be transferred, web page contents is revised in template, authentication code corresponding to revisable content replaces with web page code corresponding to the particular content information of revisable content, thus completes web page contents amendment.The embodiment of the present invention is by content identification corresponding to revisable content, authentication code corresponding to revisable content is located in web page contents amendment template, thus the web page code that the particular content information accurately authentication code corresponding for revisable content being replaced with revisable content is corresponding.
The web page contents amending method that the embodiment of the present invention provides carries out the amendment of web page contents based on web page contents amendment template, content modification for multiple webpages of a repeatability special topic all can use a web page contents amendment template to complete, thus reduce the workload of web page contents amendment greatly, realize web page contents amendment easily.
Be described the web page contents amendment system that the embodiment of the present invention provides below, web page contents amendment system described below is corresponding to above-described web page contents amending method, can be cross-referenced.
The structured flowchart of the web page contents amendment system that Fig. 9 provides for the embodiment of the present invention, with reference to Fig. 9, this web page contents amendment system can comprise:
Webpage representation module 200, for when carrying out the amendment of web page contents, represents the page of the content identification with revisable content and correspondence in the web page code page;
Particular content acquisition module 210, for obtaining the particular content information of the revisable content inserted in the described page;
Template transfers module 220, for transferring described web page contents amendment template;
Code replacement module 230, for the content identification according to revisable content, the web page code adopting the particular content information of revisable content corresponding in described web page contents amendment template replaces the authentication code of corresponding revisable content, completes web page contents amendment.
Figure 10 shows a kind of alternate configurations of webpage representation module 200, and with reference to Figure 10, webpage representation module 200 can comprise:
Plate region represents unit 201, for the page adopting at least one page plate region to represent the content identification with revisable content and correspondence in the web page code page, in one of them page plate region, be integrated with the content identification of some revisable contents and the correspondence meeting same content topic.
The web page contents amendment system that the embodiment of the present invention provides carries out the amendment of web page contents based on web page contents amendment template, content modification for multiple webpages of a repeatability special topic all can use a web page contents amendment template to complete, thus reduce the workload of web page contents amendment greatly, realize web page contents amendment easily.
Optionally, the construction method of the web page contents amendment template that the embodiment of the present invention provides can be applicable in electronic equipment, and this electronic equipment can be the terminal device of user side, also can be the server of network side.Below the hardware configuration of electronic equipment of the construction method can applying the web page contents amendment template that the embodiment of the present invention provides is described, the part relating to the construction method of web page contents amendment template in hereafter describing is corresponding to the construction method that above-described web page contents revises template, can carry out reference.
The structured flowchart of the electronic equipment that Figure 11 provides for the embodiment of the present invention, with reference to Figure 11, electronic equipment can comprise: communication interface 1, storer 2, processor 3 and communication bus 4.
Below in conjunction with Figure 11, each component parts of electronic equipment is specifically introduced.
Communication interface 1 can be the interface of communication module, as the interface of network interface card, for carrying out in information transmit-receive process at electronic equipment and external unit, realizes reception and the transmission of signal.
Storer 2 can be used for storing software program and module, and processor 3 is stored in software program and the module of storer 2 by running, thus performs various function application and the data processing of electronic equipment.Storer 2 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of electronic equipment.In addition, storer 2 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.
Processor 3 is control centers of electronic equipment, utilize the various piece of various interface and the whole electronic equipment of connection, software program in storer 2 and/or module is stored in by running or performing, and call the data be stored in storer 2, perform various function and the process data of electronic equipment, thus integral monitoring is carried out to electronic equipment.Optionally, processor 3 can comprise one or more processing unit; Preferably, processor 3 accessible site application processor and modem processor, wherein, application processor mainly processes operating system and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 3.
Communication interface 1, storer 2, processor 3 completes mutual communication by communication bus 4.
In embodiments of the present invention, processor 3 can also have following function:
Determine the content identification of revisable content and correspondence in the web page code page;
For determined each revisable content generates corresponding authentication code, set up the content identification of revisable content and the corresponding relation of authentication code;
Web page code corresponding to the revisable content in the web page code page fills in place, inserts corresponding authentication code, generating web page content modification template.
Optionally, the web page contents amending method that the embodiment of the present invention provides can be applicable in electronic equipment, and this electronic equipment can be the terminal device of user side, also can be the server of network side.Be described the hardware configuration of the electronic equipment can applying the web page contents amending method that the embodiment of the present invention provides below, the part relating to web page contents amending method in hereafter describing is corresponding to above-described web page contents amending method, can carry out reference.
Another structured flowchart of the electronic equipment that Figure 12 provides for the embodiment of the present invention, can comprise with reference to Figure 12 electronic equipment: communication interface 1 ', storer 2 ', processor 3 ' and communication bus 4 '.
Below in conjunction with Figure 12, each component parts of subscriber equipment is specifically introduced.
Communication interface 1 ' can be the interface of communication module, as the interface of network interface card, for carrying out in information transmit-receive process at electronic equipment and external unit, realizes reception and the transmission of signal.
Storer 2 ' can be used for storing software program and module, and processor 3 ' is stored in software program and the module of storer 2 ' by operation, thus performs various function application and the data processing of electronic equipment.Storer 2 ' mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of electronic equipment.In addition, storer 2 ' can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.
Processor 3 ' is the control center of electronic equipment, utilize the various piece of various interface and the whole electronic equipment of connection, software program in storer 2 ' and/or module is stored in by running or performing, and call the data be stored in storer 2 ', perform various function and the process data of electronic equipment, thus integral monitoring is carried out to electronic equipment.Optionally, processor 3 ' can comprise one or more processing unit; Preferably, processor 3 ' accessible site application processor and modem processor, wherein, application processor mainly processes operating system and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 3 '.
Communication interface 1 ', storer 2 ', processor 3 ' completes mutual communication by communication bus 4 '.
In embodiments of the present invention, processor 3 ' can also have following function:
When carrying out the amendment of web page contents, represent the page of the content identification with revisable content and correspondence in the web page code page;
Obtain the particular content information of the revisable content inserted in the described page;
Transfer described web page contents amendment template, according to the content identification of revisable content, the web page code adopting the particular content information of revisable content corresponding in described web page contents amendment template, replaces the authentication code of corresponding revisable content, completes web page contents amendment.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For device disclosed in embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates see method part.
Professional can also recognize further, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The software module that the method described in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to perform, or the combination of the two is implemented.Software module can be placed in the storage medium of other form any known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. a construction method for web page contents amendment template, is characterized in that, comprising:
Determine the content identification of revisable content and correspondence in the web page code page;
For determined each revisable content generates corresponding authentication code, set up the content identification of revisable content and the corresponding relation of authentication code;
Web page code corresponding to the revisable content in the web page code page fills in place, inserts corresponding authentication code, generating web page content modification template.
2. method according to claim 1, is characterized in that, described method also comprises:
At least one page plate region is adopted the content identification of some revisable contents and correspondence to be integrated, some the revisable contents integrated in one of them page plate region and content designator contract one content topic of correspondence.
3. method according to claim 2, it is characterized in that, described authentication code comprises: for the field of representation page plate region ordinal number, the field of the authentication code ordinal number in representation page plate region and the contents attribute of revisable content, and suffix field.
4. the method according to any one of claim 1-3, is characterized in that, described method also comprises:
After generating web page content modification template, generate the thematic name information of described web page contents amendment template.
5. a web page contents amending method, is characterized in that, based on the construction method of the web page contents amendment template described in any one of claim 1-4, described method comprises:
When carrying out the amendment of web page contents, represent the page of the content identification with revisable content and correspondence in the web page code page;
Obtain the particular content information of the revisable content inserted in the described page;
Transfer described web page contents amendment template, according to the content identification of revisable content, the web page code adopting the particular content information of revisable content corresponding in described web page contents amendment template, replaces the authentication code of corresponding revisable content, completes web page contents amendment.
6. method according to claim 5, is characterized in that, described in represent the content identification with revisable content and correspondence in the web page code page the page comprise:
Adopt at least one page plate region to represent the page of the content identification with revisable content and correspondence in the web page code page, in one of them page plate region, be integrated with the content identification of some revisable contents and the correspondence meeting same content topic.
7. a constructing system for web page contents amendment template, is characterized in that, comprising:
First determination module, for determining the content identification of revisable content and correspondence in the web page code page;
Authentication code generation module, for generating corresponding authentication code for determined each revisable content;
Corresponding relation building module, for the corresponding relation of the content identification and authentication code of setting up revisable content;
Module inserted by code, and the web page code corresponding for the revisable content in the web page code page fills in place, inserts corresponding authentication code, generating web page content modification template.
8. system according to claim 7, is characterized in that, also comprises:
Plate region planning module, for adopting at least one page plate region content identification of some revisable contents and correspondence to be integrated, some the revisable contents integrated in one of them page plate region and content designator contract one content topic of correspondence;
Special topic title generation module, for after generating web page content modification template, generates the thematic name information of described web page contents amendment template.
9. a web page contents amendment system, is characterized in that, based on the constructing system of the web page contents amendment template described in claim 8 or 9, described system comprises:
Webpage representation module, for when carrying out the amendment of web page contents, represents the page of the content identification with revisable content and correspondence in the web page code page;
Particular content acquisition module, for obtaining the particular content information of the revisable content inserted in the described page;
Template transfers module, for transferring described web page contents amendment template;
Code replacement module, for the content identification according to revisable content, the web page code adopting the particular content information of revisable content corresponding in described web page contents amendment template replaces the authentication code of corresponding revisable content, completes web page contents amendment.
10. system according to claim 9, is characterized in that, described webpage representation module comprises:
Plate region represents unit, for the page adopting at least one page plate region to represent the content identification with revisable content and correspondence in the web page code page, in one of them page plate region, be integrated with the content identification of some revisable contents and the correspondence meeting same content topic.
CN201310351582.3A 2013-08-13 2013-08-13 Webpage content modifying template construction method and webpage content modifying method and system Pending CN104375812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310351582.3A CN104375812A (en) 2013-08-13 2013-08-13 Webpage content modifying template construction method and webpage content modifying method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310351582.3A CN104375812A (en) 2013-08-13 2013-08-13 Webpage content modifying template construction method and webpage content modifying method and system

Publications (1)

Publication Number Publication Date
CN104375812A true CN104375812A (en) 2015-02-25

Family

ID=52554761

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310351582.3A Pending CN104375812A (en) 2013-08-13 2013-08-13 Webpage content modifying template construction method and webpage content modifying method and system

Country Status (1)

Country Link
CN (1) CN104375812A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094813A (en) * 2015-07-01 2015-11-25 北京京东尚科信息技术有限公司 Method and device for processing of user page template
CN106649573A (en) * 2016-11-16 2017-05-10 深圳市华云中盛科技有限公司 Template modification method and device of website-establishing tools
CN106682960A (en) * 2016-12-20 2017-05-17 深圳市创想天空科技股份有限公司 Landing page generation method and device
CN106919390A (en) * 2017-02-27 2017-07-04 上海上讯信息技术股份有限公司 A kind of method and apparatus of page generation
CN107402930A (en) * 2016-05-20 2017-11-28 阿里巴巴集团控股有限公司 The amending method and device of web page text
CN107885527A (en) * 2016-09-27 2018-04-06 北京嘀嘀无限科技发展有限公司 A kind of code revision method and device of test system
CN108614692A (en) * 2017-07-24 2018-10-02 深圳壹账通智能科技有限公司 Edit model method, apparatus, server and medium
CN110244947A (en) * 2018-03-07 2019-09-17 张兆宁 Construction method, web page contents amending method and the system of web page contents modification template
CN110531968A (en) * 2019-08-20 2019-12-03 广州华资软件技术有限公司 A method of detaching web front-end function code generates independent template automatically
CN111768288A (en) * 2020-06-02 2020-10-13 北京同邦卓益科技有限公司 Service processing method and device, electronic equipment and storage medium
CN112068824A (en) * 2020-09-16 2020-12-11 杭州海康威视数字技术股份有限公司 Webpage development preview method and device and electronic equipment
CN113760314A (en) * 2020-07-17 2021-12-07 北京沃东天骏信息技术有限公司 Page module control method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101158896A (en) * 2007-08-31 2008-04-09 南京联创科技股份有限公司 Service assemblage based on MVC and method for page moulding development WEB platform
CN101286120A (en) * 2008-05-28 2008-10-15 北京中企开源信息技术有限公司 Website page manufacture method and system
CN101350021A (en) * 2008-08-22 2009-01-21 北京中企开源信息技术有限公司 Method and apparatus for customizing website page display content
CN102129436A (en) * 2010-01-20 2011-07-20 北大方正集团有限公司 Method, system and device for constructing webpage template
CN102193933A (en) * 2010-03-10 2011-09-21 北大方正集团有限公司 Method and system for webpage editing
CN103198074A (en) * 2012-01-09 2013-07-10 北大方正集团有限公司 Page design method and system for dynamic publishing website

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101158896A (en) * 2007-08-31 2008-04-09 南京联创科技股份有限公司 Service assemblage based on MVC and method for page moulding development WEB platform
CN101286120A (en) * 2008-05-28 2008-10-15 北京中企开源信息技术有限公司 Website page manufacture method and system
CN101350021A (en) * 2008-08-22 2009-01-21 北京中企开源信息技术有限公司 Method and apparatus for customizing website page display content
CN102129436A (en) * 2010-01-20 2011-07-20 北大方正集团有限公司 Method, system and device for constructing webpage template
CN102193933A (en) * 2010-03-10 2011-09-21 北大方正集团有限公司 Method and system for webpage editing
CN103198074A (en) * 2012-01-09 2013-07-10 北大方正集团有限公司 Page design method and system for dynamic publishing website

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094813B (en) * 2015-07-01 2018-07-06 北京京东尚科信息技术有限公司 The treating method and apparatus of User Page template
CN105094813A (en) * 2015-07-01 2015-11-25 北京京东尚科信息技术有限公司 Method and device for processing of user page template
CN107402930A (en) * 2016-05-20 2017-11-28 阿里巴巴集团控股有限公司 The amending method and device of web page text
CN107885527A (en) * 2016-09-27 2018-04-06 北京嘀嘀无限科技发展有限公司 A kind of code revision method and device of test system
CN106649573B (en) * 2016-11-16 2020-02-14 深圳市华云中盛科技股份有限公司 Template modification method and device for website building tool
CN106649573A (en) * 2016-11-16 2017-05-10 深圳市华云中盛科技有限公司 Template modification method and device of website-establishing tools
CN106682960A (en) * 2016-12-20 2017-05-17 深圳市创想天空科技股份有限公司 Landing page generation method and device
CN106919390A (en) * 2017-02-27 2017-07-04 上海上讯信息技术股份有限公司 A kind of method and apparatus of page generation
CN108614692A (en) * 2017-07-24 2018-10-02 深圳壹账通智能科技有限公司 Edit model method, apparatus, server and medium
CN110244947A (en) * 2018-03-07 2019-09-17 张兆宁 Construction method, web page contents amending method and the system of web page contents modification template
CN110531968A (en) * 2019-08-20 2019-12-03 广州华资软件技术有限公司 A method of detaching web front-end function code generates independent template automatically
CN110531968B (en) * 2019-08-20 2022-03-04 广州华资软件技术有限公司 Method for automatically extracting web front-end function code to generate independent template
CN111768288A (en) * 2020-06-02 2020-10-13 北京同邦卓益科技有限公司 Service processing method and device, electronic equipment and storage medium
CN111768288B (en) * 2020-06-02 2023-12-08 北京同邦卓益科技有限公司 Service processing method, device, electronic equipment and storage medium
CN113760314A (en) * 2020-07-17 2021-12-07 北京沃东天骏信息技术有限公司 Page module control method and device, electronic equipment and storage medium
CN112068824A (en) * 2020-09-16 2020-12-11 杭州海康威视数字技术股份有限公司 Webpage development preview method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN104375812A (en) Webpage content modifying template construction method and webpage content modifying method and system
CN106933722B (en) Webpage application monitoring method, server and system
CN102567516B (en) Script loading method and device
CN101295302B (en) Advertisement releasing system and method
CN106897251B (en) Rich text display method and device
CN112131504B (en) Webpage editing and displaying method, device, equipment and storage medium
CN107229633A (en) Static page generation method, Web access method and device
CN105335511A (en) Webpage access method and device
CN103984686A (en) Page-switching method and device
CN110968824A (en) Page data processing method and device
CN103428243A (en) Implementation method, device and system for static storage of dynamic webpage
CN105224343A (en) A kind of renewal reminding method of application program and device
CN104239298A (en) Text message recommendation method, server, browser and system
CN113419728B (en) Marketing page building method, device, equipment and storage medium
CN109241391A (en) A kind of anti-crawler method climbed of solution font
CN103207873A (en) Method and system for displaying exclusive user page
CN101782912A (en) Method and system for information prompt
CN108023867A (en) Method, gateway server and the filtering server of mobile terminal web advertisement filtering
CN104267921A (en) Page display control method and server
CN112818270A (en) Data cross-domain transfer method and device and computer equipment
CN110941428A (en) Website creation method and device
CN102253986A (en) Method and device for improving webpage displaying effect in multiple terminals
CN102306163A (en) Dynamic integration technology based on B2B (business to business) platform
CN104899217A (en) Method and apparatus for implementing customized function
CN102004729A (en) Method and system for showing website webpage and website server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150225