Skip to content.

Find topic

Web tools

Help

Tools

       Analysis Tool Bar  +

Word Brush

Try It

Description

Allows the user to paint with words extracted from an online document.

Issues

There are issues with getting Java applets working in Firefox on OS X. If you are experiencing such problems, please see the entry on how to get Firefox to display Java applets compiled with Java 1.4 and up.

When opening the results window for the first time the applet will function normally. The second time the window is openened, however, the applet GUI breaks. This can be resolved by re-starting your browser session, i.e. completely quitting the application and re-starting. This affects users regardless of platform and browser.

Responsibility

This was programmed by Matt Patey as part of the TAPoR project led by Geoffrey Rockwell.

Pseudocode

  • Obtain submitted text string by URL * If the text format is html or xml, strip off all the tags
  • Generate java applet of the words brush. All processed are performed by the java code

Ways of Using

  • Enter a valid URL in the URL field
  • If you want the results displayed in the same window with taporware interface, uncheck the check box - "Open results in new window"
  • Click the "Submit" button

CGI Interface

If you want to use this tool from your web site, here is the CGI Interface: (Note: If you want to upload local source text to the tool, you need to use attribute name/value pair: enctype="multipart/form-data" within the form tag)

Here are the parameters:

Parameter Name Parameter Value Control Type Default Description
htmlurl   text   A Valid URL that points to the source text
taporface   checkbox checked display result in a new window without graphics interface (default) or with taporware interface in the same window

Use Word Brush TAPoRware Tool in Your Web Page

You can add a button in your web page to get the word brush applet to show the words in your page by call TAPoRware cgi script.

Here is the code for the button interface:

<form method="post" name="htmlForm" enctype="multipart/form-data" target="_blank" action="http://taporware.mcmaster.ca/~taporware/cgi-bin/prototype/bwordbrush.cgi" onsubmit="document.htmlForm.htmlurl.value=document.location.href">

<input type="hidden" name="source" value="url" />

<input type="hidden" name="htmlurl" />

<input type="submit" value="Brush" />

</form>

Web Service Interface

Taporware provides web services to any non-benefit organizations. here is the taporware web services information:

-- MattPatey - 04 Oct 2005


Use this box to quickly add a comment to the page.

more options...