Main.TAPoRwareHTMLDateFinder (r1.1 vs. r1.8)
Diffs

 <<O>>  Difference Topic TAPoRwareHTMLDateFinder (r1.8 - 06 Jun 2008 - LianYan)

META TOPICPARENT TAPoRware

Find Dates

See http://taporware.mcmaster.ca/~taporware/htmlTools/datefinder.shtml
Line: 51 to 51

listdisp 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 add a button in your web page to list all the HTML tag in that page by call TAPoRware cgi script.

Here is the code for the tool button interface:

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

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

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

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

<input type="hidden" name="tagtext" value="body" />

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

<input type="hidden" name="listdisp" value="2" />

<input type="hidden" name="taporface" value="same" />

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

</form>


Web Service Interface


 <<O>>  Difference Topic TAPoRwareHTMLDateFinder (r1.7 - 29 Mar 2007 - LianYan)

META TOPICPARENT TAPoRware

Find Dates

See http://taporware.mcmaster.ca/~taporware/htmlTools/datefinder.shtml
Line: 25 to 25

Ways of Using

  • Enter a valid URL in the URL field or enter a local upload html text
Changed:
<
<
  • Enter a valid html tag or tag list seperated by comma, default is "body"
>
>
  • Enter a valid html tag or tag list separated by comma, default is "body"

  • 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"
Line: 41 to 41

Here are the parameters:
Changed:
<
<
Parameter Name Parameter Value Control Type Default Discription
>
>
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 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
Changed:
<
<
tagword   text body Valid html element (tag) name or multple html element name separated by comma
>
>
tagword   text body Valid html element (tag) name or multiple html element name separated by comma

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
listdisp 2 selection 2 Display format which is HTML current
Line: 54 to 54

Web Service Interface

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

Changed:
<
<
    • element -- any html element (tag) name or multple html element name separated by comma
    • dateOption -- a seletion list of date formats user can select. the selectiona are; all date, years, months, weeks, seasons, holidays and user date witt the values of all/year/month/week/season/holiday/user respectively.
>
>
    • element -- any html element (tag) name or multiple html element name separated by comma
    • 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.
Line: 70 to 70

To Do

Changed:
<
<
-- MattPatey - 13 Oct 2005
>
>
-- LianYan - 29 Mar 2007


 <<O>>  Difference Topic TAPoRwareHTMLDateFinder (r1.6 - 18 Jul 2006 - LianYan)

META TOPICPARENT TAPoRware

Find Dates

See http://taporware.mcmaster.ca/~taporware/htmlTools/datefinder.shtml
Line: 56 to 56

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

Changed:
<
<
>
>

  • Service Method: date_finder_HTML
  • parameters:
    • htmlInput -- any html string

 <<O>>  Difference Topic TAPoRwareHTMLDateFinder (r1.5 - 11 Jul 2006 - LianYan)

META TOPICPARENT TAPoRware

Find Dates

See http://taporware.mcmaster.ca/~taporware/htmlTools/datefinder.shtml
Line: 8 to 8

Description

This tool extracts dates from an HTML 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)).
Changed:
<
<

History

>
>

Predefined Parameter Values in Tool Bar

  • Source: the page the user is currently in.
  • Element: body or set by site owner
  • Date type: all dates, including years, months, weeks, seasons, and North America's statutory holidays
  • Display format: HTML

Pseudocode


 <<O>>  Difference Topic TAPoRwareHTMLDateFinder (r1.4 - 06 Feb 2006 - LianYan)

META TOPICPARENT TAPoRware

Find Dates

See http://taporware.mcmaster.ca/~taporware/htmlTools/datefinder.shtml
Line: 12 to 12

Pseudocode

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

Ways of Using

Added:
>
>
  • 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 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 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
tagword   text body Valid html element (tag) name or multple html element name separated by comma
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
listdisp 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 infomation:

  • Endpoint URL: http://strange.mcmaster.ca:9982
  • Service URI: http://strange.mcmaster.ca/~taporware/webservice
  • Service Method: date_finder_HTML
  • parameters:
    • htmlInput -- any html string
    • element -- any html element (tag) name or multple html element name separated by comma
    • dateOption -- a seletion list of date formats user can select. the selectiona are; all date, years, months, weeks, seasons, holidays and user date witt 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


 <<O>>  Difference Topic TAPoRwareHTMLDateFinder (r1.3 - 15 Oct 2005 - MattPatey)

META TOPICPARENT TAPoRware

Find Dates

Changed:
<
<
See http://taporware/~taporware/htmlTools/datefinder.shtml
>
>
See http://taporware.mcmaster.ca/~taporware/htmlTools/datefinder.shtml

TOC: No TOC in "Main.TAPoRwareHTMLDateFinder"


 <<O>>  Difference Topic TAPoRwareHTMLDateFinder (r1.2 - 15 Oct 2005 - MattPatey)

META TOPICPARENT TAPoRware
Added:
>
>

Find Dates

See http://taporware/~taporware/htmlTools/datefinder.shtml

Description


This tool extracts dates from an HTML 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)).
Added:
>
>

History

Pseudocode

Ways of Using

CGI Interface

Web Service Interface

Known Bugs

To Do


-- MattPatey - 13 Oct 2005

 <<O>>  Difference Topic TAPoRwareHTMLDateFinder (r1.1 - 13 Oct 2005 - MattPatey)
Line: 1 to 1
Added:
>
>
META TOPICPARENT TAPoRware
This tool extracts dates from an HTML 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)).

-- MattPatey - 13 Oct 2005


Topic: TAPoRwareHTMLDateFinder . { View | Diffs | r1.8 | > | r1.7 | > | r1.6 | More }

Revision r1.1 - 13 Oct 2005 - 20:53 - MattPatey
Revision r1.8 - 06 Jun 2008 - 19:14 - LianYan