Exporting all Wiki Data
I think that Twiki meets all my needs for implementing a product data management system.
But nothing lasts for ever. For several reasons i can imagine that we would like to migrate to some other tool or system in the future.
So i'm thinking of a utility that could export all data in a reusable format.
It would be great to receive every week a ZIP file in my mailbox, with all data extracted in a directory tree. (Including revisions and attachments)
Altough i intend to use Twiki for a long time to come, having such a feature could be a good selling point to our management (as they want proof that company critical information isn't locked into some system)
I'm aware of the fact that Twiki is an opensource project and that a real 'lockin' of data is imposible, but i'm still conviced that such a tool can be usefull form many users.
--
JonSquire - 27 Nov 2004
TWiki data is all text, so exporting data is easy. What flavour woud you like? Plain text is trivialest, because you just filter out meta-data. Almost as trivial is tranformation to a structured format like
XML. It really isn't worth shipping a transformation system for TWiki data, because the data format is just so.... so.... trivial.
Now, when you want to export
TWikiApplications, things get more interesting. But again, TWiki is about as simple as it gets, so even these potentially complex transforms are relatively trivial.
--
CrawfordCurrie - 27 Nov 2004
If anyone's still looking at this page...How is the exporting done? I would like to export TWiki pages. Thanks in advance.
--
EmilyGlenn - 07 Feb 2006
Just pack the /data and /pub directory, and you have your export.
If you need static
HTML (exported) pages, you can try
PublishAddOn.
--
TobiasRoeser - 07 Feb 2006
I have created a library that provides API for accessing TWiki database from PHP.
Is there anybody who would be interested in this ?
The code is hosted at google code
http://code.google.com/p/twikilib-php/
--
ViliamSimko - 2011-07-25
Viliam, this sounds wonderful. TWiki is not an island of data, it is frequently integrated with other systems at work. So this is a nice fit to the
TWikiMission.
I recommend two things to publicize this:
- Package this as a TWiki add-on and post on twiki.org. More at AddOnPackageHowTo.
- Write a blog post on twiki.org how this can be used, with some example use cases. More at BlogIdeas.
--
PeterThoeny - 2011-07-25
I recently migrated the
twikilib-php project from Google code to Github:
https://github.com/vsimko/twikilib-php/
Now I created the addon page
TWikiLibForPhpAddOn that points to this git repository.
--
Viliam Simko - 2015-12-09