11 | 12 | 2017
ShowmeViaWeb

Beginning with Release 4.2.6 this command can be used to retrieve text from external web pages and display it as if were in a Showme command.

ShowmeViaWeb

ShowmeViaWeb displays the response of an HTTP request to the web address
supplied. Only web requests are handled. If the address provided doesn't
include the http:// this will be prepended before making the get request.
Data can be sent to the URL by appending it to the URL in the format
http://www.somewebsite.org/?key=value&key2=value2
The web request is sent as a GET if the URL provided is less than
256 characters and as a POST when longer.
The result should be either plain text or text with ANSI text commands.
MM2k6 variables and procedures will be evaluated and replaced before being
displayed.
þ {web address} The website to get the text from.
Example:
/ShowmeViaWeb {http://mm2k6.sourceforge.net/changes.txt}
Format: /ShowmeViaWeb {web address}

ShowmeViaWeb displays the response of an HTTP request to the web address
supplied. Only web requests are handled. If the address provided doesn't
include the http:// this will be prepended before making the get request.

Data can be sent to the URL by appending it to the URL in the format
http://www.somewebsite.org/?key=value&key2=value2
The web request is sent as a GET if the URL provided is less than
256 characters and as a POST when longer.

The result should be either plain text or text with ANSI text commands.
MM2k6 variables and procedures will be evaluated and replaced before being
displayed.

/showmeviaweb  {web address} The website to get the text from.

Example:

/ShowmeViaWeb {http://mm2k6.sourceforge.net/changes.txt}

Note: If this command is used repeatedly before a previous response is complete only the last one will display.