Read_URL
Synopsis
A user interface wrapper for the W3Cget_URL module (see W3Cget_URL ).
Input Port
Parameters
URL
|
UItext
|
OutFile
|
UItext
|
Status
|
UItext
|
Output Port
Description
Read_URL provides a convenient user interface for the W3Cget_URL module. The application uses Read_URL to cache the contents of an URL to a file, and then uses the location of the cache file as input to a different AVS/Express data reader.
Input
none.
Parameters
URL
Specify a valid URL address in this field. The Read_URL module reads and caches the contents contained at that location. If the URL is invalid or points to unretrievable information, the phrase "URL contains no data" appears in the Status parameter.
OutFile
This is the location of the URL content cache. It is also the port that is used as input to another AVS/Express data reader. The default location is /tmp/xp_out.dat , but you can change the location at any time.
If two URLs are fetched in a row, the contents of the second URL overwrite the contents of the first URL if the location of the cache file is not changed. The OutFile _parameter receives an notify _event after every valid URL retrieval.
Status
A text field that contains status information for the current URL fetch. Messages are displayed in this field as the URL collection progresses; these messages are described in W3Cget_URL .
Output Port
out_fld
field. Output 3D Rectilinear field data.
Example
Not available
File
v/w3c.v
See also related modules