Tools Home: Add Tool Demo

Click here to show HTML tools HTML Tools

Click here to expand XML tools XML tools

Click here to expand plain text tools Plain Text Tools

Click here to expand other tools Other tools

 Beta tools
 Add Tools Demo
 Manual
 About

 

Open Tools Prototype

There are several easy ways to use the TAPoRware tools.

If you want to analyze any web page while browsing, you can drag and drop one or more TAPoRware tools to the Links bar of your browser.

If you want user to analyze your own web content using TAPoRware tools, you can embed either TAPoRware dropdown menu or TAPoRware Toolbar in your content pages.

The instructions to use the TAPoRware tools in different ways and the corresponding code are illustrated as following:

TAPoRware on the Linkbar: Instructions

Drag one of the blue tool links below to your browser Linkbar. Once you have it on the Linkbar you can click on it when you are looking at a page you want to analyze using TAPoRware. The tool link will open the appropriate tool panel in a new window and place the URL for the page you were looking at into the form.

TAPoRware On Your Site -- Dropdown Menu: Instructions

You can embed a drop down menu in an electronic text that you have mounted on the web that will automatically pass that page to a TAPoRware tool. Below are the drop-down menu and HTML form code with Javascript to make this work. This allows you to enhance your texts with the appropriate TAPoRware tools.

<form name="taporware">
<script language="javascript">
function gototaporware(){
    if (document.taporware.taportools.value == "listword"){
        window.open("http://taporware.mcmaster.ca/~taporware/htmlTools/listword.shtml?" + 
document.location.href);
    }else if (document.taporware.taportools.value == "findtext"){
        window.open("http://taporware.mcmaster.ca/~taporware/htmlTools/findtext.shtml?" + 
document.location.href);
    }else if (document.taporware.taportools.value == "colloc"){
        window.open("http://taporware.mcmaster.ca/~taporware/htmlTools/collocation.shtml?" + 
document.location.href);
    }
}
</script>
<select name="taportools" onchange="gototaporware()">
  <option>Taporware Tools</option>
  <option value="listword">List Words</option>
  <option value="findtext">Find Text</option>
  <option value="colloc">Collocation</option>
</select>
</form>

TAPoRware On Your Site -- Analysis Toolbar: Instructions

        Analysis Toolbar      +

You can also embed the TAPoRware Toolbar in your content pages and allow users to analyze them using the TAPoRware tools. The main difference between the Dropdown menu and the Toolbar is that the Toolbar predefines many parameters (based on most favorite use case) required to run the tools and allows users to enter the most critical parameters, but the Dropdown menu actually open a new TAPoRware tool page and automatically pass the current page's URL to the corresponding field, and it allow the users to select all available parameters and then run the tool.

Due to the extensive use of css in newer sites, which usually divide the page into several areas using "id" or "class" attribute. The Toolbar provides a choice for user to analyze the text in one specified area. (see the instruction in code for detail).

There are two ways to embed the Toolbar:

One way is to put the Toolbar in a fixed location in your web site (see example -- scroll down on the left, and code). You can use SSI (Server Side Includes) or other other script's to input the code into block level HTML elements (please save the code in a file on your server), or simply copy and paste the code into a block level HTML elements.

Another way is to let the Toolbar float when you scroll up and down the page, keeping the Toolbar in a absolute fixed position relative to the browser window. You can see a Toolbar in this page that floats when you scroll up and down. To add the floating Toolbar to your web site, you need to embed the code between open and close body tags. Either use SSI (or your choice of scripting) or directly copy and paste the code into the HTML.

For the usage of the TAPoRware Toolbar in a content site, please see here.

 

 

TAPoRware Project, McMaster University,