CN108959622A - A kind of creation of webpage with show method and device - Google Patents
A kind of creation of webpage with show method and device Download PDFInfo
- Publication number
- CN108959622A CN108959622A CN201810798341.6A CN201810798341A CN108959622A CN 108959622 A CN108959622 A CN 108959622A CN 201810798341 A CN201810798341 A CN 201810798341A CN 108959622 A CN108959622 A CN 108959622A
- Authority
- CN
- China
- Prior art keywords
- content
- webpage
- label
- calls
- calling
- 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
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
This application provides a kind of creation of webpage and show method and device, in webpage creation method, obtains webpage to be edited;Determine current target area to be edited in the webpage;Determine the content calling label of required insertion in the target area, calling configuration data needed for which calls label to call at least one target object content configured with the call address for being directed toward at least one target object content, and realization;Establish the binding relationship that the target area and the content in the target webpage call label;The binding relationship and the webpage are stored together, to complete the creation of the webpage.The scheme of the application can reduce the complexity that webpage creates in website.
Description
Technical field
This application involves network technique field more particularly to a kind of creation of webpage and show method and device.
Background technique
During constructing website, each webpage in successively edit websites is needed, can just be completed each in website
The creation of webpage.
During creating webpage, may be related to the insertion content object into some region of webpage (be can be
Static content object or dynamic update content object) operation.In that case, need website editor be based on to
The address of the content object of insertion, the address of the content object called needed for being arranged in the region in webpage and editor adjust
With the editing of mode etc. complexity, the insertion of content object can be just completed.
And in most cases, often it is related to one or more areas into webpage during creating in webpage
Content object is inserted into domain, and the editing for being inserted into content object every time is all complex, so that webpage creation is answered
Miscellaneous degree is higher.
Summary of the invention
In view of this, this application provides a kind of creation of webpage and showing method and device, created with reducing webpage in website
The complexity built.
To achieve the above object, on the one hand, this application provides a kind of webpage creation methods, comprising:
Obtain webpage to be edited;
Determine current target area to be edited in the webpage;
Determine that the content of required insertion in the target area calls label, the content calls label to be configured with for referring to
Tune needed for calling at least one described target object content to the call address of at least one target object content, and realization
Use configuration data;
It establishes target area described in the target webpage and the content calls the binding relationship of label;
The binding relationship and the webpage are stored together, to complete the creation of the webpage.
Preferably, the content of required insertion calls label in the determination target area, comprising:
Determine that the static content of required insertion in the target area calls label, the static content calls label configuration
There is the call address for being directed toward a target object content;The calling configuration data includes at least: calling the target pair
As the method for calling of content.
Preferably, the content of required insertion calls label in the determination target area, comprising:
Determine that the dynamic content of required insertion in the target area calls label, the dynamic content calls label at least
Configured with the call address for being directed toward at least one target object properties collection;The calling configuration data includes at least: using
The calling rule that at least one target object content shows in the control target object properties collection, and realize and call institute
State the method for calling of target object properties collection.
Preferably, the binding pass for establishing target area described in the target webpage and content calling label
System, comprising:
The mark and the content that generate target area described in the target webpage call the pass between the mark of label
Connection relationship.
Preferably, the content of required insertion calls label in the determination target area, comprising:
Show object content and content call the list of corresponding relationship between label;
It receives the corresponding content of the contents of object being inserted into that user selects from the list and calls label, to determine
The content being inserted into the target area calls label.
Another aspect, present invention also provides a kind of webpage exhibiting methods, comprising:
When determination currently needs to show the webpage, the page data of the webpage is loaded;
According to the page data, determine that the corresponding binding relationship in each region in the webpage, the binding relationship are
The region and content call the binding relationship between label;
For the region each in the webpage, according to the corresponding binding relationship in the region, determine that the region is tied up
Fixed content calls label, and the content calls label configured with the calling for being directed toward at least one target object content
Calling configuration data needed for location, and at least one described target object content of realization calling;
Content according to region binding calls the calling configuration data in label, and the content is called to call mark
At least one target object content that call address described in label is directed toward, and at least one described target object content is presented in
In the region of the webpage.
Another aspect, present invention also provides a kind of webpage creating devices, comprising:
Webpage acquiring unit, for obtaining webpage to be edited;
Area determination unit, for determining current target area to be edited in the webpage;
Tag determination unit, for determining that the content of required insertion in the target area calls label, the content tune
With label configured with the call address for being directed toward at least one target object content, and realizes and call at least one described mesh
Calling configuration data needed for marking contents of object;
Relationship establishes unit, calls tying up for label with the content for establishing target area described in the target webpage
Determine relationship;
Information memory cell, for storing the binding relationship and the webpage together, to complete the wound of the webpage
It builds.
Preferably, the tag determination unit, comprising:
First tag determination unit, for determining that the static content of required insertion in the target area calls label, institute
Stating static content calls label to be configured with the call address for being directed toward a target object content;The calling configuration data is extremely
It less include: the method for calling for calling the target object content.
Preferably, the tag determination unit, comprising:
Second tag determination unit, for determining that the dynamic content of required insertion in the target area calls label, institute
Stating dynamic content calls label to be at least configured with the call address for being directed toward at least one target object properties collection;The tune
It is included at least with configuration data: for controlling the tune that at least one target object content shows in the target object properties collection
The method of calling of the target object properties collection is called with rule, and realization.
Another aspect, present invention also provides a kind of webpage demonstration devices, comprising:
Data loading unit, for loading the page data of the webpage when determination currently needs to show the webpage;
Relation determination unit, for determining according to the page data, the corresponding binding in each region is closed in the webpage
System, the binding relationship are the binding relationship between the region and content calling label;
Tag location unit, for being closed according to the corresponding binding in the region for each region in the webpage
System determines that the content of the region binding calls label, and the content calls label to be configured with for being directed toward at least one target
Calling configuration data needed for the call address of contents of object, and at least one described target object content of realization calling;
Content shows unit, and the content for binding according to the region calls the calling configuration data in label,
At least one the target object content for calling the content that call address described in label is called to be directed toward, and will it is described at least one
Target object content is presented in the region of the webpage.
As known from the above, in the embodiment of the present application, during web page editing, if necessary to the target area of webpage
Middle insertion contents of object need to only determine that the content for being directed toward the contents of object calls label, and establish the target area in the webpage
With the content call label binding relationship, due to content call label in contained be directed toward the contents of object address with
And for calling configuration data needed for calling the contents of object, therefore, which is bundled with the content and calls label real
Phase needed for being exactly address needed for being configured with the calling target area for the target area on border and calling the contents of object
Configuration data is closed, the edit operation of the complexity such as address and method of calling is carried out again without user, reduces into webpage
It is inserted into the complexity of contents of object, and then improves the convenience and high efficiency of web page editing and creation.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only embodiments herein, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to the attached drawing of offer other
Attached drawing.
Fig. 1 shows a kind of flow diagram of webpage creation method one embodiment of the application;
Fig. 2 shows a kind of flow diagrams of another embodiment of webpage creation method of the application;
Fig. 3 shows a kind of flow diagram of webpage exhibiting method one embodiment of the application;
Fig. 4 shows a kind of composed structure schematic diagram of webpage creating device one embodiment of the application;
Fig. 5 shows a kind of composed structure schematic diagram of webpage demonstration device one embodiment of the application.
Specific embodiment
The webpage creation method of the embodiment of the present application can be applied to the building of the webpage in website, to reduce webpage creation
Complexity improves the convenience and high efficiency of website creation, and then improves the convenience and high efficiency of website creation.
The webpage creation method of the application is suitable for Website server or personal computer etc. for creating website and webpage
Computer equipment in.
It is understood that being often related to the insertion pair into certain partial region of webpage in webpage building process
As content, which can be data or the data content of particular form etc. in tables of data.Due to being inserted into webpage
Enter contents of object and need to edit the address of the contents of object in webpage, and writes and call tune involved by the contents of object
With the relevant code such as mode, thus to the more demanding of website editor;And during webpage creation, edit to be inserted
The complexity of relevant code such as enter the address of the contents of object into webpage and configure method of calling or write method of calling
It is higher, it takes a long time, considerably increases the complexity of web page editing creation.
And present inventor it has been investigated that: in many cases, the different web pages of same website or different web sites
In may may require that the identical contents of object of insertion, that is to say, that identical contents of object may be performed a plurality of times repetition and be inserted
Enter.Such as, for an enterprise web site, it is newest all may to be related to enterprise for different piece in the different web pages of the website
The display of the content objects such as the copyright information of news and webpage bottom.Therefore, these may be related to being repeated several times
The contents of object of insertion, if being pre-configured with the address comprising configuration needed for being inserted into the contents of object into webpage and calling
The configuration datas such as mode are then directly inserted into relevant configuration data into webpage, then can be based on configuration data, realize to net
It is inserted into corresponding contents of object in page, without every time by complicated edit operation.
Based on the above discovery, present inventor further study show that: for may repeatedly be inserted by different web pages
The contents of object entered can be based on the target object content, generate corresponding content and call label, content is called to be configured in label
It is directed toward the call address of the target object content and for realizing correlations such as the method for calling for calling the target object content
Data.Correspondingly, be inserted into some contents of object if necessary during editing webpage, then can directly into webpage phase
It answers and is inserted into the corresponding content calling label of the contents of object in region, call to be configured in label due to content and call in the object
The configuration datas such as address and method of calling needed for holding are carrying out complicated edit operation without editorial staff, favorably
In the complexity for reducing web page editing.
Moreover, the content calls label that can be used multiple times when constructing different web pages, to substantially increase webpage
And the convenience of website creation.
It is introduced with reference to the accompanying drawing.
Such as, referring to Fig. 1, it illustrates a kind of a kind of flow diagram of webpage creation method of the embodiment of the present application, this realities
The method for applying example may include:
S101 obtains webpage to be edited.
Wherein, which can be independent webpage, be also possible to webpage to be built in website.
Such as, available and show the webpage for currently needing to edit during creating webpage, so as to the webpage
Content insertion, configuration template etc. are carried out, finally to construct website.
S102 determines current target area to be edited in the webpage.
Wherein, which is currently to need to edit in webpage, to be inserted into the region of contents of object.
It such as, include two editable regions in webpage, for example, region 1 and region 2, the two regions can be according to need
It is inserted into same or different content object, it is assumed that currently editing area 1 has been needed, needed for the insertion into region 1
Contents of object, then region 1 is the target area of the webpage.
S103 determines that the content of required insertion in the target area calls label.
Such as, it receives user to call in label from multiple contents, the content for being inserted into the target area selected calls mark
The content is called label to call label as the object content being inserted by label.
Wherein, content calling label is pre-generated, configured with the address and tune for being directed toward at least one contents of object
The storage container of the calling configuration data needed at least one content object.Wherein, content calls the concrete form of label
Can there are many.Such as, it is contemplated that it also includes related data code that content, which calls label, which calls label to be referred to as one
A segment is stored with relative address in segment and calls configuration data.
For the ease of distinguishing, the call address configured in label is called to be known as pointing to the content being inserted into determined
The call address of a few target object content;Correspondingly, configuration data will be called to be known as realizing calling this at least one
Calling configuration data needed for target object content.
Wherein, which can be the storage address of target object content, be used to be directed toward the target object content,
In order to it is subsequent show webpage when, be based on the call address invocation target contents of object, to show the target pair in webpage
As content.
Wherein, which is to pass through the tune for related configuration data needed for invocation target contents of object
The automatic calling to target object content may be implemented with configuration data, without user manual editing, be configured to call
The related data of target object content.
Optionally, calling configuration data at least may include method of calling needed for invocation target contents of object, and being based on should
Method of calling may be implemented to call the target object content from memory blocks such as databases, which is inserted into
In webpage, and then the target object content is shown in webpage.Such as, which, which can be, calls the target object content
The operation of pretreatment and resource allocation etc. involved by each execution step and invocation target contents of object of required execution.
It is understood that due to the contents of object that may relate to need to be repeatedly inserted into the different web pages of same website
Have multiple, and is directed to different contents of object, corresponding content can be generated respectively, label is called therefore to create the calculating of webpage
It can store the information that multiple contents call labels in machine equipment, e.g., multiple contents call the mark of labels and multiple
The particular content etc. of content calling label.
It is understood that the type of the contents of object of required insertion can be divided into two classes in webpage, one kind is static right
As content, that is, can static content of the repeated application in the customized page or content details.In the static object showed in website
Hold, will not change in the content that different moments show.For example, returning to top in bottom copyright information and webpage in webpage
Portion's identification item (back on top label) belongs to the static object content showed in website.Another kind of is dynamic object content, is moved
State contents of object refers to the content that can be updated according to the data and rule dynamic of setting.Such as, it is dynamically updated in the webpage of website
Latest news, last word etc. belong to the dynamic object content in webpage;For another example, commodity may be inserted into the webpage of website
Details content, and the commodity details content includes multiple sub- product details, then it is detailed may to need successively to show multiple sub- product
Feelings, then the commodity details content just belongs to dynamic object content.
In contents of object type difference, call label also can difference based on contents of object content generated.Phase
It answers, calls label to be known as static content the content generated for static object content and call label;And it is directed to dynamic object
Content generates content and label is called to be known as dynamic content calling label.
Wherein, due to static object content will not dynamic change, static content is with calling in label the calling that configures
Location is the call address for being directed toward a target object content, correspondingly, static content calls the calling configuration number configured in label
According to including at least: calling the method for calling of the target object content.
Since dynamic object content is meeting dynamic change, dynamic object content may relate in multiple objects
Hold, therefore, dynamic content calls label to be at least configured with the call address for being directed toward at least one target object properties collection.Its
In, each target object properties collection includes at least one target object content.And in view of dynamic object content is according to spy
What set pattern then dynamically updated, therefore, dynamic content calls the calling configuration data configured in label in addition to including: for realizing tune
Except method of calling at least one target object properties collection, at least further include: for controlling the target object content
The calling rule that at least one target object content shows in set.
Wherein, the calling rule may include in the target object properties collection at least one target object content transfer
Quantity, renewal frequency and sortord etc..Such as, it can specify that the target object properties collection by successively in the calling rule
The order transferred so that subsequent multiple target object contents that target object properties collection can be made to be related in order according to
Secondary dynamic shows.
S104 establishes the binding relationship that the target area and the content in the target webpage call label.
Wherein, it establishes the target area and the content calls the binding relationship of label to can be the storage target area and be somebody's turn to do
Content calls the incidence relation of label, so as to it is subsequent show webpage when, call label tune according to the associated content in the target area
With object content object, finally object content object to be inserted into the target area of the webpage.
Optionally, in practical applications, the mark and the object content tune for generating the target area in the webpage be can be
With the incidence relation between the mark of label.
By executing above step S102 to S104, the insertion corresponding contents object into the target area can have been realized
Operation, as content call label in be configured with call content object needed for related data, by establishing mesh
Mark region and content call the binding relationship of label that can realize and are inserted into content object into target area, thus in rear extension
When existing webpage, the related data for being used to call content object based on configuration shows corresponding content into the target area
Object, without manually in complicated edit operation, improving the convenience for being inserted into contents of object into webpage.
S105 stores the binding relationship and the webpage together, to complete the creation of the webpage.
It is understood that stored together using binding relationship as a part of data of webpage with the webpage, so that after
When extending existing webpage, it can be inserted into based on binding relationship corresponding region into webpage and show corresponding content object.
It should be noted that if needing to edit there is no other regions in webpage, together with webpage by the binding relationship
Storage, then terminate web page editing, complete the creation of webpage.It, still can be with if needing the region edited there are still other in webpage
Continue to edit other parts, as long as finally storing webpage binding relationship corresponding with each region together.
As known from the above, in the embodiment of the present application, during web page editing, if necessary to the target area of webpage
Middle insertion contents of object need to only determine that the content for being directed toward the contents of object calls label, and establish the target area in the webpage
With the content call label binding relationship, due to content call label in contained be directed toward the contents of object address with
And for calling configuration data needed for calling the contents of object, therefore, which is bundled with the content and calls label real
Phase needed for being exactly address needed for being configured with the calling target area for the target area on border and calling the contents of object
Configuration data is closed, the edit operation of the complexity such as address and method of calling is carried out again without user, reduces into webpage
It is inserted into the complexity of contents of object, and then improves the convenience and high efficiency of web page editing and creation.
It is understood that in the embodiment of the present application, content call label be only be configured with the address of contents of object with
And method of calling, it is not related to contents of object ways of presentation, it therefore, can be according to terminal type in web page loading process
Carry out the displaying size of regulating object content, therefore, content calls label to can be adapted for any type of terminal, without being directed to
The different types of terminals such as mobile terminal, personal computer PC end are respectively set different types of content and call label.
The webpage creation method of the application in order to facilitate understanding, e.g., referring to fig. 2, it illustrates the embodiment of the present application one kind
Another flow diagram of webpage creation method, the method for the present embodiment may include:
S201 obtains webpage to be edited.
S202 determines the current target area to be edited that user selects from the webpage.
S203 shows the list that corresponding relationship between label is called comprising contents of object and content.
Such as, the object inserting instruction being used for is received, the list is showed.
Wherein, content corresponding to the mark of different contents of object is presented in the list and calls label, in this way, user can
With the contents of object being inserted into as needed into the target area, the corresponding content tune of the contents of object is selected from the list
Use label.
S204, receive user from multiple labels of the list, select be inserted into target object content it is corresponding in
Hold and calls label.
Such as, user chooses the option of some content calling label in lists, it is determined that the target area needs interior with this
Hold and label is called to establish association.
S205 generates the mark of the target area and the content selected in the webpage and calls between the mark of label
Incidence relation.
It is understood that calling being associated between the mark of label by the mark of establishing target area and content
System, can complete the target area and the content calls the binding relationship of label.
It is understood that in the embodiment of the present application, it should in webpage due to only generating during constructing webpage
Region and content call the incidence relation between label, therefore, all interior with this if the subsequent content that updates calls label
Hold and call label that there is associated webpage can accordingly update, without individually modifying to each webpage.
S206 stores the incidence relation and the webpage together, to complete the creation of the webpage.
It is understood that after the scheme as above based on the embodiment of the present application creates the webpage of website, it is subsequent such as
Fruit needs to show the webpage, and it is similar that the webpage of the process and routine that show the webpage shows process.In order to make it easy to understand, can join
See Fig. 3, it illustrates a kind of flow diagrams for showing method of the webpage of the webpage creation method creation based on the application, should
Process can be run in computer equipment as above, if website is run in other servers or equipment, the side of showing
Method can also be run in other servers or equipment, which may include:
S301 loads the page data of webpage when determination currently needs to show the webpage.
Wherein, the purpose for loading the page data of webpage is in order to load web page contents, to render and show webpage.
The page data may include binding relationship corresponding to each region and the relevant data of webpage in the page.
S302 determines the interior of region binding according to the corresponding binding relationship in the region for the region each in webpage
Hold and calls label.
In the embodiment of the present application, due in webpage each region be by bound content call label complete area filling
, therefore, during showing webpage, the page data first according to the webpage is needed, determines each region pair in the webpage
The binding relationship answered, to determine that content bound in region calls label according to binding relationship.
S303 calls the calling configuration data configured in label according to the content, calls the content to call and configures in label
Call address pointed by least one target object content.
After determining that the content of region binding calls label, the calling configured in label is called to configure number according to the content
Accordingly and call address, the calling at least one target object content can be realized, and then load out phase in this region
The target object content answered.
Wherein, the calling configuration data and call address configured in label is called based on content, is loaded in this region
The process of target object content is similar to the process of target object content of insertion is loaded in conventional web page into region, herein not
It repeats again.
Optionally, it is contemplated that it includes that static content calls label and dynamic content to call label, and moves that content, which calls label,
State content calls the calling configuration data in label other than including method of calling, further includes calling rule, therefore, for dynamic
When state content calls label to load contents of object in webpage, it is also necessary to determine that current needs are opened up in webpage according to calling rule
Existing target object content, then again according to the method for calling and call address called in configuration data to corresponding target pair
As content is called, in webpage the region show the target object content.Such as, still showing with product details content
For process, calling in content can be comprising the calling rule of the details for multiple sub- products that the product details content is related in label
Then, for example, it may be successively showing the details of multiple sub- product, in that case, according to calling rule, determine currently to
The details of the sub- product showed, the then corresponding call address of details according to method of calling and the sub- product, and call simultaneously
The details of the sub- product are loaded, to show the details of the sub- product at current time.
S304 shows at least one target object content in this region.
Certainly, Fig. 3 is intended merely to facilitate understanding, to call the calling configuration data and calling in label based on content
Address is illustrated for corresponding region load and a kind of implementation of show object content into webpage, is bound in webpage
After region and content call the binding relationship of label, is called in label and is configured based on the content that some region in webpage is bound
It is related call configuration data etc., into webpage, loading content object can also have other modes, and the application does not limit this
System.
A kind of webpage creation method of corresponding the application, present invention also provides a kind of webpage creating devices.Such as, referring to figure
4, it illustrates a kind of composed structure schematic diagram of webpage creating device one embodiment of the application, the webpage of the present embodiment is created
Device may include:
Webpage acquiring unit 401, for obtaining webpage to be edited;
Area determination unit 402, for determining current target area to be edited in the webpage;
Tag determination unit 403, for determining that the content of required insertion in the target area calls label, the content
It calls label configured with the call address for being directed toward at least one target object content, and realizes at least one described in calling
Calling configuration data needed for target object content;
Relationship establishes unit 404, calls label for establishing target area described in the target webpage and the content
Binding relationship;
Information memory cell 405, for storing the binding relationship and the webpage together, to complete the webpage
Creation.
In one possible implementation, the tag determination unit, comprising:
First tag determination unit, for determining that the static content of required insertion in the target area calls label, institute
Stating static content calls label to be configured with the call address for being directed toward a target object content;The calling configuration data is extremely
It less include: the method for calling for calling the target object content.
In another possible implementation, the tag determination unit, comprising:
Second tag determination unit, for determining that the dynamic content of required insertion in the target area calls label, institute
Stating dynamic content calls label to be at least configured with the call address for being directed toward at least one target object properties collection;The tune
It is included at least with configuration data: for controlling the tune that at least one target object content shows in the target object properties collection
The method of calling of the target object properties collection is called with rule, and realization.
Wherein, the relationship is established unit and is specifically as follows, for generating target area described in the target webpage
Mark and the content call the incidence relation between the mark of label.
Optionally, tag determination unit, comprising:
List shows unit, and the list of corresponding relationship between label is called for show object content and content;
Label selecting unit, the corresponding content of the contents of object being inserted into selected from the list for receiving user
Label is called, to determine that the content being inserted into the target area calls label.
On the other hand, present invention also provides a kind of webpage demonstration devices, and e.g., referring to Fig. 5, it illustrates the application one kind
The webpage demonstration device of the composition schematic diagram of webpage demonstration device one embodiment, the present embodiment may include:
Data loading unit 501, for loading the page number of the webpage when determination currently needs to show the webpage
According to;
Relation determination unit 502, for determining the corresponding binding in each region in the webpage according to the page data
Relationship, the binding relationship are the binding relationship between the region and content calling label;
Tag location unit 503, for being directed to each region in the webpage, according to the corresponding binding in the region
Relationship determines that the content of the region binding calls label, and the content calls label to be configured with for being directed toward at least one mesh
Calling configuration data needed for marking the call address of contents of object, and at least one described target object content of realization calling;
Content shows unit 504, and the content for binding according to the region calls the calling in label to configure number
According to, at least one the target object content for calling the content that call address described in label is called to be directed toward, and by described at least
One target object content is presented in the region of the webpage.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight
Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng
See the part explanation of embodiment of the method.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or equipment for including element.
The foregoing description of the disclosed embodiments can be realized those skilled in the art or using the present invention.To this
A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can
Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited
It is formed on the embodiments shown herein, and is to fit to consistent with the principles and novel features disclosed in this article widest
Range.
The above is only the preferred embodiment of the present invention, it is noted that those skilled in the art are come
It says, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should be regarded as
Protection scope of the present invention.
Claims (10)
1. a kind of webpage creation method characterized by comprising
Obtain webpage to be edited;
Determine current target area to be edited in the webpage;
Determine that the content of required insertion in the target area calls label, the content calls label to be configured with for pointing to
Calling needed for the call address of a few target object content, and at least one described target object content of realization calling is matched
Set data;
It establishes target area described in the target webpage and the content calls the binding relationship of label;
The binding relationship and the webpage are stored together, to complete the creation of the webpage.
2. webpage creation method according to claim 1, which is characterized in that required in the determination target area to insert
The content entered calls label, comprising:
Determine that the static content of required insertion in the target area calls label, the static content calls label configuration useful
In the call address for being directed toward a target object content;The calling configuration data includes at least: calling in the target object
The method of calling of appearance.
3. webpage creation method according to claim 1, which is characterized in that required in the determination target area to insert
The content entered calls label, comprising:
Determine that the dynamic content of required insertion in the target area calls label, the dynamic content calls label at least to configure
There is the call address for pointing to a few target object properties collection;The calling configuration data includes at least: for controlling
The calling rule that at least one target object content shows in the target object properties collection is made, and realizes and calls the mesh
Mark the method for calling of contents of object set.
4. webpage creation method according to claim 1, which is characterized in that described to establish mesh described in the target webpage
It marks region and the content calls the binding relationship of label, comprising:
The mark for generating target area described in the target webpage calls being associated between the mark of label with the content
System.
5. webpage creation method according to claim 1, which is characterized in that required in the determination target area to insert
The content entered calls label, comprising:
Show object content and content call the list of corresponding relationship between label;
It receives the corresponding content of the contents of object being inserted into that user selects from the list and calls label, it is to be inserted to determine
The content entered in the target area calls label.
6. a kind of webpage exhibiting method characterized by comprising
When determination currently needs to show the webpage, the page data of the webpage is loaded;
According to the page data, determine that the corresponding binding relationship in each region in the webpage, the binding relationship are described
Region and content call the binding relationship between label;
The region binding is determined according to the corresponding binding relationship in the region for the region each in the webpage
Content calls label, and the content calls label to be configured with the call address for being directed toward at least one target object content, with
And calling configuration data needed for realizing at least one described target object content of calling;
Content according to region binding calls the calling configuration data in label, and the content is called to call in label
At least one target object content that the call address is directed toward, and at least one described target object content is presented in described
In the region of webpage.
7. a kind of webpage creating device characterized by comprising
Webpage acquiring unit, for obtaining webpage to be edited;
Area determination unit, for determining current target area to be edited in the webpage;
Tag determination unit, for determining that the content of required insertion in the target area calls label, the content calls mark
Label are configured with the call address for being directed toward at least one target object content, and realize and call at least one described target pair
The calling configuration data as needed for content;
Relationship establishes unit, calls the binding of label to close for establishing target area described in the target webpage and the content
System;
Information memory cell, for storing the binding relationship and the webpage together, to complete the creation of the webpage.
8. webpage creating device according to claim 7, which is characterized in that the tag determination unit, comprising:
First tag determination unit, it is described quiet for determining that the static content of required insertion in the target area calls label
State content calls label to be configured with the call address for being directed toward a target object content;The calling configuration data is at least wrapped
It includes: calling the method for calling of the target object content.
9. webpage creating device according to claim 7, which is characterized in that the tag determination unit, comprising:
Second tag determination unit, it is described dynamic for determining that the dynamic content of required insertion in the target area calls label
State content calls label to be at least configured with the call address for being directed toward at least one target object properties collection;The calling is matched
It sets data to include at least: for controlling the calling rule that at least one target object content shows in the target object properties collection
Then, and the method for calling for calling the target object properties collection is realized.
10. a kind of webpage demonstration device characterized by comprising
Data loading unit, for loading the page data of the webpage when determination currently needs to show the webpage;
Relation determination unit, for determining the corresponding binding relationship in each region in the webpage, institute according to the page data
Stating binding relationship is the binding relationship between the region and content calling label;
Tag location unit, for being directed to each region in the webpage, according to the corresponding binding relationship in the region, really
The content of the fixed region binding calls label, and the content calls label to be configured with for being directed toward at least one target object
Calling configuration data needed for the call address of appearance, and at least one described target object content of realization calling;
Content shows unit, and the content for binding according to the region calls the calling configuration data in label, calls
At least one target object content that the content calls call address described in label to be directed toward, and will at least one described target
Contents of object is presented in the region of the webpage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810798341.6A CN108959622A (en) | 2018-07-19 | 2018-07-19 | A kind of creation of webpage with show method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810798341.6A CN108959622A (en) | 2018-07-19 | 2018-07-19 | A kind of creation of webpage with show method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108959622A true CN108959622A (en) | 2018-12-07 |
Family
ID=64481853
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810798341.6A Pending CN108959622A (en) | 2018-07-19 | 2018-07-19 | A kind of creation of webpage with show method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108959622A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1493981A (en) * | 2002-10-31 | 2004-05-05 | 宏创科技股份有限公司 | Component element guiding network page making method and its device |
CN101916273A (en) * | 2010-08-11 | 2010-12-15 | 优视科技有限公司 | Local page content dynamic displaying method and system for mobile terminal browser |
CN105938431A (en) * | 2016-06-30 | 2016-09-14 | 乐视控股(北京)有限公司 | Web page developing method and device |
-
2018
- 2018-07-19 CN CN201810798341.6A patent/CN108959622A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1493981A (en) * | 2002-10-31 | 2004-05-05 | 宏创科技股份有限公司 | Component element guiding network page making method and its device |
CN101916273A (en) * | 2010-08-11 | 2010-12-15 | 优视科技有限公司 | Local page content dynamic displaying method and system for mobile terminal browser |
CN105938431A (en) * | 2016-06-30 | 2016-09-14 | 乐视控股(北京)有限公司 | Web page developing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105426223B (en) | Using loading method and device | |
CN108153520A (en) | Software development methodology and device | |
CN113268226B (en) | Page data generation method, device, storage medium and equipment | |
US20100169828A1 (en) | Computer desktop organization via magnet icons | |
CN103914450A (en) | Method and device for presenting web graphics in mobile terminal platform | |
CN104516738A (en) | Integrated implementing method for development and release of APP | |
CN101788906B (en) | Resource management method and system thereof | |
CN105373390A (en) | OEM-oriented online software customization packaging release method and apparatus | |
CN103577207A (en) | Loading method and loading device for interface components in custom interface system | |
CN106202006A (en) | Document generating method and device | |
CN108038212A (en) | A kind of data interactive method, device, system, equipment and storage medium | |
CN110442411B (en) | Method and device for processing table data logical relation and storage medium | |
CN108255481A (en) | Application and development method and relevant device | |
CN104850498B (en) | A kind of filling information method of testing and system | |
CN105988837A (en) | Installation method and device of application program | |
CN105138383A (en) | Application display method and device | |
CN107515907B (en) | The display methods and device of browser page | |
CN101714080A (en) | Method and system for realizing web multiple language control | |
CN106330561A (en) | Dynamic UI setting method and apparatus | |
CN112558937B (en) | Page management method, device, electronic equipment, medium and product | |
CN113095053A (en) | Webpage table customizing method and device | |
CN105989075A (en) | Method, device and system for displaying image by browser | |
CN104142824A (en) | Code generator based on class library and realization method of code generator | |
CN108959622A (en) | A kind of creation of webpage with show method and device | |
CN108319576A (en) | A kind of method and device generating picture materials |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for 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: 20181207 |