* Finally implemented a simple per-page data storage mechanism for plugins,
[ikiwiki.git] / doc / plugins / write / external.mdwn
index 0abc9b0a0d791eb3448dd11664d7b065101b88b6..a1a3811dc72134b2cc5fcd61fa5474b7376d2fd6 100644 (file)
@@ -49,6 +49,11 @@ to access any such global hash. To get the "url" configuration value,
 call `getvar("config", "url")`. To set it, call 
 `setvar("config", "url", "http://example.com/)`.
 
+The `%pagestate` is a special hash with a more complex format. To access
+it, external plugins can use the `getstate` and `setstate` RPCs. To access
+stored state, call `getstate("page", "id", "key")`, and to store state,
+call `setstate("page", "id", "key", "value")`.
+
 ## Notes on function parameters
 
 The [[plugin_interface_documentation|write]] talks about functions that take