SID-00138: Using an API to programmatically change content
| Status: |
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
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.