PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: MakeDirectoryTree()[Next]: Making()
\ -> Rexx -> Inbuilt PPWIZARD Functions -> MakeWebLinks()


This is an inbuilt function function provided by PPWIZARD.

This function is used to process any http or ftp web addresses in a string. By default a hypertext link is created but you have full control over what occurs.

This call does not try and "guess" that something is a web address (for example "www.fred.com") but simply looks for the specified protocol and works out where the URL ends (it knows which characters are valid in a URL).

The function takes 1-4 parameters as follows:

  1. The string, the possibly modified string is returned by this call.

  2. Optional parameter, if supplied it needs to be exactly "http", "https" or "ftp". If not supplied the all protocols are processed.

  3. Optional parameter, this is a template of how the url should be handled.

    The string can contain the following "variables":

    By default a simple link is created, the default template is '<a href="{URL}">{URL}</a>'.

  4. Optional parameter, if supplied this is modifying the list of characters considered valid in a URL. If the string starts with "+" then the characters are in addition to the default ones otherwise it replaces the default list.

email me  any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Search][Prev]: MakeDirectoryTree()[Next]: Making()

My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Saturday May 28 2022 at 2:55pm