# /research/software/rdf_topicmaps/documentation/interfaceinteraction.htm

originally: http://www.oclc.org/research/software/rdf_topicmaps/documentation/interfaceinteraction.htm

# Web interface interaction

The file htdocs/demo.html is supplied as an interface you can use "out of the box."

Search Interface
The very first screen that the user sees provides a simple search interface into the topicmap data. Users select the database they want to search and enter queries into the text field. If they press "Search Topics," the application will search for the query term in the database and return all matching topics. If "Extended Search" is pressed, the database will be searched for all matching topics, as well as the documents containing each of those topics. The results from the Extended Search is a list of documents, nested by topic. In either search, clicking on a topic link will take the user to the Topic Relations display. In Extended Search, clicking on a document link will open that document in a new window. Clicking on the "more info" link will show the Document Information page for that document. The images to the right show the results produced by each type of search. | Search topics | Extended search
Topic relations
In the Topic Relations screen, the relations between a "main" topic and several associated topics are displayed. The main topic is displayed at the top. Just below the main topic is a link labeled "Show documents with this topic." Clicking on this link will lead to the Document List display. At the bottom, topics are arranged by their relation to the main topic. Clicking on a topic link will make it the main topic and show its relations to other topics. | Topic relations |
Document list
This screen shows all the documents that match a given topic. The topic matched in the documents is displayed at the top, followed by a link that takes the user back to the Topic Relations display. Below these is a list of document links, with a document's title used for its link text. If this link is clicked, the document is opened in a new window. For each document in the list, a link labeled "more info" is also shown. If this link is clicked, the Document Information screen for that document is displayed. | Document list |
Document information
This screen shows all the information that is available for a given document. Email messages generally have the To, From and Subject fields. HTML documents generally have Title, Format and URL fields, but rarely have more than those. At the bottom of the display is a list of all the topics for the document, each of which links back to the Topic Relations display. The image at right shows an email message. | Document information |