|
WWW Read Condition
|
||
|
Definition: |
The WWW Read command searches an entire web page specified by the URL in the URL parameter for the String specified in the first text field. If the string is found in the web page, a number following that string is read and stored in the attribute specified by the Attribute parameter. The search string can contain wildcards (e.g., "*"). This command should only be used when you already have a live connection to the Internet. If you use this command without a live connection the AgentSheets environment will try to open a connection for you. |
|
|
Parameters: |
||
|
Example: |
In the Boulder Live project, any of the location agents (such as the CMS agent) take the current temperature by going to the http://161.97.2.24/cent/centweather.shtml web page, finding the string "Temperature," and storing it into the temp variable.
|
|
|
|
Due to the Java applet security restrictions in browsers, the WWW Read condition may not work in Ristretto-generated applets. | |
|
| Next | Previous | Reference Manual | Getting Started Manual | |
||