[pmwiki-users] Tips on converting HTML-pages into wiki pages
chr at home.se
chr at home.se
Tue Mar 29 08:56:24 CST 2005
On Tue, 29 Mar 2005, Patrick R. Michaud wrote:
> On Tue, Mar 29, 2005 at 10:37:58AM +0200, chr at home.se wrote:
> > Hi
> >
> > One of my users asked for tips on how to convert existing HTML-pages into
> > wiki pages? These are pages with documentation, so it's mostly text and
> > some links I assume.
>
> I've always found that doing a copy+paste from the HTML page (as rendered
> in a browser, not source) into a wiki page does a very good first
> pass.
That's what I recommended him to do.
> The rest is just cleanup.
True, with one major exception.
> That said, maybe we can do a rudimentary HTML-to-wiki converter of some
> sort with some judicious pattern matches.
I think the exception are simple links, and possibly list structures.
Ideally something like
<a href='http://bla.org'>The Bla Bla organization</a>
would be translated into
[[The Bla Bla organization -> http://bla.org]]
But as I wrote the above I realize that you'll probably not get that many
working links, if they are relative...
/Christian
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list