|
Extract Text
See http://taporware.mcmaster.ca/~taporware/htmlTools/extract.shtml
|
|
CGI Interface
|
< < |
If you want to use this tool from you web site, here is the 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 html text to the tool, you need to use attribute name/value pair: enctype="multipart/form-data" within the form tag)
|
|
| htmlurl | | text | | A Valid URL that the pointed document should be an html text |
| localFile | | file | | The path to your local html text file |
| tagtext | | text | body | Valid html element (tag) name or multple html element name separated by comma |
|
< < |
| textdisp | 1/2/3 | selection | 2 | Display foemat which are HTML/XML text in HTML/XML treein the order of parameter values |
|
> > |
| textdisp | 1/2/3 | selection | 2 | Display format which are HTML/XML text in HTML/XML treein the order of parameter values |
|
|
| taporface | | checkbox | checked | display result in a new window without graphics interface (default) or with taporware interface in the same window |
Web Service Interface
|
|
Extract Text
See http://taporware.mcmaster.ca/~taporware/htmlTools/extract.shtml
|
|
Pseudocode
|
> > |
- Obtain HTML string by URL or from user's local disk
- Extract text based on user specified element(s)
- Generate output based on user specified display format
|
|
Ways of Using
|
> > |
- Enter a valid URL in the URL field or enter a local upload html text
- Enter a valid html tag or tag list seperated by comma, default is "body"
- Select output format
- Click "submit" button
|
|
CGI Interface
|
> > |
If you want to use this tool from you web site, here is the CGI Interface:
(Note: If you want to upload local html 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 | Discription |
| source | url/local | radio button | url | Let user select input text (either a url or upload local html text) |
| htmlurl | | text | | A Valid URL that the pointed document should be an html text |
| localFile | | file | | The path to your local html text file |
| tagtext | | text | body | Valid html element (tag) name or multple html element name separated by comma |
| textdisp | 1/2/3 | selection | 2 | Display foemat which are HTML/XML text in HTML/XML treein the order of parameter values |
| taporface | | checkbox | checked | display result in a new window without graphics interface (default) or with taporware interface in the same window |
|
|
Web Service Interface
|
> > |
Taporware provides web services to any non-benefit organizations. here is the taporware web services infomation:
|
|
Known Bugs
To Do
|