[Pmwiki-users] Page preview mode
Robin
robin
Fri Dec 17 06:57:21 CST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey there, I'm wondering if there is a way to preview a page via a POST
request, similar to what happens when you hit preview on the edit page, only
have it look exactly as though it were the real page in place (i.e. without
the edit form, and 'unsaved' messages, and so forth).
The reason for this is that I've decided to learn XUL (a UI language
understood by Firefox, Mozilla, and the newer Netscapes) and an idea for a
not-too-complex program to start with I had is a special edit form for PmWiki
that has two tabs: edit and preview. The edit tab is similar in content and
features to the current edit system. When the preview tab is selected, it
sends the current form contents to the wiki, requesting a preview, which is
brought up in that tab, allowing reasonably quick on-the-fly previewing of
what you've done.
Ideally, I'd have it set so that if you hit the edit link in a capable
browser, you get the fancy XUL form, otherwise you get the standard one. It's
mainly a project for my own learning, but it would be nice to be able to make
it a PmWiki addon if I get far enough with it.
- --
Robin <robin at kallisti.net.nz> JabberID: <eythian at jabber.org>
Hostes alienigeni me abduxerunt. Qui annus est?
PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBwuArFNNkhamc620RArMlAJ4jqiww+eTMhQg8Lers0HUNE3MhEACdHzpn
QVv6+dO5tVvSsMansavo5Ag=
=TsmF
-----END PGP SIGNATURE-----
More information about the pmwiki-users
mailing list