[pmwiki-users] Re: conversion of rtf and/or html

Hans design at softflow.co.uk
Fri Nov 25 14:35:52 CST 2005


Friday, November 25, 2005, 8:05:41 PM, Patrick wrote:
> For HTML we could do something along the lines of the ExcelPaste
> recipe -- i.e., someone copies HTML into a PmWiki edit form, then
> presses a button that submits the document to PmWiki; PmWiki then
> converts the HTML to equivalent PmWiki markup (as best it can)
> and returns the to the edit form for further editing/cleanup.

sounds good. There could be probably plenty of pitfalls, with all the
kinds of styling possible inside html.
I am just trying to convert text documents with a little bit of
styling into html from inside the wordprocessor, like OpenOffice.
Using EnableHTML is not getting any reasonable workable result.
Then it is much better and faster to copy and paste and add the wiki
formatting. HTML tags inside the wiki page are really annoying.
A converter needs to be pretty smart, and the danger is all kinds of
tags left over after conversion which needs manual deletion and
conversion.

But the html pages created by OpenOffice, MSWord, AppleWorks are
looking fine and resemble the original printable version. Could I not
include them as-is, no conversion, and have still a safe wiki because
they will be uploaded into the same server space? I don't want to open
the door to let html pages be included from different urls. Is that
possible?


Best, 
~Hans                           






More information about the pmwiki-users mailing list