Method and apparatus for self validating URL links
First Claim
Patent Images
1. A method in a data processing system for processing a set of links in a document, the method comprising:
- responsive to receiving the document, displaying all of the set of links;
wherein external links are displayed as being in an initial state; and
the external links are visually displayed differently from internal links in the set of links by using different character display characteristics than those used for displaying the internal links;
validating only the external links in the set of links by (i) sending a request using a external link in the set of links;
(ii) responsive to content being returned, identifying the external link as being valid, and (iii) responsive to an error occurring, identifying the external link as being invalid;
wherein the validating step includes initiating a thread for each external link in the set of links by a link validation process of a web browser plug-in to validate all external links in the set of links;
responsive to identifying the external link as being valid, changing the display of the external link to a valid state;
responsive to identifying the external link as being invalid, changing the display of the external link to a invalid state; and
the initial, valid, and invalid states associated with the external links are concurrently displayed;
wherein the valid state is displayed using a first color, the invalid state is displayed using a second color, and the initial state is displayed using a third color; and
the first, second, and third colors are different colors.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, apparatus, and computer instructions for processing a set of links in a document. In response to receiving the document, the set of links in the document is displayed as being validated. The set of links are then processed to determine whether the links are valid or invalid. Whenever one of the links in the set of links is identified as being valid, the display of the link is changed to indicate that the link is valid. Whenever a link in the set of links is identified as being invalid, the display of that link is changed to indicate that this link is invalid.
-
Citations
4 Claims
-
1. A method in a data processing system for processing a set of links in a document, the method comprising:
-
responsive to receiving the document, displaying all of the set of links; wherein external links are displayed as being in an initial state; and
the external links are visually displayed differently from internal links in the set of links by using different character display characteristics than those used for displaying the internal links;validating only the external links in the set of links by (i) sending a request using a external link in the set of links;
(ii) responsive to content being returned, identifying the external link as being valid, and (iii) responsive to an error occurring, identifying the external link as being invalid;wherein the validating step includes initiating a thread for each external link in the set of links by a link validation process of a web browser plug-in to validate all external links in the set of links; responsive to identifying the external link as being valid, changing the display of the external link to a valid state; responsive to identifying the external link as being invalid, changing the display of the external link to a invalid state; and the initial, valid, and invalid states associated with the external links are concurrently displayed; wherein the valid state is displayed using a first color, the invalid state is displayed using a second color, and the initial state is displayed using a third color; and
the first, second, and third colors are different colors.
-
-
2. A data processing system for processing a set of links in a document, the data processing system comprising:
-
a bus system; a communications unit connected to the bus system;
a memory connected to the bus system, wherein the memory includes a set of instructions;a processing unit connected to the bus system, wherein the processing unit executes the set of instructions to; display all of the set of links; wherein external links are displayed as being in an initial state; and
the external links are visually displayed differently from internal links in the set of links by using different character display characteristics than those used for displaying the internal links;validate only the external links in the set of links by (i) sending a request using a external link in the set of links;
(ii) responsive to content being returned, identifying the external link as being valid, and (iii) responsive to an error occurring, identifying the external link as being invalid;wherein the validating step includes initiating a thread for each external link in the set of links by a link validation process of a web browser plug-in to validate all external links in the set of links; changing the display of the external link to a valid state in response to identifying the external link as being valid; changing the display of the external link to a invalid state in response to identifying the external link as being invalid; and concurrently display the initial, valid, and invalid states associated with the external links; wherein the valid state is displayed using a first color, the invalid state is displayed using a second color, and the initial state is displayed using a third color; and
the first, second, and third colors are different colors.
-
-
3. A data processing system for processing a set of links in a document, the data processing system comprising:
-
displaying means, responsive to receiving the document, for displaying all of the set of links; wherein external links are displayed as being in an initial state; and
the external links are visually displayed differently from internal links in the set of links by using different character display characteristics than those used for displaying the internal links;validating means for validating only the external links in the set of links by (i) sending a request using a external link in the set of links;
(ii) responsive to content being returned, identifying the external link as being valid, and (iii) responsive to an error occurring, identifying the external link as being invalid;wherein the validating means includes means for initiating a thread for each external link in the set of links by a link validation process of a web browser plug-in to validate all external links in the set of links; and displaying means for changing the display of the external link to a valid state in response to identifying the external link as being valid, changing the display of the external link to a invalid state in response to identifying the external link as being invalid, and concurrently displaying the initial, valid, and invalid states associated with the external links; wherein the valid state is displayed using a first color, the invalid state is displayed using a second color, and the initial state is displayed using a third color; and
the first, second, and third colors are different colors.
-
-
4. A computer readable recordable-type medium encoded with a computer program product and operable in a data processing system for processing a set of links in a document, the computer program product comprising:
-
first instructions for displaying all of the set of links, responsive to receiving the document; wherein external links are displayed as being in an initial state; and
the external links are visually displayed differently from internal links in the set of links by using different character display characteristics than those used for displaying the internal links;second instructions for validating only the external links in the set of links by (i) sending a request using a external link in the set of links;
(ii) responsive to content being returned, identifying the external link as being valid, and (iii) responsive to an error occurring, identifying the external link as being invalid;wherein the second instructions include initiating a thread for each external link in the set of links by a link validation process of a web browser plug-in to validate all external links in the set of links; and third instructions for changing the display of the external link to a valid state in response to identifying the external link as being valid, changing the display of the external link to a invalid state in response to identifying the external link as being invalid, and concurrently displaying the initial, valid, and invalid states associated with the external links; wherein the valid state is displayed using a first color, the invalid state is displayed using a second color, and the initial state is displayed using a third color; and
the first, second, and third colors are different colors.
-
Specification