Main.TAPoRwarePlainDateFinder (r1.1 vs. r1.3)
Diffs

 <<O>>  Difference Topic TAPoRwarePlainDateFinder (r1.3 - 13 Jun 2008 - LianYan)

META TOPICPARENT TAPoRware

Find Dates

See http://taporware.mcmaster.ca/~taporware/textTools/datefinder.shtml
Line: 36 to 36

Parameter Name Parameter Value Control Type Default Description
source url/local radio button url Let user select input text (either a url or upload local text)
Changed:
<
<
htmlurl   text   A Valid URL that points to a text document
>
>
texturl   text   A Valid URL that points to a text document

localFile   file   The path to your local source text file
date all/year/month/week/ season/holiday/user radio button all Date type to be searched
userdate   text   Fill this field if select "user date", must be name of month, year, week, season or holiday
HowToList 2 selection 2 Display format which is HTML current
taporface   checkbox checked display result in a new window without graphics interface (default) or with taporware interface in the same window
Added:
>
>

Use Date Finder TAPoRware Tool in Your Web Page

You can a button in your web page to get the date related text in that page by call TAPoRware cgi script.

Here is the code for the tool button interface:

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

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

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

<input type="hidden" name="freetext" value="Y"/>

<input type="hidden" name="date" value="all" />

<input type="hidden" name="HowToList" value="1" />

<input type="submit" name="doit" value="Find Dates" />

</form>


Web Service Interface


 <<O>>  Difference Topic TAPoRwarePlainDateFinder (r1.2 - 29 Mar 2007 - LianYan)

META TOPICPARENT TAPoRware

Find Dates

See http://taporware.mcmaster.ca/~taporware/textTools/datefinder.shtml

TOC: No TOC in "Main.TAPoRwarePlainDateFinder"

Deleted:
<
<

Description


Changed:
<
<

History

>
>

Description

This tool extracts dates from any text document. Dates can be limited to all dates, years, months, weeks, seasons, North American holidays or user defined dates (e.g. specific month(s), week(s), season(s), holiday(s)).

Pseudocode

Added:
>
>
  • Obtain source text string by URL or from user's local disk
  • If the text format is html or xml, strip off all the tags
  • Use pattern match to get the sentences containing the user specified date (all date, years, months, or weeks etc.)
  • Generate html output to display

Ways of Using

Added:
>
>
  • Enter a valid URL in the URL field or enter a local path to upload the source text
  • Select a date format or want to investigate. If you select "user date", you have to enter the date in the related text field.
  • Select output format (current, only html format is supported)
  • If you want the results displayed in the same window with taporware interface, uncheck the check box - "Open results in new window"
  • Finally, click the "Submit" button

CGI Interface

Added:
>
>
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)

Here are the parameters:

Parameter Name Parameter Value Control Type Default Description
source url/local radio button url Let user select input text (either a url or upload local text)
htmlurl   text   A Valid URL that points to a text document
localFile   file   The path to your local source text file
date all/year/month/week/ season/holiday/user radio button all Date type to be searched
userdate   text   Fill this field if select "user date", must be name of month, year, week, season or holiday
HowToList 2 selection 2 Display format which is HTML current
taporface   checkbox checked display result in a new window without graphics interface (default) or with taporware interface in the same window

Web Service Interface

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

  • Endpoint URL: http://taporware.mcmaster.ca:9982
  • Service URI: http://taporware.mcmaster.ca/~taporware/webservice
  • Service Method: date_finder_Plain
  • parameters:
    • textInput -- any text string, if the text format is xml or html, all tags will be stripped
    • dateOption -- a selection list of date formats user can select. the selections are; all date, years, months, weeks, seasons, holidays and user date with the values of all/year/month/week/season/holiday/user respectively.
    • userDate -- name of year, month, week day, etc.
    • outFormat -- value is html since only HTML format is support currently.

Known Bugs

To Do

Write tool summary and walkthrough
Changed:
<
<
-- MattPatey - 15 Oct 2005
>
>
-- LianYan - 29 Mar 2007


 <<O>>  Difference Topic TAPoRwarePlainDateFinder (r1.1 - 15 Oct 2005 - MattPatey)
Line: 1 to 1
Added:
>
>
META TOPICPARENT TAPoRware

Find Dates

See http://taporware.mcmaster.ca/~taporware/textTools/datefinder.shtml

Description

History

Pseudocode

Ways of Using

CGI Interface

Web Service Interface

Known Bugs

To Do

Write tool summary and walkthrough

-- MattPatey - 15 Oct 2005


Topic: TAPoRwarePlainDateFinder . { View | Diffs | r1.3 | > | r1.2 | > | r1.1 | More }

Revision r1.1 - 15 Oct 2005 - 19:35 - MattPatey
Revision r1.3 - 13 Jun 2008 - 13:18 - LianYan