Got a small problem dropped in my lap.. Need to import a whole bunch of html pages in to a wiki environment. I've installed kwiki and got it up and running with minimal effort, and now kinda stuck on the most efficient method to import the data.
Does anyone have some simple suggestions ?
Regards, Paul.
Paul bdi-emc@ntlworld.com
[...] Need to import a whole bunch of html pages in to a wiki environment. I've installed kwiki and got it up and running with minimal effort, and now kinda stuck on the most efficient method to import the data.
I remember a similar problem and I think kwiki was rejected for some reason. From what I remember, the simplest import on systems that don't allow you to upload the wiki page database is to lynx -dump them, sed them and then feed them to wget's --post-file or --post-data to post them to the wiki.
Hope that helps,
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Paul bdi-emc@ntlworld.com wrote:
Got a small problem dropped in my lap.. Need to import a whole bunch of html pages in to a wiki environment. I've installed kwiki and got it up and running with minimal effort, and now kinda stuck on the most efficient method to import the data.
Does anyone have some simple suggestions ?
Hmmm, how much formatting is involved in the pages? If there's not a lot of formatting, and you throw me a sample of the pages, it'd probably be easy to knock up a very quick chunk of python to add them to the wiki, not sure yet though, would need to see it first.
Cheers, - -- Brett Parker web: http://www.sommitrealweird.co.uk/ email: iDunno@sommitrealweird.co.uk
Hi Brett
On Friday 30 September 2005 21:06, Brett Parker wrote:
Hmmm, how much formatting is involved in the pages? If there's not a lot of formatting, and you throw me a sample of the pages, it'd probably be easy to knock up a very quick chunk of python to add them to the wiki, not sure yet though, would need to see it first.
Posted the pages as snaffled by `wget -crk` on http://81.100.211.99/wiki/ for you (or anyone else) to have a look at. I'm not entirely sure what the exact format is required for kwiki, or even if kwiki is the best package to use... The criteria for selecting kwiki was it's minimal dependencies, it's ability to work with boa (others required apache).. Hopefully, once the data has been formatted, we can host the whole kit'n'caboodle on Sourceforge where it will be safe from the whims of just one individual.
Regards, Paul.
Hi Brett
On Saturday 01 October 2005 12:13, Paul wrote:
On Friday 30 September 2005 21:06, Brett Parker wrote:
Hmmm, how much formatting is involved in the pages? If there's not a lot of formatting, and you throw me a sample of the pages, it'd probably be easy to knock up a very quick chunk of python to add them to the wiki, not sure yet though, would need to see it first.
Panic over - Managed to bag a tarball of the relevant data. Turns out it was originally usemod-wiki, another low dependency wiki.. With all the data plus configs, we can now go about setting up another server, and hopefully implement cvs backups in the process.
Regards, Paul.