SLiMSuite REST Server


Links
REST Home
EdwardsLab Homepage
EdwardsLab Blog
SLiMSuite Blog
SLiMSuite
Webservers
REST Pages
REST Status
REST Help
REST Tools
REST Alias Data
REST API
REST News
REST Sitemap

rje_zen V1.3.1

Random Zen Wisdom Generator

Module: rje_zen
Description: Random Zen Wisdom Generator
Version: 1.3.1
Last Edit: 21/07/15

Copyright © 2007 Richard J. Edwards - See source code for GNU License Notice


Imported modules: rje


See SLiMSuite Blog for further documentation.

Function

Generates random (probably nonsensical) Zen wisdoms. Just for fun.

Commandline

wisdoms=X : Number of Zen Wisdoms to return [10]
zensleep=X : Time in seconds to sleep between wisdoms [0]

History Module Version History

    # 0.0 - Initial Compilation.
    # 1.0 - Full working version with four zen types and reasonable vocabulary.
    # 1.1 - Added a few more words here and there.
    # 1.2 - Added a webserver mode to return text directly.
    # 1.3.0 - Modified output to work with new REST service calls.
    # 1.3.1 - Added some more words.

rje_zen REST Output formats

Run with &rest=help for general options. Run with &rest=full to get full server output as text.
Individual outputs can be identified/parsed:
###~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~###
# OUTFMT:
...

Outputs available:
wisdoms = the list of randomly generated nonsense.

&rest=OUTFMT can then be used to retrieve individual parts of the output in future.

© 2015 RJ Edwards. Contact: richard.edwards@unsw.edu.au.