webDOMinator - Minion Scripting Language Reference

Search a Command:
<< Back to Filesystem and Shell Commands

wget

Usage...
wget:variable:remote-url
Returns the contents of the remote-url from the internet into the variable
This applies to webDOM version 2.5.0 and above.

User Comments on wget

Using wget to send data to your internet server and get instructions back

Written by: webDOMinator 1 year and 9 months ago

Did you know that you can actually store scripts on your web server that all of your webDOM's can run? Using wget, you are able to send and receive information using the HTTP GET method. For instance, here's a script that simply reports the current number of people in your list, the place in your list, the loaded plugin and account to the server, and gets back a script... in this case we just make webDOM echo "pong" to see that our little ping script ran in our status output.

Code

var:myscript=
wget:var.myscript:http://myserver.com/ping.php?plugin=^wd.plugin^&curinfo=^wd.curinfo^&listsize=^wd.list.count^&listindex=^wd.list.current
evaluate:var.myscript

in this example, we just set up the myscript variable and get back the script... Since we're "wgetting" to a php script online, this means that we can control the script that runs on webDOM server side.

It's possible to pass information back and forth on a scheduled basis by setting my little script up on a my schedule, and since it's not actually interacting with the browser, it can run while other scripts are doing things with the browser and not get in the way of other automation.

Post a Comment About the "wget" Command
Title:
Comment:
Post as Anonymous:
User Login
Username:
Email:
Password:
webDOMinator is copyright ©2008, 2009, 2010 Nathaniel D. Gibson. All Rights Reserved.
Contact | Tutorials | Forum
By using webDOMinator you are taking all liability in to your own hands. Nathaniel D. Gibson is not responsible for any damages, loss, or defamation (legal or otherwise) caused to you or your business from using this program. Nathaniel D. Gibson is not associated with, affiliated with, nor responsible for the content submitted and displayed by users of this site.