The Standard Message Function Library took a great leap forward 
today, moving from version 0.1.2 to version 0.2.1. Besides a few bug 
fixes, the library now includes the 'create-message and 'get-
messages-for-display functions (see usage for these functions below.)

As always, I appreciate any and all input on this effort.

-Ryan


You can read about the Standard Message Function Library here:

http://www.dangeroustechnology.com


A new usage section for the library has been added here:

http://www.dangeroustechnology.com/#one3


And the code for the library is here:

http://www.dangeroustechnology.com/standard-message-function-library.txt


Here is a synopsis of today's changes:

0.2.1 [9-Jan-2001 "Corrected target 'word in 'write-xml-message. 
Added 'create-message object! functions. Corrected 'display-markup 
to output string! datatype instead of block! datatype. Negated use of 
'message-request-data target variable in 'read-directory-messages. 
Added 'get-messages-for-display object! functions." "Ryan"]


And, finally, here are the ussage instructions for the newly created 
functions 'create-messsage and 'get-messages-for-display. These are 
higher-level functions, depending on other library functions for 
execution:


CREATING (AND SAVING) MESSAGES

Using decoded CGI data, writes XML standard message file to 
directory determined by messageType.

    create-message/from-cgi cgi-input
        
Using an e-mail message in the form of a REBOL e-mail object!, 
writes XML standard message file to 'email' directory.

    create-message/from-email email-message


RETRIEVING MESSAGES MARKED-UP FOR DISPLAY

Using decoded CGI data, create a block! of messages marked up for 
display using standardized cascading style sheets tags as the 
display markup.

    get-messages-for-display/all-messages-in-directory/css-output cgi-input

Using decoded CGI data, create a block! of messages marked up for 
display using a set of HTML tags as defined in an external object! as 
the display markup.

    get-messages-for-display/all-messages-in-directory/html-output cgi-input

Using decoded CGI data, mark up a specific message for display 
using standardized cascading style sheets tags as the display 
markup.

    get-messages-for-display/specific-message/css-output cgi-input

Using decoded CGI data, mark up a specific message for display 
using a set of HTML tags as defined in an external object! as the 
display markup.

    get-messages-for-display/specific-message/html-output cgi-input
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to