[pmwiki-users] Input recipe: Entering alpha test

Joachim Durchholz jo at durchholz.org
Mon Jun 27 12:50:33 CDT 2005


Hi all,

I've just finished the alpha version of the Input recipe.

If you wish to do some smoke testing, download and install it. The docs 
are on http://pmwiki.org/wiki/Cookbook/Input .

WARNING: This recipe isn't ready for production use yet. I plan to use 
it in a separate project, to see how well it works and what should be 
changed (that's what "alpha testing" means: things may break, and the 
final version might work differently anyway).

The whole thing is built upon a large table, not unlike what the 
Markup() function does.

Testing status:

The engine that uses the table to build HTML code has been tested and 
should (mostly) work.

The markups (:input start...:) and (:input end:) have been tested and 
confirmed to emit the HTML that they should. PmWiki wraps them in 
paragraph tags; I dimly recall this can be prevented by generating that 
as "block markup", but I don't know how. (What I need is "make it a 
block markup and stuff it into Keep()". I'm grateful for any hints, 
since I don't have the time to dig it up myself. Right now, this means 
that the recipe will generate invalid HTML that works fine on Mozilla *g*.)

The actual input controls are entirely untested. They *should* work - 
they don't use any mechanisms that aren't already in use for (:input 
start...). However, there may be bugs in the table from which the HTML 
is constructed, so I'm being grateful for bug reports and (even better) 
corrected table entries.

Currently, if the markup contains an invalid method= option, it will be 
silently removed, resulting in invalid HTML. I'd like to have an error 
message there, but haven't had the time to fix this.

Enjoy!

Regards,
Jo



More information about the pmwiki-users mailing list