Fixed bugs in the blacklist logic.
[rags.git] / README
diff --git a/README b/README
index f178757..3fa1913 100644 (file)
--- a/README
+++ b/README
@@ -7,6 +7,20 @@ RAGS follows a similar philosophy to that of the Scratchy gopher
 server, in that it allows dynamic content to be generated using
 embedded Scheme expressions.
 
+For eample, if this readme was a file in the gemini content directory
+and had its execute bits set, the following would insert the current
+time into the document when it was served:
+,(eval
+  (begin
+    (import (chicken time posix))
+    (print "The time is " (seconds->string))))
+
+(This applies to all executable text/* documents, regardless of the
+specific content type.)
+    
+Similarly, shell script output can be incorporated:
+,(shell "uptime")
+
 The server is still under heavy development, and the source is
 currently the only documentation.