Field of Invention
The present disclosure relates to a website simplifying method. More particularly, the present disclosure relates to a website simplifying method which is able to simplify the website structure to provide intuitively operating, and relates to the website simplifying device using the same.
Description of Related Art
With the digital generation, the amount of information provided from the website is rapidly increased. Users could browse web pages of the website through an electronic device such as a computer, a notebook, a smartphone, a tablet, or etc. for acquiring the news or information.
Taking the computer or the notebook, the users usually browse the web pages by operating a mouse. In practice, the users can choose the web pages they want to browse by clicking a left click (or a right click) of the mouse, and browse by a wheel of the mouse. And taking the smartphone or the tablet, the users are able to intuitively browse the web pages by touching a touch screen.
However, one website may include a ton of jump links (i.e., hyperlinks), and further may link to a plurality of web pages. The jump links of the website are disordered and have no rule, which causes that the levels of web pages are indistinct. Thus, the websites are unfriendly to the users for browsing.
The present disclosure provides a website simplifying method including following steps: STEP A: acquiring a website having a plurality of web pages. STEP B: analyzing Uniform Resource Locator (URL) addresses of the web pages; STEP C: establishing a website-structure in accordance with the URL addresses of the web pages; and STEP D: reestablishing guiding links of the web pages to generate a criss-cross browse-associating table. The website-structure has a plurality of website-structure levels in which respectively have at least one of web pages. The criss-cross browse-associating table records reestablished guiding links of the web pages and a criss-cross structure is formed by the reestablished guiding links of the web pages.
The present disclosure provides a website simplifying method including following steps: STEP A: acquiring a website having a plurality of web pages. STEP B: analyzing Uniform Resource Locator (URL) addresses of the web pages; STEP C: establishing a website-structure in accordance with the URL addresses of the web pages; and STEP D: reestablishing guiding links of the web pages to generate a bilateral browse-associating table. The website-structure has a plurality of website-structure levels in which respectively have at least one of web pages. The bilateral browse-associating table records reestablished guiding links of the web pages and a bilateral structure is formed by the reestablished guiding links of the web pages.
The present disclosure provides a website simplifying device. The device includes a website downloader, a website-structure generator, and a browse-associating table generator. The website-structure generator is coupled to the website downloader. The browse-associating table generator is coupled to the website-structure generator. The website downloader is operatively configured to acquire a website having a plurality of web pages. The website-structure generator is operatively configured to analyze URL addresses of the web pages and establish a website-structure in accordance with the URL addresses of the web pages. The website-structure has a plurality of website-structure levels in which respectively have at least one of web pages. The browse-associating table generator is operatively configured to reestablish guiding links of the web pages to generate a criss-cross browse-associating table or a bilateral browse-associating table. The criss-cross browse-associating table and the bilateral browse-associating table respectively record reestablished guiding links of the web pages, a criss-cross structure and a bilateral structure are formed by the reestablished guiding links of the web pages.
Sum up, the website simplifying method and the website simplifying device provided by the embodiment of the present disclosure can reestablish the web pages of the website as the criss-cross structure or the bilateral structure. Since the criss-cross structure or the bilateral structure is utilized, the users can operate or browse the web pages of the website by a more intuitive manner.
It is to be understood that both the foregoing general description and the following detailed description are by examples, and are intended to provide further explanation of the invention as claimed.
The disclosure can be more fully understood by reading the following detailed description of the embodiment, with reference made to the accompanying drawings as follows.
Reference will now be made in detail to the present embodiments of the disclosure, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.
Please refer to
The website downloader 10 includes suitable circuitry, logic, and/or code, which is configured to store the related information about the website downloaded from the storing device of the website storing server 2. Specifically, the website downloader 10 will download all Uniform Resource Locator (URL) addresses corresponding to the web pages within the website from the website storing server 2. The URL address records the information consisting of a communication protocol, a server name, a file path, and a file name.
Taking a URL address of “http://www.vogue.com.tw/fashion/fashionnews/index.asp?iPage=1” as an example, the word of “http” is the communication protocol, the word group of “www.vogue.com.tw” is the server name, the word group of “/fashion/fashionnews/” is the file path, and the word group of “index.asp?iPage=1” the file name. The structure of the URL address is known by the person skilled in the art, thus there is omitted thereto.
The website-structure generator 11 includes suitable circuitry, logic, and/or code, which is configured to analyze the URL addresses of the web pages. The website-structure generator 11 respectively separates the URL addresses into a plurality of parts in accordance with at least one of specific symbols within each URL addresses. For example, after receiving the URL address of “http://www.vogue.com.tw/fashion”, the website-structure generator 11 separates the URL address into three parts of “http”, “www.vogue.com.tw”, and “fashion” in accordance with at least one of a word group formed by colon and double-slash such as “://”, a Slash mark such as “/”, a Question mark such as “?”, and a And mark such as “&”.
After that, the website-structure generator 11 establishes a website-structure associated with the website in accordance with analyzed URL addresses of the web pages. The website-structure, which includes a plurality of website-structure levels in which respectively have at least one of web pages, is such as tree structure. However, the steps of establishing website-structure are further illustrated in conjunction with
The browse-associating table generator 12 includes suitable circuitry, logic, and/or code, which is configured to reestablish guiding links of the web pages to generate a criss-cross browse-associating table or a bilateral browse-associating table. The guiding link is a link relationship between two web pages. Those main pages and subpages depended on it can be guided to link to each other according to the guiding link.
The criss-cross browse-associating table and the bilateral browse-associating table, which respectively have the reestablished guiding links of the web pages, are configured to indicate a browsing order of those web pages. In the embodiment, the browse-associating table generator 12 reestablishes the website-structure as a criss-cross structure, and generates the criss-cross browse-associating table in accordance with the website associated with the criss-cross structure. In the website associated with the criss-cross structure, each web page includes at most four of guiding links. The web page is guided to another web page based on the guiding links of different directions. In other words, the criss-cross structure is formed by the guiding links of those reestablished web pages.
For example, each Uplink, Downlink, Leftlink, or Rightlink of the web page respectively guides to one another web page only. As a result, the users can browse the website by operating arrow keys on the keyboard. Or, the users can browse the website by making gestures of gliding up, gliding down, gliding left, or gliding right on the touch screen. By the way, the arrow keys and the gestures of the gliding up, the gliding down, the gliding left, and the gliding right are only illustrated for example, thus there is not limited the present disclosure herein. In practice, the person skilled in the art can design an operating manner according to the requirement for browsing the website. However, hereafter further illustrates the steps of establishing the criss-cross browse-associating table by the browse-associating table generator 12 with
In other embodiment, the browse-associating table generator 12 reestablishes the website-structure as a bilateral structure, and generates the bilateral browse-associating table in accordance with the website associated with the bilateral structure. In the website associated with the bilateral structure, each web page includes at most two of guiding links. The web page is guided to one another web page based on the guiding link. In other words, the guiding links of those reestablished web pages form the bilateral structure.
For example, each Leftlink or Rightlink of the web page respectively guides to one another web page only. As a result, the users can browse the website by operating left/rights key on the keyboard. Or, the users can browse the website by making gestures of the gliding left or the gliding right on the touch screen. By the way, the left/right keys and the gestures of the gliding left and the gliding right are only illustrated for example, thus there is not limited the present disclosure herein. In practice, the person skilled in the art can design an operating manner according to the requirement for browsing the website. However, hereafter further illustrates the steps of establishing the bilateral browse-associating table by the browse-associating table generator 12 with
The communication unit 13 including suitable circuitry, logic, and/or code, which is configured to output the criss-cross browse-associating table or the bilateral browse-associating table to the electronic device 3 so that the electronic device 3 browses the web pages of the website in accordance with the criss-cross browse-associating table or the bilateral browse-associating table. The communication unit 13 can communicate with the electronic device 3 in a wireless manner or a wire manner, the present disclosure is not limited thereto. Additionally, the present disclosure is not limited the number of the electronic devices 3. In other embodiment, the communication unit 13 is coupled to a plurality of the electronic devices 3, and output the criss-cross browse-associating table or the bilateral browse-associating table to those electronic devices 3.
Next, the flowchart about the operation of the website simplifying device 1 is illustrated as follow. Please refer to
In the step S40, the browse-associating table generator 12 reestablishes guiding links of the web pages to generate a criss-cross browse-associating table. In the step S50, the browse-associating table generator 12 outputs the criss-cross browse-associating table to the electronic device 3 so that the electronic device 3 browses the web pages of the website in accordance with the criss-cross browse-associating table.
Furthermore, please refer to
In the step S302, the website-structure generator 11 classifies the web pages into one of website-structure levels in accordance with the number of parts associated within the each URL address of the web page. In other words, those web pages, which have the same number of parts, are classified into the same one of the website-structure levels. As shown in
For example, firstly, the website-structure generator 11 respectively separates the URL addresses of “http://www.vogue.com.tw”, “http://www.vogue.com.tw/fashion”, “http://www.vogue.com.tw/collection”, and “http://www.vogue.com.tw/fashion/fashionnews” into a plurality of parts, and then calculates a number of parts within each URL address.
The level 1 of the website-structure is represented to the communication protocol of the website as “http”. Since all of the above four URL addresses utilize the HTTP communication protocol, those are extended from the level 1.
The URL address of “http://www.vogue.com.tw” includes two parts. The web page corresponding to the URL address is referred as “Page1” hereinafter. The URL addresses of “http://www.vogue.com.tw/fashion” and “http://www.vogue.com.tw/collection” respectively include three parts. The two web pages corresponding to the URL address are referred as “Page1.1” and “Page1.2” hereinafter. The URL address of “http://www.vogue.com.tw/fashion/fashionnews” includes four parts. The web page corresponding to the URL address is referred as “Page1.1.1” hereinafter. Therefore, the web page Page1 is classified into the level 2 of the website-structure; the web pages Page1.1 and Page1.2 are classified into the level 3 of the website-structure; and the web page Page1.1.1 is classified into the level 4 of the website-structure.
In the step S303, the website-structure generator 11 compares the parts of the URL addresses of the web page to determine the guiding links among web pages to establish the website-structure. The website-structure generator 11 determines that the web pages Page1.1 and Page1.2 are both the subpages of the web page Page1 based on the structure associated with the URL addresses of the web pages Page1.1 and Page1.2. Thus, the website-structure generator 11 guides the web pages Page1.1 and Page1.2 to the web page Page1. After that, the website-structure generator 11 determines that the web pages Page1.1.1 is the subpage of the web page Page1.1 based on the structure associated with the URL addresses of the web pages Page1.1.1. Thus, the website-structure generator 11 guides the web page Page1.1.1 to the web page Page1.1.
And so on, the website-structure generator 11 similarly determines the guiding links of other web pages based on the parts of those URL addresses. According to
By the way, the website-structure shown in
However, the deep guiding link is the guiding link between every pair of the web pages of two closest website-structure levels. That is, the deep guiding link is the guiding link between the main page and subpage. Taking the web page Page1.1, the web page Page1.1 can jump to the web page Page1 by the Uplink and jump to one of the web pages Page1.1.1, Page1.1.2, and Page1.1.3 by the Downlinks. In other words, the web pages Page1.1.1, Page1.1.2, and Page1.1.3 are extended from the web page Page1.1.
It is worth noting, one web page within the website-structure may include a plurality of subpages. The browse-associating table generator 12 may establish a guiding link between the web page and one of those subpages as the deep guiding link when reestablishing the guiding links of the website. Next, the browse-associating table generator 12 further establishes a guiding link between the forgoing subpage and another subpage both in the same level. In other words, the web page is guided to its subpage by a one-to-one page link. For example, shown as
In the step S402, the browse-associating table generator 12 establishes the breadth guiding links among the web pages within each website-structure level by the one-to-one page link. The web pages within the same website-structure level can jump to each other based on the breadth guiding links, without go back to the main page associated with those web pages within a higher website-structure level. Thus, the breadth guiding link is the guiding link among the web pages within each website-structure level. In the embodiment, the browse-associating table generator 12 defines the breadth guiding link as a link between the Leftlink and the Rightlink, thus the web page can execute a page jump such as a breadth guiding through the Leftlink and the Rightlink.
Taking the web page Page1.1, there is no guiding link between the web pages Page1.1 and Page1.2 directly. If the web page Page1.1 is going to be jumped to web page Page1.2, the web page Page1.1 has to be jumped back to the web page Page1, so that jumps to the web page Page1.2 from the web page Page1. However, after establishing the breadth guiding links, the web page Page1.1 can jump to the web page Page1.2 without go back to the web page Page1. As the same, the web page Page1.2 also can jump to the web pages Page1.1 or Page1.3.
The browse-associating table generator 12 simplifies the links among the web pages within each website-structure level, which expresses the Leftlink of each web page guides to only one web page, and the Rightlink of each web page also guides to only one web page.
By the way, the embodiment provides a manner of linking two closest web pages to each other within the same website-structure level. However, the present disclosure is not limited thereto, that is, the present disclosure also can be implemented by linking any two web pages within the same website-structure level. For example, the browse-associating table generator 12 guides the web page Page1.1 to the web page Page1.3, and then guides the web page Page1.3 to the web page Page1.2, thus there is no direct guiding link between the web pages Page1.1 and Page1.2.
In the embodiment, the browse-associating table generator 12 will change a jumping mode from the breadth guide to the deep guide if the web page cannot jump by the breadth guiding links. For example, due to the web page Page1.3 cannot jump by the Leftlink of the breadth guiding link, the browse-associating table generator 12 guides the web page Page1.3 to one of the web pages within the level 4 of the website-structure level (i.e., web page Page1.1.1). On the other hand, due to the web page Page1.1.1 cannot jump by the Rightlink of the breadth guiding link, the browse-associating table generator 12 guides the web page Page1.1.1 to the web page Page1.3 within the level 3 of the website-structure level.
In the embodiment, the browse-associating table generator 12 will not change a jumping mode from the breadth guide to the deep guide if the web page cannot jump by the breadth guiding links. Instead, the browse-associating table generator 12 endures the jumping mode of the breadth guide, and guides the web page to another web page within the same website-structure level. For example, due to the web page Page1.3 cannot jump by the Leftlink of the breadth guiding link, the browse-associating table generator 12 guides the web page Page1.3 to the web page Page1.1 within the same of the website-structure level. On the other hand, due to the web page Page1.1 cannot jump by the Rightlink of the breadth guiding link, the browse-associating table generator 12 guides the web page Page1.1 to the web page Page1.3 within the same of the website-structure level.
In the step S403, the browse-associating table generator 12 reestablishes guiding links of the website-structure shown in
By reestablishing the website-structure as the criss-cross structure, the website-structure can be simplified. Each web page of the simplified website only includes four guiding links consisting of an Uplink, a Downlink, a Rightlink, and a Leftlink, wherein the Uplink, the Downlink, the Rightlink, and the Leftlink are respectively guided to only one web page. Thus, the electronic device 3 can browse the web pages of the website based on the signals of breadth guiding signals and deep guiding signals which are generated by the arrow keys, and provides an intuitive browsing manner for the users.
In addition, the browse-associating table generator 12 also can reestablish the website-structure as a bilateral structure, and generates a bilateral browse-associating table according to the website associated with the bilateral structure. Please refer to
In the step S412, the browse-associating table generator 12 chooses at least one designated page from each website-structure level, and then guides the at least one designated page to the web page of another website-structure level. It is worth to note, two levels are guided to each other by only one link. For example, the browse-associating table generator 12 guides the web page Page1.1 of the level 3 to the web page Page1 of the level 2, and guides the web page Page1.3 to the web page Page1.1.1 of the level 4. The web page Page1.1 of the level 3 is the only linked to the web pages of the level 2, and the web page Page1.3 of the level 3 is the only linked to the web pages of the level 4.
In the step S413, the browse-associating table generator 12 establishes the breadth guiding links among the web pages of each website-structure level by one-to-one page link. That is similar to step S402 of
In the step S414, the browse-associating table generator 12 reestablishes guiding links of the website-structure shown in
Therefore, the website-structure can be simplified as the bilateral structure (or a flat structure). Each web page of the simplified website only includes two guiding links consisting of the Rightlink, and the Leftlink, wherein the Rightlink, and the Leftlink are respectively guided to only one web page. Thus, the electronic device 3 can browse the web pages of the website by the left/right keys.
Please refer to
Comparing with the website simplifying device 1 in
By going through the above stages, the website simplifying method and the website simplifying device provided by the embodiment of the present disclosure can reestablish the web pages of the website as the criss-cross structure or the bilateral structure. Since the criss-cross structure or the bilateral structure is utilized, the users can operate or browse the web pages of the website by a more intuitive manner.
Although the present invention has been described in considerable detail with reference to certain embodiments thereof, other embodiments are possible. Therefore, the spirit and scope of the appended claims should not be limited to the description of the embodiments contained herein.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention cover modifications and variations of this invention provided they fall within the scope of the following claims.
Number | Date | Country | Kind |
---|---|---|---|
201510836529.1 | Nov 2015 | CN | national |