Re: Helper Apps or Intelligent Agents

2000-11-23 Thread Gregory Lypny

That's neat Kevin,

 I'll experiment with this.  I'm hoping it will be useful in allowing 
grad students to update references specific research web sites.

 Greg


On 24/11/2000 6:27 AM, [EMAIL PROTECTED] wrote: 

>On 23/11/00 1:04 pm, Gregory Lypny <[EMAIL PROTECTED]> wrote:
>
>> Does anyone have an example (or can anyone direct me to the relevant
>> help resources) of a MetaCard stack that can access a web site and
>> extract specific information from a web page?
>
>Use the URL commands to download the page, then you can treat the html that
>is returned as text and parse in the normal way.  For example:
>
>put URL "http://www.xworlds.com/" into tVar
>set the htmlText of fld 1 to tVar --remove html tags
>ask "Search term?"
>if it is in fld 1 then answer "text found"
>else answer "text not found"
>
>Regards,
>
>Kevin
>
>Kevin Miller <[EMAIL PROTECTED]> 
>Runtime Revolution Limited (formerly Cross Worlds Computing).
>Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.





_
Gregory Lypny
Associate Professor of Finance
Concordia University

_
"Take chances, make mistakes!"
   - Ms Frizzle, The Magic School Bus



Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: Helper Apps or Intelligent Agents

2000-11-23 Thread Kevin Miller

On 23/11/00 1:04 pm, Gregory Lypny <[EMAIL PROTECTED]> wrote:

> Does anyone have an example (or can anyone direct me to the relevant
> help resources) of a MetaCard stack that can access a web site and
> extract specific information from a web page?

Use the URL commands to download the page, then you can treat the html that
is returned as text and parse in the normal way.  For example:

put URL "http://www.xworlds.com/" into tVar
set the htmlText of fld 1 to tVar --remove html tags
ask "Search term?"
if it is in fld 1 then answer "text found"
else answer "text not found"

Regards,

Kevin

Kevin Miller <[EMAIL PROTECTED]> 
Runtime Revolution Limited (formerly Cross Worlds Computing).
Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Helper Apps or Intelligent Agents

2000-11-23 Thread Gregory Lypny

Hi Everyone,

 Does anyone have an example (or can anyone direct me to the relevant 
help resources) of a MetaCard stack that can access a web site and 
extract specific information from a web page?

 Regards,

  Greg




_
Gregory Lypny
Associate Professor of Finance
Concordia University

_
"Take chances, make mistakes!"
   - Ms Frizzle, The Magic School Bus



Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.