[Top] [Prev] [Next] [Bottom]
[Contents]
SaRegisterStringSite
Registers a data site callback where a string will be substituted in the HTML template for the data site.
#include "SaRnHtml.h"
int SaRegisterStringSite(char* file, char* site, char* value);
Arguments
- file
- A string specifying the filepath name of an HTML template file. If non-null and not an empty string, this file will be "played", if it is not already on the "play" list. If NULL or an empty string, the site will still be registered, but can be overridden by a similar site name with a specified filename.
- site
- A string specifying the site name to register the site function callback on.
- value
- A string to substitute for the specified data site. The string is copied locally.
Return Values
Returns 1 if successful. Returns 0 if the argument site is NULL or an empty string.
Registers a data site callback where a string will be substituted in the HTML template for the data site.
SaRegisterStringSite(NULL, "AUTHOR", "Harry Costa");
See Also
[Top] [Prev] [Next] [Bottom]
[Contents]
info@bluestone.com
Copyright © 1997, Bluestone. All rights
reserved.