Tags:
create new tag
view all tags

SID-00016: Publish via command line or http post

Status: Answered 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title Publish via command line or http post
SupportCategory CategoryAPI
TWiki version 4.2.0
Server OS RHEL5 2.6 Kernel
Web server Apache
Perl version 5.10
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2009-01-07 - AdamKadmon
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.