[dokuwiki] Re: How to have externally generated pages versioned?
- From: Jason Grout <jason-doku@xxxxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Fri, 20 Apr 2007 09:37:54 -0600
Marc Haber wrote:
Hi,
I am using dokuwiki to document "my" network. To have direct links to
network device configuration files, I have a script that
unceremoniously dumps the configuration from the devices and throws it
into a directory under my dokuwiki pages directory with extension of
.txt.
As a result (modulo caching), the configuration files become
accessible from inside the wiki as wiki pages. Of course, the pages
only have a single revision, and thus it is not possible ot review
configuration history.
I am now wondering whether it would be possible to automatically feed
the configuration files to dokuwiki in a way that allows the wiki
functions, most of all the revision handling, to do their magic.
You might look at using some sort of source code revision tool for the
job. Something like Subversion is built for this sort of task and can
be pretty easily set up to have a web frontend to the versioning. Then
you have access to quite a few more powerful versioning capabilities.
You could then just link to different pages using dokuwiki if you had to
have access from the wiki. Personally, I've used subversion (or svk) to
keep track of my configuration changes and it has worked very, very well.
Not that you couldn't do this sort of thing after hacking together some
scripts or investigating dwpage.php, but if you're trying to fit your
source code revision peg into the dokuwiki hole, it might be easier and
a better fit to try the source code revision software hole (the whole
square peg into a round hole deal).
Jason
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: How to have externally generated pages versioned?
- From: Marc Haber
- References:
- [dokuwiki] How to have externally generated pages versioned?
- From: Marc Haber
Other related posts:
- » [dokuwiki] How to have externally generated pages versioned?
- » [dokuwiki] Re: How to have externally generated pages versioned?
- » [dokuwiki] Re: How to have externally generated pages versioned?
- » [dokuwiki] Re: How to have externally generated pages versioned?
- » [dokuwiki] Re: How to have externally generated pages versioned?
Hi, I am using dokuwiki to document "my" network. To have direct links to network device configuration files, I have a script that unceremoniously dumps the configuration from the devices and throws it into a directory under my dokuwiki pages directory with extension of .txt. As a result (modulo caching), the configuration files become accessible from inside the wiki as wiki pages. Of course, the pages only have a single revision, and thus it is not possible ot review configuration history. I am now wondering whether it would be possible to automatically feed the configuration files to dokuwiki in a way that allows the wiki functions, most of all the revision handling, to do their magic.
- [dokuwiki] Re: How to have externally generated pages versioned?
- From: Marc Haber
- [dokuwiki] How to have externally generated pages versioned?
- From: Marc Haber