SID-00016: Publish via command line or http post
| Status: |
Answered |
TWiki version: |
4.2.0 |
Perl version: |
5.10 |
| Category: |
CategoryAPI |
Server OS: |
RHEL5 2.6 Kernel |
Last update: |
17 years ago |
Hi,
our organization uses TWiki for various documentation purposes, and one of those uses is to track audits of part of our data. Currently, I am running the audit script, redirecting the output to an input file for another perl script that formats the output into TWiki Text at which point I am manually copying and pasting the formatted TWiki Text into the raw edit container and saving the revision.
I would easily be able to modify the process to send the updated TWiki Text to the topic, were there an interface or CLI editing capabilities. Does anyone know of a plugin/addin/or otherwise, where I would start to look to develop this myself?
Thanks!
AK
--
AdamKadmon - 07 Jan 2009
Discussion and Answer
TWiki can be updated via script. Look into
CPAN:LWP
. See
TWikiScripts on save script parameters.
Alternatively, write a plugin that implements REST methods. See
TWikiPlugins and example
twiki/lib/TWiki/Plugins/EmptyPlugin.pm in your TWiki installation.
--
PeterThoeny - 07 Jan 2009
Thanks for the pointers!
--
AdamKadmon - 07 Jan 2009
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.