Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2005-08-01 11:07:36

Emprint
New member
Registered: 2005-08-01
Posts: 6

Using Xinha for wiki editing

I'm a newbie,  so I'd appreciate if you'd forgive any mistakes I've made.

I'm very impressed with Xinha so far.  However,  my interests are a little weird-  I want to use it to edit a markup language other than HTML- specifically,  PmWiki's markup.

I see two options:

* Permit HTML usage in PmWiki.  This is probably the path of least resistance,  and there's not a significant difference in user-friendliness if Xinha's the primary editing interface,  anyway.

* Convert wiki markup to HTML for Xinha,  then convert Xinha's HTML output to Wiki markup.

In either case,  I'd want to limit the styling and formatting options available in Xinha,  and probably pre- and post-process the markup.

So,  my questions:

* Has anyone tried something like this before?

* Are my two alternatives above workable?

* Are there any documents on pre- and post-processing Xinha HTML data?

* Any additional suggestions?

I'm not submitting this as a ticket,  since I plan to do the footwork myself.  Is this correct?

What do you think?

Last edited by Emprint (2005-08-01 17:38:06)

Offline

#2 2005-08-02 00:31:10

Emprint
New member
Registered: 2005-08-01
Posts: 6

Re: Using Xinha for wiki editing

I did a quick hack to convert my wiki's markup on load,  and it looks pretty good.  At this point,  I'm just rewriting the original textarea on load. I'll probably do any back conversion and cleanup in PHP when I'm saving back to the wiki.

Offline

#3 2005-08-09 15:17:18

Emprint
New member
Registered: 2005-08-01
Posts: 6

Re: Using Xinha for wiki editing

Well,  I went the hard way,  converting wiki markup->HTML for editing->wiki markup.  It actually works pretty darn well,  except for some style-attribute issues that I'm still working on.  The work's not done yet,  but it's getting there.

Offline

Board footer

Powered by FluxBB