Protocol to fix broken links on the world wide web
First Claim
1. A method of correcting links in a document stored on a local server, comprising:
- sending a first request from the local server to a link checking service unit of a remote server to determine whether a first resource in the remote server corresponding to a first link in the document is located at said first link;
receiving a first response to said first request from the remote server, the first response containing an indication that the first resource is not located at the first link, wherein the remote server generates the indication by referring to a mapping table stored on the remote server to determine that the first resource is not located at the first link, wherein said mapping table indicates changes that occur in locations of resources on the remote server by storing prior locations of the resources on the remote server, status codes indicating a status of the prior locations, and new locations of the resources on the remote server, said first resource being among said resources;
automatically changing the document in response to the receiving of the first response, based on the indication, wherein said changing of the document comprises automatically replacing the first link or automatically deleting the first link; and
automatically sending a second request from the local server to the link checking service unit of the remote server to determine whether a second resource in the remote server corresponding to a second link in the document is located at the second link after the changing of the document,wherein a status code stored in the mapping table in association with the first resource comprises one of a first status code that indicates that the first resource has moved from a prior location stored in the mapping table in association with the first resource to a new location stored in the mapping table in association with the first resource, and a second status code that indicates that the first resource has been permanently removed from the remote server, andwherein a status code stored in the mapping table in association with the second resource comprises a third status code which indicates that the second resource is located at a prior location stored in the mapping table in association with the second resource.
1 Assignment
0 Petitions
Accused Products
Abstract
A protocol for automatically fixing broken hypertext links is described that can save countless hours wasted by World-Wide Web surfers trying to navigate using a broken link or web authors trying to fix broken links to their web pages. A link correction service checks hypertext links in a document by sending messages according to a hyperlink verification protocol (HLVP) to a remote web server indicated by the link. A link checking service at the remote web server, in response to receiving an HLVP message for a link, consults a mapping table to determine if the link is valid, has changed, has been removed, or is unknown. A response code indicating the status of the link is returned to the link correction service to modify the page accordingly.
-
Citations
29 Claims
-
1. A method of correcting links in a document stored on a local server, comprising:
-
sending a first request from the local server to a link checking service unit of a remote server to determine whether a first resource in the remote server corresponding to a first link in the document is located at said first link; receiving a first response to said first request from the remote server, the first response containing an indication that the first resource is not located at the first link, wherein the remote server generates the indication by referring to a mapping table stored on the remote server to determine that the first resource is not located at the first link, wherein said mapping table indicates changes that occur in locations of resources on the remote server by storing prior locations of the resources on the remote server, status codes indicating a status of the prior locations, and new locations of the resources on the remote server, said first resource being among said resources; automatically changing the document in response to the receiving of the first response, based on the indication, wherein said changing of the document comprises automatically replacing the first link or automatically deleting the first link; and automatically sending a second request from the local server to the link checking service unit of the remote server to determine whether a second resource in the remote server corresponding to a second link in the document is located at the second link after the changing of the document, wherein a status code stored in the mapping table in association with the first resource comprises one of a first status code that indicates that the first resource has moved from a prior location stored in the mapping table in association with the first resource to a new location stored in the mapping table in association with the first resource, and a second status code that indicates that the first resource has been permanently removed from the remote server, and wherein a status code stored in the mapping table in association with the second resource comprises a third status code which indicates that the second resource is located at a prior location stored in the mapping table in association with the second resource. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for determining a status of links in a document stored on a local server, comprising:
-
receiving a first request from the local server to determine whether a first resource of a remote server is located at a first link in the document, wherein the first link includes a first location indicator of the first resource; detecting, by the remote server, if the first resource is present within a storage unit at a location indicated by the first location indicator by referring to a mapping table stored on the remote server, wherein said mapping table indicates changes that occur in locations of resources on the remote server by storing prior locations of the resources on the remote server, status codes indicating a status of the prior locations, and new locations of the resources on the remote server, said first resource being among said resources; determining, by the remote server, if the first resource is present at an alternate location if the first resource is not detected in the location indicated by the first location indicator by referring to the mapping table; in response to the first request, returning, by the remote server, an alternate location identifier indicating the alternate location of the first resource if the first resource is determined to be present at the alternate location, wherein the document is automatically changed in response to the returning of the alternate location identifier by automatically replacing the first link with another link comprising the alternate location identifier; and receiving a second request which is automatically sent from the local server after the document is automatically changed, to determine whether a second resource of the remote server is located at a second link in the document, wherein the second link includes a second location indicator of the second resource, wherein a status code stored in the mapping table in association with the first resource comprises a first status code that indicates that the first resource has moved from the location indicated by the first location indicator to the alternate location of the first resource, the location indicated by the first location indicator and the alternate location of the first resource being stored in the mapping table in association with the first resource, and wherein a status code stored in the mapping table in association with the second resource comprises one of a second status code that indicates that the second resource has been permanently removed from the remote server, and a third status code which indicates that the second resource is located at a location indicated by the second location indicator which is stored in the mapping table in association with the second resource. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A system for correcting links to resources in a network, comprising:
-
a remote web server comprising a link checking service unit; and a local web server comprising a link correction service unit, wherein said link correction service unit sends a first request from the local server to the link checking service unit to determine whether a first resource in the remote server corresponding to a first link in a document stored on the local server is located at said first link, wherein the link checking service unit of the remote server sends a first response to said first request to the link correction service unit, the first response containing an indication that the first resource is not located at the first link, wherein the link checking service unit of the remote server generates the indication by referring to a mapping table stored on the remote server to determine that the first resource is not located at the first link, wherein said mapping table indicates changes that occur in locations of resources on the remote server by storing prior locations of the resources on the remote server, status codes indicating a status of the prior locations, and new locations of the resources on the remote server, said first resource being among said resources, wherein the link correction service unit automatically changes the document in response to the receiving of the first response, based on the indication, wherein said changing of the document comprises automatically replacing the first link or automatically deleting the first link; wherein the link correction service unit automatically sends a second request from the local server to the link checking service unit of the remote server to determine whether a second resource in the remote server corresponding to a second link in the document is located at the second link after the changing of the document, wherein a status code stored in the mapping table in association with the first resource comprises one of a first status code that indicates that the first resource has moved from a prior location stored in the mapping table in association with the first resource to a new location stored in the mapping table in association with the first resource, and a second status code that indicates that the first resource has been permanently removed from the remote server, and wherein a status code stored in the mapping table in association with the second resource comprises a third status code which indicates that the second resource is located at a prior location stored in the mapping table in association with the second resource. - View Dependent Claims (18)
-
-
19. An apparatus for correcting a link in a document, comprising:
-
a document repository having stored therein one or more documents; a corrected document repository having stored therein one or more corrected documents; and a link correction service unit connected to the document repository and the corrected document repository, and configured to correct link in a document among the one or more documents in the document repository, wherein the link correction service unit; sends a first request from a local server on which the link correction service is disposed to a link checking service unit of a remote server to determine whether a first resource in the remote server corresponding to a first link in the document is located at said first link; receives a first response to said first request from the remote server, the first response containing an indication that the first resource is not located at the first link, wherein the remote server generates the indication by referring to a mapping table stored on the remote server to determine that the first resource is not located at the first link, wherein said mapping table indicates changes that occur in locations of resources on the remote server by storing prior locations of the resources on the remote server, status codes indicating a status of the prior locations, and new locations of the resources on the remote server, said first resource being among said resources; automatically changes the document in response to the receiving of the first response, based on the indication, wherein said changing of the document comprises automatically replacing the first link or automatically deleting the first link; automatically sends a second request from the local server to the link checking service unit of the remote server to determine whether a second resource in the remote server corresponding to a second link in the document is located at the second link after the changing of the document; and stores a corrected document having the replaced first link in the corrected document repository, wherein a status code stored in the mapping table in association with the first resource comprises one of a first status code that indicates that the first resource has moved from a prior location stored in the mapping table in association with the first resource to a new location stored in the mapping table in association with the first resource, and a second status code that indicates that the first resource has been permanently removed from the remote server, and wherein a status code stored in the mapping table in association with the second resource comprises a third status code which indicates that the second resource is located at a prior location stored in the mapping table in association with the second resource. - View Dependent Claims (20)
-
-
21. An apparatus for correcting a link in a document stored on a local sever, comprising:
-
a processor means for sending, using the processor, a first request from the local server to a link checking service unit of a remote server to determine whether a first resource in the remote server corresponding to a first link in the document is located at said first link; means for receiving a first response to said first request from the remote server, the first response containing an indication that the first resource is not located at the first link, wherein the remote server generates the indication by referring to a mapping table stored on the remote server to determine that the first resource is not located at the first link, wherein said mapping table indicates changes that occur in locations of resources on the remote server by storing prior locations of the resources on the remote server, status codes indicating a status of the prior locations, and new locations of the resources on the remote server, said first resource being among said resources; means for automatically changing the document in response to the receiving of the first response, based on the indication, wherein said changing of the document comprises automatically replacing the first link or automatically deleting the first link; and means for automatically sending a second request from the local server to the link checking service unit of the remote server to determine whether a second resource in the remote server corresponding to a second link in the document is located at the second link after the changing of the document, wherein a status code stored in the mapping table in association with the first resource comprises one of a first status code that indicates that the first resource has moved from a prior location stored in the mapping table in association with the first resource to a new location stored in the mapping table in association with the first resource, and a second status code that indicates that the first resource has been permanently removed from the remote server, and wherein a status code stored in the mapping table in association with the second resource comprises a third status code which indicates that the second resource is located at a prior location stored in the mapping table in association with the second resource.
-
-
22. A computer readable medium having embodied thereon program instructions suitable for execution by a computer, the program instructions comprising:
-
program instructions for sending a first request from a local server on which a document is stored to a link checking service unit of a remote server to determine whether a first resource in the remote server corresponding to a first link in the document is located at said first link; program instructions for receiving a first response to said first request from the remote server, the first response containing an indication that the first resource is not located at the first link, wherein the remote server generates the indication by referring to a mapping table stored on the remote server to determine that the first resource is not located at the first link, wherein said mapping table indicates changes that occur in locations of resources on the remote server by storing prior locations of the resources on the remote server, status codes indicating a status of the prior locations, and new locations of the resources on the remote server, said first resource being among said resources; program instructions for automatically changing the document in response to the receiving of the first response, based on the indication, wherein said changing of the document comprises automatically replacing the first link or automatically deleting the first link; and program instructions for automatically sending a second request from the local server to the link checking service unit of the remote server to determine whether a second resource in the remote sewer corresponding to a second link in the document is located at the second link after the changing of the document, wherein a status code stored in the mapping table in association with the first resource comprises one of a first status code that indicates that the first resource has moved from a prior location stored in the mapping table in association with the first resource to a new location stored in the mapping table in association with the first resource, and a second status code that indicates that the first resource has been permanently removed from the remote server, and wherein a status code stored in the mapping table in association with the second resource comprises a third status code which indicates that the second resource is located at a prior location stored in the mapping table in association with the second resource.
-
-
23. An apparatus for correcting a link in a document stored on a local server, comprising:
-
a document repository having stored therein one or more documents on a remote server; a mapping table unit stores prior locations of resources on the remote server, status codes indicating a status of the prior locations, and new locations of the resources on the remote server; and a link checking service unit connected to the document repository and the mapping table unit, and configured to; receive a first request from the local server to determine whether the first resource is located at a first link in the document, wherein the first link includes the first prior resource-locator of the first resource; detect if the first resource is present within the document repository at a location indicated by the first prior resource-locator by referring to the mapping table unit; determine if the first resource is present at an alternate location if the first resource is not detected in the location indicated by the first prior resource-locator by referring to the mapping table unit; in response to the first request, return the first present resource-locator indicating the alternate location of the first resource if the first resource is determined to be present at the alternate location, wherein the document is automatically changed in response to the returning of the alternate location identifier by automatically replacing the first link with another link comprising the first present resource-locator; and receive a second request which is automatically sent from the local server after the document is automatically changed, to determine whether a second resource of the remote server is located at a second link in the document, wherein the second link includes a second location indicator of the second resource, wherein a status code stored in the mapping table in association with the first resource comprises a first status code that indicates that the first resource has moved from the location indicated by the first location indicator to the alternate location of the first resource, the location indicated by the first location indicator and the alternate location of the first resource being stored in the mapping table in association with the first resource, and wherein a status code stored in the mapping table in association with the second resource comprises one of a second status code that indicates that the second resource has been permanently removed from the remote server, and a third status code which indicates that the second resource is located at a location indicated by the second location indicator which is stored in the mapping table in association with the second resource. - View Dependent Claims (24, 25, 26, 27)
-
-
28. An apparatus for determining a status of a link in a document stored on a local server, comprising:
-
a processor, means for receiving, using the processor, a first request from the local server to determine whether a first resource of a remote server is located at a first link in the document, wherein the first link includes a first location indicator of the first resource; means for detecting, by the remote server, if the first resource is present within a storage unit at a location indicated by the first location indicator by referring to a mapping table stored on the remote server, wherein said mapping table indicates changes that occur in locations of resources on the remote server by storing prior locations of the resources on the remote server, status codes indicating a status of the prior locations, and new locations of the resources on the remote server, said first resource being among said resources; means for determining, by the remote sewer, if the first resource is present at an alternate location if the first resource is not detected in the location indicated by the first location indicator by referring to the mapping table; means for returning, by the remote sewer, in response to the first request, an alternate location identifier indicating the alternate location of the first resource if the first resource is determined to be present at the alternate location, wherein the document is automatically changed in response to the returning of the alternate location identifier by automatically replacing the first link with another link comprising the alternate location identifier; and means for receiving a second request which is automatically sent from the local server after the document is automatically changed, to determine whether a second resource of the remote server is located at a second link in the document, wherein the second link includes a second location indicator of the second resource, wherein a status code stored in the mapping table in association with the first resource comprises a first status code that indicates that the first resource has moved from the location indicated by the first location indicator to the alternate location of the first resource, the location indicated by the first location indicator and the alternate location of the first resource being stored in the mapping table in association with the first resource, and wherein a status code stored in the mapping table in association with the second resource comprises one of a second status code that indicates that the second resource has been permanently removed from the remote server, and a third status code which indicates that the second resource is located at a location indicated by the second location indicator which is stored in the mapping table in association with the second resource.
-
-
29. A computer readable medium having embodied thereon program instructions suitable for execution on a computer for determining a status of a link in a document stored on a local server, the program instructions comprising:
-
program instructions for receiving a first request from the local server to determine whether a first resource of a remote server is located at a first link in the document, wherein the first link includes a first location indicator of the first resource; program instructions for detecting, by the remote server, if the first resource is present within a storage unit at a location indicated by the first location indicator by referring to a mapping table stored on the remote server, wherein said mapping table indicates changes that occur in locations of resources on the remote server by storing prior locations of the resources on the remote server, status codes indicating a status of the prior locations, and new locations of the resources on the remote server, said first resource being among said resources; program instructions for determining, by the remote server, if the first resource is present at an alternate location if the first resource is not detected in the location indicated by the first location indicator by referring to the mapping table; program instructions for returning, by the remote server, in response to the first request, an alternate location identifier indicating the alternate location of the first resource if the first resource is determined to be present at the alternate location, wherein the document is automatically changed in response to the returning of the alternate location identifier by automatically replacing the first link with another link comprising the alternate location identifier; and program instructions for receiving a second request which is automatically sent from the local server after the document is automatically changed, to determine whether a second resource of the remote server is located at a second link in the document, wherein the second link includes a second location indicator of the second resource, wherein a status code stored in the mapping table in association with the first resource comprises a first status code that indicates that the first resource has moved from the location indicated by the first location indicator to the alternate location of the first resource, the location indicated by the first location indicator and the alternate location of the first resource being stored in the mapping table in association with the first resource, and wherein a status code stored in the mapping table in association with the second resource comprises one of a second status code that indicates that the second resource has been permanently removed from the remote server, and a third status code which indicates that the second resource is located at a location indicated by the second location indicator which is stored in the mapping table in association with the second resource.
-
Specification