Viewing a Typical Page
Everytime a typical page from the web is accessed, a series of things
are done:
- A script runs that adds the necessary html to display the "Add,"
"Search," and "Help" buttons to the top of the page.
- This script then adds the Javascript code necessary to open the
"Annotations," "Search," and "Help" windows.
- Annotation permissions are checked to see which ones can be
viewed by the current user.
- The time for each annotation is checked to determine what color
the arrow should be on the page.
- The annotations are then inserted into the html for the page:
- The "context" of the annotation is searched for in the html
source.
- The annotated text is found within the context.
- The arrows are added around the annotated text with
appropriate links.
- If the context was unable to be found, HyperGloss will still
attempt to find the annotated text using an instance number
that is stored when the annotation is made.
- The page source is then sent back to the Web browser through Web
Raveler with these HyperGloss changes.