Remote Call

The Remote Call component faciliates remote procedure calls from the Interaction web server companion to Userland Frontier. This makes it easy to integrate content and services from Frontier with Interaction websites.

Remote Calls are defined in the following dialog according to the XML-RPC specification:

The result from each remote procedure call is integrated in content served by Interaction using a standard XML entity reference. For example, the result of the call above is included in the paragraph below using the entity reference &rpc.state; () as in:

Right now my favorite state is

This particular call works by sending a remote procedure call to Userland's website at the time you accessed this location. The call uses the value for seconds past the minute as parameter to a Frontier procedure that looks up which state matches the value. The value for seconds past the minute are provided by placing an entity reference in the markup of the procedure call (you can also use other entity references from Interaction in a call). Note that as there are no states beyond 51, the values from 52-59 causes an error message to be returned.

Interaction processes XML content into HTML based on processing rules and style sheets. The Remote Call entity thus allows Frontier users to take advantage of Interaction's advanced XML processing capabilities.

Installing the Remote Call Component

  1. Download the Remote Call archive.
  2. Unstuff the archive (most browsers will do this for you).
  3. Find the appropriate version of the component in the folder that best matches your version of Interaction.
  4. Put the component file in the Components folder of Interaction
  5. Restart Interaction to activate the component.

If you haven't yet got the latest version of Interaction on your site, grab it right here:

Frontier is a trademark of Userland Software. Interaction is a trademark of in·Progress