Tags:
create new tag
view all tags

SID-00138: Using an API to programmatically change content

Status: Answered Answered TWiki version: 4.2.4 Perl version: Unknown
Category: CategoryAPI Server OS: CentOS 5 Last update: 16 years ago

Hi all

I am interested in programmatically altering the content of pages in TWiki. I have not installed TWiki before, but satisfying this requirement is critical if TWiki is going to be adopted at my organisation.

Specifically, some wiki content will be generated as part of a build process and I want to be able to use an API call to update associated TWiki pages. It would be great if the main sections of these particular pages could be made read-only and if users could still comment about the generated content in a separate section at the end.

I have never used Perl so would prefer a solution which uses web services so I can crank out HTTP requests using Java (the generation will be the result of an Ant build).

An answer to another support request mentioned the option of storing TWiki's pages as plain text. Is this possible and a good idea in this particular case? Other sections of the wiki installation will contain user-written content which we would like to have a revision history of.

Thanks very much for your help

Frank

-- FrankCopperfield - 26 Feb 2009

Discussion and Answer

There are many ways to push content into TWiki.

-- PeterThoeny - 2009-04-17

      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 Using an API to programmatically change content
SupportCategory CategoryAPI
TWiki version 4.2.4
Server OS CentOS 5
Web server Apache (version unknown)
Perl version Unknown
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2009-04-17 - PeterThoeny
 
  • 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.