UKOLN Doc-info help



Document objects

The document objects section presents a "Key" that relates ID's to objects that have been retrived in relation to the request for an HTML document.

The URL entered to Doc-info must refer to an HTML document (if this is not the case, an error is triggered). This URL is retrieved and corresponds to ID 0. Other objects are then retrieved corresponding to the "inline" objects referred to within the root document.

Currently, the objects defined as 'inline' are:

APPLET
EMBED
OBJECT
IMG
IMAGE
BODY BACKGROUND
LINK

These objects correspond to Doc-info "types". There are other types that correspond to other objects. These include redirect objects and failed objects.

A redirect object arises as a result of an HTTP redirect - an object represents the HTML body and HTTP headers associated with the page that contains the redirect. The actual redirect is represented by an object of the same type as the redirector. A fail-type object occurs when an HTTP request for an object (other than the root object) is unsuccessful, it contains the HTML and HTTP components of the error message.